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

Difference between revisions of "Rockpi4/hardware/display"

(Waveshare 3.5 inch LCD)
Line 41: Line 41:
 
   $ sudo apt-get install xserver-xorg-video-fbdev
 
   $ sudo apt-get install xserver-xorg-video-fbdev
  
Clean the contents of file, /etc/X11/xorg.conf.d/ and add the following lines:
+
Backup and clean the contents of file, /etc/X11/xorg.conf.d/20-modesetting.conf. Then add the following lines to it:
 
   Section "Device"
 
   Section "Device"
 
       Identifier  "Rockchip Graphics"
 
       Identifier  "Rockchip Graphics"
Line 69: Line 69:
 
   $ sudo apt-get install xserver-xorg-video-fbdev
 
   $ sudo apt-get install xserver-xorg-video-fbdev
  
Clean the contents of file, /etc/X11/xorg.conf.d/ and add the following lines:
+
Backup and clean the contents of file, /etc/X11/xorg.conf.d/20-modesetting.conf. Then add the following lines to it:
 
   Section "Device"
 
   Section "Device"
 
       Identifier  "Rockchip Graphics"
 
       Identifier  "Rockchip Graphics"

Revision as of 09:07, 13 May 2019

    ROCK Pi 4 >  Hardware >  Display


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.


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

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

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/fb1"
     Option      "DRI"            "2"
 EndSection

You need to checkout the device, "/dev/fb1" or "/dev/fb0".

Reboot ROCK Pi 4.

Troubleshooting