Lightdm service fails to start after installing DSI connected screen drivers (Edatec, Waveshare)
mgrouch opened this issue · 7 comments
Lightdm service fails to start after installing DSI connected screen drivers
users reported it as an issue with edatec
ED-HMI3020-101C
Waveshare DSI LCD
See also
#327 (reply in thread)
Per Edatec support after the following changes lightdm starts:
removed /etc/udev/rules.d/99-uinput.rules and modified /usr/share/X11/xorg.conf.d/90-touchinput.conf
user@lysmarine:~ $ cat /usr/share/X11/xorg.conf.d/90-touchinput.conf
Section "InputClass"
Identifier "calibration"
Driver "evdev"
MatchProduct "4-0014 Goodix Capacitive TouchScreen gt911 Synopsys DesignWare I2C adapter"
MatchDevicePath "/dev/input/event*"
Option "EmulateThirdButton" "1"
Option "EmulateThirdButtonTimeout" "750"
Option "EmulateThirdButtonMoveThreshold" "30"
EndSection
Regarding Waveshare DSI touchscreen issues
here is a thread on raspberry pi forums:
Rotating DSI display discussion
https://forums.raspberrypi.com/viewtopic.php?t=369626
best way to tell X that the desktop should be rotated is via
xrandr --output DSI-1 --rotate left
or similar
Regarding screen rotation on Edatec
Look for CalibrationMatrix
https://www.cruisersforum.com/forums/f134/cant-install-opencpn-on-rpi5-286085.html#post3899802
Edatec support was able to solve all issues with their touchscreen on BBN OS:
Hi Mikhail,
I've solved the problem of twofing not working.
It needs to modify “/usr/share/X11/xorg.conf.d/90-touchinput.conf”
Section "InputClass"
Identifier "calibration"
Driver "evdev"
MatchProduct "Goodix Capacitive TouchScreen"
MatchDevicePath "/dev/input/event*"
Option "EmulateThirdButton" "1"
Option "EmulateThirdButtonTimeout" "750"
Option "EmulateThirdButtonMoveThreshold" "30"
Option "Calibration" "0 1280 0 800"
Option "SwapAxes" "1"
Option "Inversion" "1 0"
EndSection