User avatar
PeterO
Posts: 4942
Joined: Sun Jul 22, 2012 4:14 pm

Official touch screen unreliable [Solved / Firmware updated]

Sun Sep 13, 2015 5:14 pm

I'm finding the touch screen on the official display to be very unreliable.

I'm reading and parsing the events from the touchscreen via /dev/input/events2 (events0 and events1) are associated with the USB keyboard I have attached to the PI.

it seems the touch screen hardware regualrly locks up in some way and stops generating event. I've also seen the cursor in Xwidows freeze. So far the only way I've found to restore correct operation if to power cycle the PI. Unloading and reloading the kernal module has no effect.

Has anyone else seen this behaviour or have I got a faulty interface ?

PeterO
Last edited by PeterO on Tue Sep 15, 2015 2:28 pm, edited 1 time in total.
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson

scotty101
Posts: 3672
Joined: Fri Jun 08, 2012 6:03 pm

Re: Official touch screen unreliable

Sun Sep 13, 2015 9:49 pm

I've seen similar 'lockups'. I had attributed it to Florence but it way just be because I was touching the screen more often whilst typing with the onscreen keyboard.
Electronic and Computer Engineer
Pi Interests: Home Automation, IOT, Python and Tkinter

User avatar
PeterO
Posts: 4942
Joined: Sun Jul 22, 2012 4:14 pm

Re: Official touch screen unreliable

Sun Sep 13, 2015 9:54 pm

scotty101 wrote:I've seen similar 'lockups'. I had attributed it to Florence but it way just be because I was touching the screen more often whilst typing with the onscreen keyboard.
Yes I noticed it with Florence as well, but I've also seen it happen with X when not using Florence and when not running X but using evtest or my own code to read the events from /dev/input

PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson

fruitoftheloom
Posts: 20465
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Official touch screen unreliable

Sun Sep 13, 2015 10:09 pm

PeterO wrote:
scotty101 wrote:I've seen similar 'lockups'. I had attributed it to Florence but it way just be because I was touching the screen more often whilst typing with the onscreen keyboard.
Yes I noticed it with Florence as well, but I've also seen it happen with X when not using Florence and when not running X but using evtest or my own code to read the events from /dev/input

PeterO
Apart from Florence in the Repository there is xvkbd

Another alternative is onboard https://launchpad.net/onboard
Retired disgracefully.....

User avatar
PeterO
Posts: 4942
Joined: Sun Jul 22, 2012 4:14 pm

Re: Official touch screen unreliable

Mon Sep 14, 2015 10:02 am

It's not Florence that is the problem. The lower level events are stopping so any higher level toll will fail in the same way.

PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson

jdb
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 2072
Joined: Thu Jul 11, 2013 2:37 pm

Re: Official touch screen unreliable

Mon Sep 14, 2015 12:52 pm

We have seen this issue and are currently investigating.
Rockets are loud.
https://astro-pi.org

User avatar
PeterO
Posts: 4942
Joined: Sun Jul 22, 2012 4:14 pm

Re: Official touch screen unreliable

Mon Sep 14, 2015 12:58 pm

jdb wrote:We have seen this issue and are currently investigating.
It seems quite "random". Sometimes only running for a few minutes and then after I posted this my Pi ran for the rest of the evening without stopping.
Running evtest will show you if it has failed as the stream of events stops.
I tried unloading and reloading the kernel module but it doesn't fix things :-(

PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson

User avatar
PeterO
Posts: 4942
Joined: Sun Jul 22, 2012 4:14 pm

Re: Official touch screen unreliable

Mon Sep 14, 2015 3:21 pm

Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson

billintad
Posts: 36
Joined: Tue Jul 28, 2015 10:21 pm

Re: Official touch screen unreliable

Tue Sep 15, 2015 9:11 am

Using the file manager: touches on an icon do not seem to work consistently. Touches on the directory tree work and using the cursor keys works.

User avatar
PeterO
Posts: 4942
Joined: Sun Jul 22, 2012 4:14 pm

Re: Official touch screen unreliable

Tue Sep 15, 2015 9:35 am

billintad wrote:Using the file manager: touches on an icon do not seem to work consistently. Touches on the directory tree work and using the cursor keys works.
Off topic. Please start a new thread for problems with applications.

PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson

User avatar
alexeames
Forum Moderator
Forum Moderator
Posts: 2848
Joined: Sat Mar 03, 2012 11:57 am
Location: UK
Contact: Website

Re: Official touch screen unreliable

Tue Sep 15, 2015 1:50 pm

Peter do you deem this issue solved yet or is it too early to say?
Alex Eames RasPi.TV, RasP.iO

User avatar
PeterO
Posts: 4942
Joined: Sun Jul 22, 2012 4:14 pm

Re: Official touch screen unreliable

Tue Sep 15, 2015 2:27 pm

I think it should be left open until the updated firmware gets into the normal update. Until that happens people may still run into this problem.
PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson

Return to “Official Foundation Display”