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.