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

Troubles getting touchscreen working #4295

Closed
iamslan opened this issue Apr 22, 2021 · 4 comments
Closed

Troubles getting touchscreen working #4295

iamslan opened this issue Apr 22, 2021 · 4 comments
Labels
Raspberry Pi Solution available 🥂 Definite solution has been done

Comments

@iamslan
Copy link

iamslan commented Apr 22, 2021

I am not able to get my touchscreen working. Display is working perfectly through HDMI, only touch inputs are unavailable.
The product is this one.
The driver which is working on Raspbian is this one.
The script is messing with the installation, I read this whole topic.
What I did is copying only the needed files, modifying both boot txts, and activate UART/I2C/SPI.
No luck at this point, I'd take any suggestions to try them out !
Best,

@MichaIng
Copy link
Owner

Many thanks for your report.

Please provide details about every setup step that you did, at best the complete config files:

  • /boot/config.txt
  • /boot/cmdline.txt
  • All files in /etc/X11/xorg.conf.d/

The scripts from https://github.com/goodtft/LCD-show are indeed nothing I would recommend on any system, as they replace whole core system/kernel/boot configuration files as if the LCD was the only thing one is ever going to install. They may work on current plain Raspberry Pi OS at time of writing, may not work anymore when default Raspberry Pi OS changes, and when you do/did own changes, they break/override those or other parts of the system and can make it unbootable due to cmdline.txt replacement. It's sad that there is no clean documentation, which device tree overlay to use, how to use/enable the contained driver and resolution + calibration parameters, as nothing else should be required.

@iamslan
Copy link
Author

iamslan commented Apr 22, 2021

Here they are:

config.txt

cmdline.txt

• I added this file only in /etc/X11/xorg.conf.d/
image

@MichaIng
Copy link
Owner

Looks all good.

X server is installed, including the xserver-xorg-input-libinput?
Also could you try to move the other file in /etc/X11/xorg.conf.d/ away? It's to disable screen power savings and should not interfere as there is no InputClass section, but just to rule it out...

@iamslan
Copy link
Author

iamslan commented Apr 23, 2021

xserver-xorg-input-libinput is installed (0.28.2-2)

I tried removing /etc/X11/xorg.conf.d/98-dietip-disable-dpms.conf, but it does not change anything.
Touchscreen is still not responding.

EDIT: I tried to change the touchscreen input's USB port, and voila, it works. No clue why.
We can close this one, thanks for your help!

@iamslan iamslan closed this as completed Apr 23, 2021
@MichaIng MichaIng added Solution available 🥂 Definite solution has been done and removed Investigating 🤔 labels Apr 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Raspberry Pi Solution available 🥂 Definite solution has been done
Projects
None yet
Development

No branches or pull requests

2 participants