You are not logged in.

#1 2016-03-14 14:07:57

mike303
Member
Registered: 2016-03-14
Posts: 7

Touchscreen issues

Hi folks,


we have a eGalax USB-Touchscreen @ olimex-lime2. After many hours it's working now. But on issue stays hardly:

The cursor works but we have no click event when we touch the screen.

The only solution is:

echo 3 0eef 0001 16 > /sys/bus/hid/drivers/hid-multitouch/new_id

unplug and plug the usb cable and the touch is working perfectly. But how can we do this without unplug/plug.
The Screen and the olimex are in cabinet und unplugging is not possible.

Thx...

Offline

#2 2016-03-14 14:33:27

potens
Member
Registered: 2016-03-14
Posts: 14

Re: Touchscreen issues

Hi,

You can do, as root:
echo 0 > /sys/bus/usb/devices/X-Y/authorized && sleep 1 &&  echo 1 > /sys/bus/usb/devices/X-Y/authorized

Before doing that, ensure of the numbers to replace X, Y and Z, with  the help of lsusb.

i.e: if I want to reset my mouse (logitech):

 ~>>> lsusb |grep Logitech
Bus 003 Device 005: ID 046d:c069 Logitech, Inc. M-U0007 [Corded Mouse M500]

Now, you know X eq 3.

to find Y, do :

~>>> for a in /sys/bus/usb/devices/3-*/manufacturer; do grep -q Logitech $a && echo $a; done
/sys/bus/usb/devices/3-4/manufacturer

now, Y is 4, then, as root:

#  echo 0 > /sys/bus/usb/devices/3-4/authorized && sleep 1 &&  echo 1 > /sys/bus/usb/devices/3-4/authorized

it should be enough

Offline

#3 2016-03-14 15:22:22

mike303
Member
Registered: 2016-03-14
Posts: 7

Re: Touchscreen issues

This works...

Thx ;-)

Offline

#4 2016-03-14 16:15:11

potens
Member
Registered: 2016-03-14
Posts: 14

Re: Touchscreen issues

:-) You're welcome !


Please, edit the subject to let know this is solved.

Offline

Board footer

Powered by FluxBB