0

we use many BeagleBoneBlack boards (OS Debian, kernel 3.8.13-bone50 (May 13 2014)) with LCD Touchscreen 4DCape-70T.

My java application is running after startup of OS Debian 7.5. I use GPIO library libbulldog in this java application for controlling UART ports (UART1_RXD == P9_26 and UART4_RXD == P9_11) and I2C BUS (I2C2_SCL == P9_19 and I2C2_SDA == P9_20) + I use pins for GND, 3,3V and 5V. Our hardware control unit is connected to i2c bus via gpio pins. I had to decrease frequency on this I2C Bus from 100kHz to 25kHz (link: http://randymxj.com/?p=538). But I think this decreased frequency doesn't affect frequency of the another I2C Bus which is used for LCD Touchscreen touch controlling.

Finally, here is our problem:

On one BeagleBoneBoard with LCD Touchscreen can our customer simulate problem with touchscreen, when touch stopped working. This happens 4-5 times every day to them. After remote connection(teamviewer) to BeagleBoneBlack screen via tightVNC I found out, that also left mouse click didn't work, but I could move with cursor which was still visible despite of I use application unclutter which automatically hides cursor after 10 seconds of inactivity. On my java application was one of buttons still in pressed state. When I stopped my java application via putty (sudo pkill java), left mouse click still didn't work BUT right mouse click was ok and also cursor moves were ok.

I still haven't found any possible commands for restarting this behaviour via some linux commands, which I can eventually run in my java application, because I know that last action was MOUSE_PRESSED (finger touch) without MOUSE_RELEASED (finger out). So I would like to use timer for MOUSE_PRESSED action and then run command for restarting touch/mouse controller, if it is possible at all. Now our customer must restart this board with power cable unplugging and plugging every time.

Second better solution can be some linux editing without kernel update (I tried Debian 8.3 but I have problem with "jumping cursor" (discussion: https://groups.google.com/forum/#!msg/beagleboard/SGCdVCqdh00/5GbeINiiHMAJ) and problem is also not enough available disk space for my applications and we would have to test this solution for some month).

Or maybe this is hardware problem which I cannot repair in software. I still don't know where is real problem.

Thanks in advance for your answers.

  • I updated kernel from 3.8.13-bone50 to 3.8.13-bone79 but it didn't help and problem with touch occured again. used commands: cd /opt/scripts/tools/ git pull sudo ./update_kernel.sh Note: I "catched" event MOUSE_PRESSED (stucked longer than 5 seconds) within my java application but commands "xinput -disable ti-tsc & xinput -enable ti-tsc" didn't help to recover touch/left click. – Rado Feb 10 '16 at 14:53
0

We have finally replicated this issue by constant touching of touschsreen display using two hands.

debian@beaglebone:~$ xinput --list \u23a1 Virtual core pointer id=2 [master pointer (3)] \u239c \u21b3 Virtual core XTEST pointer id=4 [slave pointer (2)] \u239c \u21b3 HID 1241:1177 id=8 [slave pointer (2)] \u239c \u21b3 ti-tsc id=7 [slave pointer (2)] \u23a3 Virtual core keyboard id=3 [master keyboard (2)] \u21b3 Virtual core XTEST keyboard id=5 [slave keyboard (3)] \u21b3 tps65217_pwr_but id=6 [slave keyboard (3)] \u21b3 gpio_keys.13 id=10 [slave keyboard (3)]

note: HID 1241:1177 - connected mouse

ti-tsc - touschcreen (I think)

When I run command "xinput reattach 7 2" in lxterminal from tightVNC, mouse left-click started work again! But I still don't know command for touchscreen click recovery. :(

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.