Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lightdm service fails to start after installing DSI connected screen drivers (Edatec, Waveshare) #416

Open
mgrouch opened this issue May 7, 2024 · 7 comments
Labels

Comments

@mgrouch
Copy link

mgrouch commented May 7, 2024

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)

@mgrouch
Copy link
Author

mgrouch commented May 7, 2024

image002

@mgrouch
Copy link
Author

mgrouch commented May 7, 2024

@mgrouch
Copy link
Author

mgrouch commented May 9, 2024

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

@mgrouch
Copy link
Author

mgrouch commented May 9, 2024

Regarding Waveshare DSI touchscreen issues

here is a thread on raspberry pi forums:

https://forums.raspberrypi.com/viewtopic.php?t=366011

@mgrouch
Copy link
Author

mgrouch commented May 9, 2024

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

@mgrouch
Copy link
Author

mgrouch commented May 16, 2024

Regarding screen rotation on Edatec

Look for CalibrationMatrix

https://www.cruisersforum.com/forums/f134/cant-install-opencpn-on-rpi5-286085.html#post3899802

@mgrouch mgrouch changed the title Lightdm service fails to start after installing DSI connected screen drivers Lightdm service fails to start after installing DSI connected screen drivers (Edatec, Waveshare) May 16, 2024
@mgrouch
Copy link
Author

mgrouch commented Jun 4, 2024

image001
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant