Jump to content
  • 0

Touch screen non reponsive


mvdveer

Question

To all the raspi gurrus out there. Ran into a problem and don't know if it is a faulty screen or faulty pi.

BTT PiTFT50 touchscreen - installed and booting up. Klipperscreen installed and displaying on touchscreen. Though NO touch - does not respond to touch. Cables changed - no difference.

Error through running dmesg:

[    9.210582] rpi_touchscreen_attiny 10-0045: Failed to read REG_ID reg: -5
[    9.210619] rpi_touchscreen_attiny: probe of 10-0045 failed with error -5

Tried googling - no joy - YET

 

Thanks in advance

 

Link to comment
Share on other sites

19 answers to this question

Recommended Posts

  • 0

Got it sorted - working now. Initially just edited the config.txt file to include spi and i2c interfaces . However, I then enabled those through raspi-config and captivate touch worked after rebooting. Whether it was that or not, I would not know - but it is working.

  • Like 1
Link to comment
Share on other sites

  • 0
13 hours ago, mvdveer said:

include spi and i2c interfaces

That'll be the ones, there are lots of different types of screens but the spi is probably for the video and the i2c is for the touch element.

  • Thanks 1
Link to comment
Share on other sites

  • 0
On 3/10/2023 at 4:03 AM, mvdveer said:

Got it sorted - working now. Initially just edited the config.txt file to include spi and i2c interfaces . However, I then enabled those through raspi-config and captivate touch worked after rebooting. Whether it was that or not, I would not know - but it is working.

Its a known bug now, it ahppens after an klippers update or a klipperscreen update.

https://klipperscreen.readthedocs.io/en/latest/Troubleshooting/#touch-not-working-on-debian-bullseye

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

  • 0
8 hours ago, Buurman said:

Its a known bug now, it ahppens after an klippers update or a klipperscreen update.

Thanks for that - love this forum, always learn something new

Link to comment
Share on other sites

  • 0
1 hour ago, mvdveer said:

Thanks for that - love this forum, always learn something new

Well, I learn it again from people who use my builds 😛 hahaha! luckily they are often technical and can solve it themselves.

  • Like 1
Link to comment
Share on other sites

  • 0

I did not use the klipper solution as I was unaware of this.

This is what I did and it worked after these steps:

1. SSH into the Raspi -Pi and run

sudo raspi-config

image.thumb.png.9ff2e2f650a74bb1b7081aea9d7372a2.png

2. Choose interface options:

image.thumb.png.c64b461789405aa2c5b687392a04c3ab.png

3, Enable SPI Kernel

image.thumb.png.c34a7967af02ff62b67081dda0ce7cf7.png

4. Enable I2C

image.thumb.png.3f9b3aa30c9da840b2bf51f994c7887a.png

5. Reboot

Hope this helps

  • Thanks 1
Link to comment
Share on other sites

  • 0

I also have had this problem. When I install KlipperScreen is appears the first time, but the touch doesn't work. So following the troubleshooting guide I change the GL driver. However, my system only displays two options. Legacy or Full KMS, there is no option for Fake KMS. So I have made the suggested changes through text editing the /boot/config.txt file. Immediately after doing this and rebooting the screen only shows the console. I have had this issue for months, I was previously able to solve it by changing the sudo nano /usr/share/X11/xorg.conf.d/99-fbturbo.conf to /dev/fb0, where after adding this file in and restarting the screen would appear and would work. However, no matter how many times I try that now and reboot it only ever brings up the console. Does anyone have any solutions? I'm using the Raspberry Pi 7" touch screen. I have tried using both kiauh and installing KlipperScreen manually and still have the same issue.

I have posted about it in the following forum:

 

Link to comment
Share on other sites

  • 0

@nannyogg82 Dumb question... How is your screen connected to the Pi? Ribbon cable or HDMI? I ask this because when I was adding a klipperscreen to my RatRig V-Minion... I connected the HDMI to the Pi and then just routed the USB (on the screen) to power. The screen came up fine but the touchscreen feature didn't work. After thinking about it a little I surmised that the USB needs to be connected to the Pi for the touchscreen to function. Might not be your issue but, ya never know.

Link to comment
Share on other sites

  • 0
1 minute ago, Buurman said:

I have ran into this.. I fixed with a command to change rights on something to make the service start right, I am trying to find it...

Any help will be HUGELY appreciated. Not having the screen is really limiting 

Link to comment
Share on other sites

  • 0
1 minute ago, Buurman said:

If not running, or just try this anyway...

sudo bash -c "echo needs_root_rights=yes>>/etc/X11/Xwrapper.config"

and

sudo service KlipperScreen restart

Is this after I have changed the GL driver and the coke is showing? I’ve removed KlipperScreen for the time being. 

Link to comment
Share on other sites

  • 0

ah, you need to have Klipperscreen installed for this

I would try other options later if the touch isnt working after, but this should bring back the dashboard...

 

And try the raspi-config ones first from @mvdveer to bring back touch, and go from there...

Link to comment
Share on other sites

  • 0
On 3/10/2023 at 3:03 AM, mvdveer said:

Got it sorted - working now. Initially just edited the config.txt file to include spi and i2c interfaces . However, I then enabled those through raspi-config and captivate touch worked after rebooting. Whether it was that or not, I would not know - but it is working.

When adding these into the txt file do I just add SPI & i2C anywhere? And just using those names?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...