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

Touchscreen not calibrated #118

Open
deanfourie1 opened this issue Jan 23, 2022 · 1 comment
Open

Touchscreen not calibrated #118

deanfourie1 opened this issue Jan 23, 2022 · 1 comment

Comments

@deanfourie1
Copy link

Hi, I have installed lysmarine-gen and I am liking what I see, however I have one small issue.

My screen is not working. I have confirmed it works with raspian (openmarine build) but not the case with lysmarine. It just keeps defaulting and clicking in the top left corner of the screen resulting in the menu opening each time.

It would seem it is not calibrated or something, is there a way to calibrate?

Thanks

@s6kilomtr
Copy link

Try opening a terminal and do:
cat /var/log/Xorg.0.log | grep TOUCH

Now, the output should contain something along the lines of:
[ 11.122] (II) XINPUT: Adding extended input device "6-0038 generic ft5x06 (79)" (type: TOUCHSCREEN, id 6)

The string "6-0038 generic ft5x06 (79)" should correspond with what you have in your "/usr/share/X11/xorg.conf.d/90-touchinput.conf"-file and look something like this, where the string after MatchProduct should be the same as what you got from the output above:

Section "InputClass"
    Identifier "calibration"
    Driver "evdev"
    MatchProduct "6-0038 generic ft5x06 (79)"
    MatchDevicePath "/dev/input/event*"
    Option "EmulateThirdButton" "1"
    Option "EmulateThirdButtonTimeout" "750"
    Option "EmulateThirdButtonMoveThreshold" "30"
EndSection

This solved the issue for me and after this you run xinput_calibration to calibrate the screen properly.

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

No branches or pull requests

2 participants