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"

(Rotatation)
 
Line 20: Line 20:
 
   #intfc:dtoverlay=rk3399-rock-pi-4c-plus-radxa-10p1inch-display
 
   #intfc:dtoverlay=rk3399-rock-pi-4c-plus-radxa-10p1inch-display
  
==== Rotatation ====
+
==== Rotation ====
  
 
Add the following lines to the end of file /etc/X11/xorg.conf.d/20-modesetting.conf
 
Add the following lines to the end of file /etc/X11/xorg.conf.d/20-modesetting.conf

Latest revision as of 02:37, 24 June 2022

    ROCK Pi 4 >  Hardware >  Display

HDMI Display

Most HDMI display with USB touch works out of box.

Radxa Display 10HD

Hardware connection

Rockpi4cplus-radxa-display-10hd.jpeg

Software configuration

Edit file /boot/hw_intfc.conf and uncomment the following lines. And then reboot the device.

 # enable rk3399-rock-pi-4c-plus-radxa-10p1inch-display
 #intfc:dtoverlay=rk3399-rock-pi-4c-plus-radxa-10p1inch-display

Rotation

Add the following lines to the end of file /etc/X11/xorg.conf.d/20-modesetting.conf

### Valid values for rotation are "normal", "left", "right"
Section	"Monitor"
    Identifier	"Default Monitor"
    Option	"Rotate" "normal"
EndSection

MIPI DSI Display

Raspberry Pi 7 inch Touch Display

The official Raspberry Pi 7 inch Touch Display works on ROCK Pi 4.

Usage on Radxa official Linux system

Edit file /boot/hw_intfc.conf and uncomment the following lines. And then reboot the device.

 #enable raspberry pi official 7 inch LCD support
 intfc:dtoverlay=raspberrypi-7-inch-lcd

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