Difference between revisions of "Rockpi4/hardware/display"
(Created page with "{{rockpi4_header}} {{Languages|rockpi4/hardware/display}} ROCK Pi 4 > Hardware > Display == HDMI Di...") |
|||
Line 13: | Line 13: | ||
=== Raspberry Pi 7 inch Touch Display === | === Raspberry Pi 7 inch Touch Display === | ||
The official [https://www.raspberrypi.org/products/raspberry-pi-touch-display/ Raspberry Pi 7 inch Touch Display] works on ROCK Pi 4. | The official [https://www.raspberrypi.org/products/raspberry-pi-touch-display/ Raspberry Pi 7 inch Touch Display] works on ROCK Pi 4. | ||
+ | |||
+ | |||
+ | |||
+ | == Waveshare 3.5 inch LCD == | ||
+ | |||
+ | For waveshare LCD, both display and touch are two spi devices. | ||
+ | |||
+ | Due to the hardware limitation with only one CS for spi1 of ROCK Pi 4, waveshare LCD only support display but touch. | ||
+ | |||
+ | Wavashare LCD works as a framebuffer device. | ||
+ | |||
+ | === Model B v2 === | ||
+ | |||
+ | Update kernel(>=4.4.154-83) and rockpi4-dtbo(>=0.9) pacakge. | ||
+ | |||
+ | When use it , add the following lines to the hardware interface config file /boot/hw_intfc.conf : | ||
+ | |||
+ | intfc:uart4=off | ||
+ | intfc:spi1=on | ||
+ | |||
+ | intfc:dtoverlay=spi1-waveshare35b-v2 | ||
+ | |||
+ | |||
+ | To install the required display support packages enter the following command lines: | ||
+ | |||
+ | $ sudo apt-get update | ||
+ | $ sudo apt-get install xserver-xorg-video-fbdev | ||
+ | |||
+ | Clean the contents of file, /etc/X11/xorg.conf.d/ and add the following lines: | ||
+ | Section "Device" | ||
+ | Identifier "Rockchip Graphics" | ||
+ | Driver "fbdev" | ||
+ | Option "fbdev" "/dev/fb1" | ||
+ | Option "DRI" "2" | ||
+ | EndSection | ||
+ | |||
+ | You need to checkout the device, "/dev/fb1" or "/dev/fb0". | ||
+ | |||
+ | Reboot ROCK Pi 4. | ||
+ | |||
+ | === Model C === | ||
+ | |||
+ | Update kernel(>=4.4.154-83) and rockpi4-dtbo(>=0.9) pacakge. | ||
+ | |||
+ | When use it , add the following lines to the hardware interface config file /boot/hw_intfc.conf : | ||
+ | |||
+ | intfc:uart4=off | ||
+ | intfc:spi1=on | ||
+ | |||
+ | intfc:dtoverlay=spi1-waveshare35c | ||
+ | |||
+ | To install the required display support packages enter the following command lines: | ||
+ | |||
+ | $ sudo apt-get update | ||
+ | $ sudo apt-get install xserver-xorg-video-fbdev | ||
+ | |||
+ | Clean the contents of file, /etc/X11/xorg.conf.d/ and add the following lines: | ||
+ | Section "Device" | ||
+ | Identifier "Rockchip Graphics" | ||
+ | Driver "fbdev" | ||
+ | Option "fbdev" "/dev/fb1" | ||
+ | Option "DRI" "2" | ||
+ | EndSection | ||
+ | |||
+ | You need to checkout the device, "/dev/fb1" or "/dev/fb0". | ||
+ | |||
+ | Reboot ROCK Pi 4. | ||
+ | |||
+ | == Troubleshooting == | ||
+ | |||
+ | * If you have issue with samba and cifs, start a new post on the forum. https://forum.radxa.com/ |
Revision as of 12:45, 12 April 2019
ROCK Pi 4 > Hardware > Display
Contents
HDMI Display
Most HDMI display with USB touch works out of box.
MIPI DSI Display
Raspberry Pi 7 inch Touch Display
The official Raspberry Pi 7 inch Touch Display works on ROCK Pi 4.
For waveshare LCD, both display and touch are two spi devices.
Due to the hardware limitation with only one CS for spi1 of ROCK Pi 4, waveshare LCD only support display but touch.
Wavashare LCD works as a framebuffer device.
Model B v2
Update kernel(>=4.4.154-83) and rockpi4-dtbo(>=0.9) pacakge.
When use it , add the following lines to the hardware interface config file /boot/hw_intfc.conf :
intfc:uart4=off intfc:spi1=on intfc:dtoverlay=spi1-waveshare35b-v2
To install the required display support packages enter the following command lines:
$ sudo apt-get update $ sudo apt-get install xserver-xorg-video-fbdev
Clean the contents of file, /etc/X11/xorg.conf.d/ and add the following lines:
Section "Device" Identifier "Rockchip Graphics" Driver "fbdev" Option "fbdev" "/dev/fb1" Option "DRI" "2" EndSection
You need to checkout the device, "/dev/fb1" or "/dev/fb0".
Reboot ROCK Pi 4.
Model C
Update kernel(>=4.4.154-83) and rockpi4-dtbo(>=0.9) pacakge.
When use it , add the following lines to the hardware interface config file /boot/hw_intfc.conf :
intfc:uart4=off intfc:spi1=on intfc:dtoverlay=spi1-waveshare35c
To install the required display support packages enter the following command lines:
$ sudo apt-get update $ sudo apt-get install xserver-xorg-video-fbdev
Clean the contents of file, /etc/X11/xorg.conf.d/ and add the following lines:
Section "Device" Identifier "Rockchip Graphics" Driver "fbdev" Option "fbdev" "/dev/fb1" Option "DRI" "2" EndSection
You need to checkout the device, "/dev/fb1" or "/dev/fb0".
Reboot ROCK Pi 4.
Troubleshooting
- If you have issue with samba and cifs, start a new post on the forum. https://forum.radxa.com/