Please enable javascript, or click here to visit my ecommerce web site powered by Shopify.
Jump to: navigation, search

RockpiS/hardware/display

< RockpiS‎ | hardware
Revision as of 08:34, 6 August 2019 by Stephen (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
    ROCK Pi S >  Hardware >  Display

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 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