RockpiS/hardware/display
ROCK Pi S > Hardware > Display
For waveshare LCD, both display and touch are two spi devices.
Due to the hardware limitation with only one CS for spi2 of ROCK Pi S, waveshare LCD only support display but touch.
Wavashare LCD works as a framebuffer device.
Model B v2
Update kernel(>=4.4.143-23) and rockpis-dtbo(>=4.2) pacakge.
When use it , add the following lines to the hardware interface config file /boot/hw_intfc.conf :
intfc:uart2=off intfc:i2c0=off intfc:spi2=on intfc:dtoverlay=spi2-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
Backup and clean the contents of file, /etc/X11/xorg.conf.d/20-modesetting.conf. Then add the following lines to it:
Section "Device" Identifier "Rockchip Graphics" Driver "fbdev" Option "fbdev" "/dev/fb0" Option "DRI" "2" EndSection
You need to checkout the device, "/dev/fb0" or "/dev/fb1".
Reboot ROCK Pi S.
Model C
Update kernel(>=4.4.143-23) and rockpis-dtbo(>=4.2) pacakge.
When use it , add the following lines to the hardware interface config file /boot/hw_intfc.conf :
intfc:uart2=off intfc:i2c0=off intfc:spi2=on intfc:dtoverlay=spi2-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
Backup and clean the contents of file, /etc/X11/xorg.conf.d/20-modesetting.conf. Then add the following lines to it:
Section "Device" Identifier "Rockchip Graphics" Driver "fbdev" Option "fbdev" "/dev/fb0" Option "DRI" "2" EndSection
You need to checkout the device, "/dev/fb0" or "/dev/fb1".
Reboot ROCK Pi S.
Troubleshooting
- If you have issue with display, start a new post on the forum. https://forum.radxa.com/