I’ve had for sometime a Joy-IT 7″ IPS display for Raspberry Pi waiting in my drawer and now I got around to put it into use with Ikea Ribba frame. Setting up the touch screen was easy but getting it inverted (upside down) took some extra steps.
The touchscreen is “RB-LCD-7-2″ from Joy-IT which is a 7” IPS display for Raspberry Pi with 1024×600 resolution and 5 point capacitive touchscreen and HDMI connector. The manufacturer provides a manual for setting it up but as things have changed during the years it didn’t work out of the box for the inverted touch matrix.
I installed Debian GNU/Linux 11 (bullseye) to my Raspberry Pi Model 3 plus and did the following changes:
Display working
Edit /boot/config.txt
max_usb_current=1
hdmi_force_hotplug=1
# or 4
config_hdmi_boost=7
hdmi_group=2
hdmi_mode=1
hdmi_mode=87
# or 1
hdmi_drive=2
display_rotate=2
hdmi_cvt 1024 600 60 6 0 0 0
Inverted display
Flip the command line by editing /boot/cmdline.txt and adding
fbcon=rotate:2
For inverting the GUI use evdev:
sudo apt-get install xserver-xorg-input-evdev
sudo mv /usr/share/X11/xorg.conf.d/10-evdev.conf
/usr/share/X11/xorg.conf.d/45-evdev.conf
Section "InputClass"
Identifier "evdev touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "InvertX" "true"
Option "InvertY" "true"
EndSection
Resources:
Leave a Reply