How to make diagnosis of touch-screen through ssh?

asked 2017-05-03 15:47:18 +0200

Harald_Zealot gravatar image

updated 2017-05-04 10:56:47 +0200

Something happens to my Jolla 1 phone 6 month ago (I was blame nearby spill of water on my desk, but now I assume it could be not), and the touch-screen don't react to any move and gesture. At those moment I tried factory-reset, but it didn't help. I just buy some ersatz-phone and leave Jolla on the shelf without battery, and suddenly I discover two days ago that touch-screen works! I have installed all updates, and restore some personal data from backup, and install some apps (in between android viber and skype). And all works well.

Today I just open link from weather event, and suddenly browser frees :( The led rapidly blinked pale blue (cyan?), and I have hard poweroff the device (probably it was a fault). And now again touch-screen don't react to anything.

I found here some similar posts no any advice help me :( I have managed to establish ssh connection to the device (it was tricky, but luckily I have already installed nano, and was able to edit usb-mode.ini through rescue mode via chroot login).

I have tried evdev_trace -t but see only reactions to physical buttons, and no any reaction when touching screen.

I assume that reset to factory defaults rather helps me, so I consider it as extreme last step, and now I want to try any linux solution because everything else is working just fine and ssh connection is stabel.

So my question is, is it any tool to verify how my touch-screen is configured?

Update 2017-05-04: Today when I switch on the phone and make a swipe it reacts a bit (I go to event screen), but after full init process touch again has no reaction. So it seems that it really more software than hardware problem.

Update 2 2017-05-04 It is miracle, but now touch screen works, but I don't know why.

edit retag flag offensive close delete

Comments

ls /dev/input and check there is your youchscreen is present

coderus ( 2017-05-03 18:51:30 +0200 )edit

Here is output of my /dev/input: by-path event0 event1 event10 event11 event12 event2 event3 event4 event5 event6 event7 event8 event9 mice

Harald_Zealot ( 2017-05-04 08:31:18 +0200 )edit

Mine's event7 (although... I don't entirely think it's going to be consistent cross device? Still, might be a place to start); so I run cat /dev/input/event7 and then use the touchscreen and watch events get sprayed out (I just went through numerically until one seemed right... (Interestingly (to me...), one of them sprayed events whenever the screen was on but even when not doing anything...))

bruce_one ( 2017-05-04 09:56:02 +0200 )edit

Mine's event0 and also sends events, but because now the touch suddenly working, I don't know what would happen if touch don't react.

BTW, is there way to confirm continuation of csd tests through console?

I will continue to monitor situation, because this miracle can be unstable

Harald_Zealot ( 2017-05-04 11:01:19 +0200 )edit

I have same problem with my Jolla - after few seconds or even immediately touch screen stops reacting (focus is fixed on static position). Sadly, I can't create working IPforwarding on Ubuntu or Windows for Jolla through SSH. So, I can't do even any diagnosis. Change of screen didn't help and currently I contacted Jolla Zendesk service.

Naecken ( 2017-05-04 16:27:00 +0200 )edit