Originally Posted by
Plippo
@Kev: If this rectangle appears, it means that the taps of both fingers are registered as single clicks, which probably means that the twofing daemon either doesn't run or doesn't work. If you press Alt+F2, enter twofing and press enter and the two-finger click works then, it means that twofing probably crashed or wasn't loaded correctly before.
@tlimsisnw: This is interesting, I don't know how grab-and-drag works, but if it tries to grab the pointer like twofing does, this could be an explanation. At the moment I don't think there is something to do about it other than disabling either grab-and-drag or twofing.
@gltripp: The multitouch kernel module is only the first step. It sends multitouch events to the X server, but currently X doesn't know how to handle them. What is now required is support in the higher layers of the software stack. There are several attempts to provide this. One of the most advanced seems to be the UTouch framework that will be introduced in Ubuntu Maverick, but I haven't tested that yet. Some months ago, I created the twofing daemon as an intermediate step. It reads the multitouch events directly from the Kernel and translates them into mouse and key events. But currently, it only works for the eGalax touchscreen, not your model.
So if you want to use Multitouch right now, you can either try Maverick and check if the UTouch system already works, which I don't know, or if you want to use twofing, I can try to extend it to also support your screen. As the events should have the same structure, this shouldn't be very much work. If you like, you can send me a PM so I can tell you which additional information I need.
Hi Plippo,
i'll try the modify-twofing-daemon-way
But I'll need some help:
1. i have to modify your udev-rule:
BUS=="usb",ACTION=="add",KERNEL=="event*",SYSFS{id Product}=="480d",SYMLINK+="twofingtouch",RUN+="/bin/chmod a+r /dev/twofingtouch"
to match the corresponding DeviceID of my controller:
SUBSYSTEM=="usb",ACTION=="add",KERNEL=="event*",AT TR{idProduct}=="0186",SYMLINK+="twofingtouch",RUN+ ="/bin/chmod a+r /dev/twofingtouch"
(I changed the SYSFS & BUS-attributes because Udev told me they are deprecated)
But: not device /dev/twofingtouch will be created. Whats wrong ?
I got the value "0186" from 'lsusb' and searching in /sys.
2nd Question:
Why does the driver creates 3 event-devices in /dev/input ?
Code:
evtest /dev/input/event7
Input driver version is 1.0.0
Input device ID: bus 0x3 vendor 0x486 product 0x186 version 0x100
Input device name: "AsusTek, Inc. MultiTouch(YFO)"
Supported events:
Event type 0 (Sync)
Event type 1 (Key)
Event code 330 (Touch)
Event type 3 (Absolute)
Event code 0 (X)
Value 1877
Min 0
Max 3478
Event code 1 (Y)
Value 1886
Min 0
Max 3478
Event code 53 (?)
Value 0
Min 0
Max 3478
Event code 54 (?)
Value 0
Min 0
Max 3478
Event code 57 (?)
Value 0
Min 0
Max 2
Event type 4 (Misc)
Event code 4 (ScanCode)
Code:
evtest /dev/input/event8
Input driver version is 1.0.0
Input device ID: bus 0x3 vendor 0x486 product 0x186 version 0x100
Input device name: "AsusTek, Inc. MultiTouch(YFO)"
Supported events:
Event type 0 (Sync)
Event type 1 (Key)
Event code 272 (LeftBtn)
Event code 273 (RightBtn)
Event type 3 (Absolute)
Event code 0 (X)
Value 0
Min 0
Max 3478
Event code 1 (Y)
Value 0
Min 0
Max 3478
Event code 53 (?)
Value 0
Min 0
Max 3478
Event code 54 (?)
Value 0
Min 0
Max 3478
Event type 4 (Misc)
Event code 4 (ScanCode)
Code:
evtest /dev/input/event9
Input driver version is 1.0.0
Input device ID: bus 0x3 vendor 0x486 product 0x186 version 0x100
Input device name: "AsusTek, Inc. MultiTouch(YFO)"
Supported events:
Event type 0 (Sync)
Event type 3 (Absolute)
Event code 40 (Misc)
Value 0
Min 0
Max 255
What are about these?
Only event7 is generating any events, when I'm scratching on the display....
Bookmarks