Re: XInput: Atmel maXTouch Digitizer touch screen
On 12/22/2011 04:48 AM, Ben Bucksch wrote: On 22.12.2011 07:41, Chase Douglas wrote: You can fiddle with the input class like you have been to resolve this. Add these lines to your input class: Driver evdev Option Mode Absolute I did this, but then the clicks by tapping don't work at all anymore. I.e. mouse cursor follows my finger, but I cannot activate anything. If I had to guess, BTN_TOOL_FINGER is likely still getting in the way of things in the evdev driver. Or, fix your driver so it works properly. Simply removing the registration of the BTN_TOOL_EVENT should work. It doesn't even use BTN_TOOL_FINGER. I've seen this exact issue on almost every driver of Android origin, like they're all copy pasted. Do you think I should still proceed this way, given above? It looks like you need to fix your kernel driver. You could hack up xserver-xorg-input-evdev to disregard the BTN_TOOL_FINGER event, but I would only do that if you can't fix the kernel driver. You may know this already as well, but your driver/device is only operating as a single-touch capable device. maXTouch chips all support at least some multitouch, IIRC. There is an upstream Linux driver for these chips, and it supports multitouch. Yes, I know. For a start, I'd be quite happy to get a single finger and a nice onscreen keyboard working properly. You mean hid-multitouch or some other one? The hid-multitouch didn't work, because the USD IDs are not registered and apparently the udev rules trich failed as well. I'll try adding the IDs and recompile the kernel, if you think that will make it work properly. No, the maXTouch chips are handled by atmel_mx_ts in drivers/input/touchscreen/atmel_mx_ts.c. -- Chase ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: XInput: Atmel maXTouch Digitizer touch screen
On 12/21/2011 09:25 PM, Ben Bucksch wrote: Hey Chase, thanks for your answer. On 22.12.2011 01:41, Chase Douglas wrote: A capture of the evdev events would be necessary to debug the issue. You can use evtest to do this. Done http://www.bucksch.org/xfer/1.evtest Your driver is reporting the availability of BTN_TOOL_FINGER. This is only valid for touchpads. That's why the synaptics driver is loading instead of the evdev driver. You can fiddle with the input class like you have been to resolve this. Add these lines to your input class: Driver evdev Option Mode Absolute Or, fix your driver so it works properly. Simply removing the registration of the BTN_TOOL_EVENT should work. It doesn't even use BTN_TOOL_FINGER. I've seen this exact issue on almost every driver of Android origin, like they're all copy pasted. Hopefully, with either of these two resolutions things will work right. I don't see anything else wrong. You may know this already as well, but your driver/device is only operating as a single-touch capable device. maXTouch chips all support at least some multitouch, IIRC. There is an upstream Linux driver for these chips, and it supports multitouch. I've heard that at least nVidia has switched over to using it, though their previous driver supported multitouch too. -- Chase ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
[ANNOUNCE] inputproto 2.1.99.3
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chase Douglas (3): Touch IDs must be globally unique State that future touch IDs are indeterminate inputproto 2.1.99.3 Peter Hutterer (1): Remove XI2.1 and XI2.2 warnings and errors git tag: inputproto-2.1.99.3 http://xorg.freedesktop.org/archive/individual/proto/inputproto-2.1.99.3.tar.bz2 MD5: dd62927a5cbcd554b0296969e6ee5a26 inputproto-2.1.99.3.tar.bz2 SHA1: 726d63755aa2d72fbf548cd583c8aff29aae529a inputproto-2.1.99.3.tar.bz2 SHA256: 547690b27c059aefa7b4e9f0ffc980cedde62009acced925faf816a86ff03483 inputproto-2.1.99.3.tar.bz2 http://xorg.freedesktop.org/archive/individual/proto/inputproto-2.1.99.3.tar.gz MD5: 62b8ae147483d2e52820801f6a263be7 inputproto-2.1.99.3.tar.gz SHA1: ac5bd3ef4920b44f6c2d22357729a2c2ddc31471 inputproto-2.1.99.3.tar.gz SHA256: 35e31f1050a050ed121fc77e231eab91a4bf7e9ecd4756f832d0b173391c4469 inputproto-2.1.99.3.tar.gz -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJO5559AAoJEI3Z6a9pX7cqxgsP/3RFM+MNo2BIDOh2d4iie8ac gWWSYBmnC/Zb3EEop5wUfGYUAbw6FmANL9af/QFX728HvVvakAwtrEN85XcUl91S 3V+5qBoXMAgr727xozTfKoH90DzNJ5884iBOR9wpuLLLwK7+9DtWUdQ5/I7ErPpF T5St/tajGOyzgu4RI2CYU7CyRejhzhlymkX4Z1b+GdDevSHDJwJBd82oCcXi4GMy 09QmCEVashOmDF8+7/+92Dsa8QXzIBJsUIj/lk2LlAKGLhWCrGSSUYtuLUkgQHcH 35bEaIhPwDauFxnbqfrw5zbZMK7Mh2BomZ9D/kcFbb+0wa+QALI1fb4xhV6fyxAO NARmuyl7V4CA9oZCuAYgn+5EBW6ornpnpKR1PAPREpYcHhrRwKlJ48QT19S7cQ7o 62p6oMQvtqqAyEjob4BP1f1I6LGIlaLO/Z6Z9zKwc/zbosYGC4QdswhPr6EkMkUP qTjasuh5LEAosNmHEMmXEXhp3zDkHxKD+D7Mi2m2XCt100m6HjU9zcWIcLF+OOXJ wLu678S7d1wQjasAsxlh0zcRk3fp8vrIfGbh9HFGFTGKd555HDSTGyzSwp42ZFn5 cx7lAdx9XgNmK0HeB3W6AErTniIUoyw4pjHAl4yVi56nU33YcDy7CTcY5DJO2RaT 31UDfUNpBSlkOndcD4ux =WIYc -END PGP SIGNATURE- ___ xorg-announce mailing list xorg-announce@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg-announce
[ANNOUNCE] inputproto 2.1.99.3
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chase Douglas (3): Touch IDs must be globally unique State that future touch IDs are indeterminate inputproto 2.1.99.3 Peter Hutterer (1): Remove XI2.1 and XI2.2 warnings and errors git tag: inputproto-2.1.99.3 http://xorg.freedesktop.org/archive/individual/proto/inputproto-2.1.99.3.tar.bz2 MD5: dd62927a5cbcd554b0296969e6ee5a26 inputproto-2.1.99.3.tar.bz2 SHA1: 726d63755aa2d72fbf548cd583c8aff29aae529a inputproto-2.1.99.3.tar.bz2 SHA256: 547690b27c059aefa7b4e9f0ffc980cedde62009acced925faf816a86ff03483 inputproto-2.1.99.3.tar.bz2 http://xorg.freedesktop.org/archive/individual/proto/inputproto-2.1.99.3.tar.gz MD5: 62b8ae147483d2e52820801f6a263be7 inputproto-2.1.99.3.tar.gz SHA1: ac5bd3ef4920b44f6c2d22357729a2c2ddc31471 inputproto-2.1.99.3.tar.gz SHA256: 35e31f1050a050ed121fc77e231eab91a4bf7e9ecd4756f832d0b173391c4469 inputproto-2.1.99.3.tar.gz -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJO5559AAoJEI3Z6a9pX7cqxgsP/3RFM+MNo2BIDOh2d4iie8ac gWWSYBmnC/Zb3EEop5wUfGYUAbw6FmANL9af/QFX728HvVvakAwtrEN85XcUl91S 3V+5qBoXMAgr727xozTfKoH90DzNJ5884iBOR9wpuLLLwK7+9DtWUdQ5/I7ErPpF T5St/tajGOyzgu4RI2CYU7CyRejhzhlymkX4Z1b+GdDevSHDJwJBd82oCcXi4GMy 09QmCEVashOmDF8+7/+92Dsa8QXzIBJsUIj/lk2LlAKGLhWCrGSSUYtuLUkgQHcH 35bEaIhPwDauFxnbqfrw5zbZMK7Mh2BomZ9D/kcFbb+0wa+QALI1fb4xhV6fyxAO NARmuyl7V4CA9oZCuAYgn+5EBW6ornpnpKR1PAPREpYcHhrRwKlJ48QT19S7cQ7o 62p6oMQvtqqAyEjob4BP1f1I6LGIlaLO/Z6Z9zKwc/zbosYGC4QdswhPr6EkMkUP qTjasuh5LEAosNmHEMmXEXhp3zDkHxKD+D7Mi2m2XCt100m6HjU9zcWIcLF+OOXJ wLu678S7d1wQjasAsxlh0zcRk3fp8vrIfGbh9HFGFTGKd555HDSTGyzSwp42ZFn5 cx7lAdx9XgNmK0HeB3W6AErTniIUoyw4pjHAl4yVi56nU33YcDy7CTcY5DJO2RaT 31UDfUNpBSlkOndcD4ux =WIYc -END PGP SIGNATURE- ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
[ANNOUNCE] inputproto 2.1.99.1
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It's been a long time coming, but we're on track to add multitouch support to X.org soonish. This is the first snapshot of the inputproto protocol version 2.2. Keen readers will note that: * The XI 2.1 train has left the station without multitouch * XI 2.1 isn't released yet, so this is based on inputproto 2.0.99.1 To develop with the protocol, the package will need to be configured with an extra option: --enable-unstable-protocol. The latest inputproto multitouch code can be cloned from: git://anongit.freedesktop.org/xorg/proto/inputproto ssh://git.freedesktop.org/git/xorg/proto/inputproto http://anongit.freedesktop.org/git/xorg/proto/inputproto.git and is found in the multitouch-devel branch. Chase Douglas (23): Updates for pointer emulation and more touch device modes Many more updates to the XI 2.1 protocol Separate XI2.x into XI 2.x for readability Yes, send TouchEnd to owner, TouchPendingEnd to other listeners Update device type terminology Prettyify touch device types Peter is right, floating devices can emit touch events Fix up pointer event emulation section Remove touch Observe grabs Use the same valuator axes for pointer and touch events Specify dependent device pointer/touch handling Introduce Touch grab mode Fix indentation of active_touches definition Fix touch cancel/resume semantics Revert Fix touch cancel/resume semantics Revert Specify dependent device pointer/touch handling Switch multitouch additions to XI 2.2 Bump version to 2.1.99 for XI 2.2 multitouch changes Really kill touch valuators Add event windows to ownership events Extend XIAllowEvents for handling touch grab processing Allow grabbing clients to accept or reject touches any time inputproto 2.1.99.1 (first snapshot of 2.2) Daniel Stone (11): Add touch classes and events, bump to 2.1 Require configure flag to build this proto version. Formatting fixups and minor rewording Doc note: No seriously, this is WIP Add inline references, fix usecase bulleting Add FIXME sidebars, remove single-grab stipulation typo fix Reword touch introduction, labels for all Further cleanups and clarifications Mostly typographical Clean up and reword multitouch ownership/emulation Peter Hutterer (31): specs: add a linebreak for asciidoc parsing specs: move from init move destroy to begin update end specs: move touch sequence handling (owner-only) up a bit. specs: move warning about out-of-band processing up a bit. spec: Move ClientPointer up again. specs: clean/rewrite touch grab and ownership bits specs: Add a fixme for using raw events instead of GrabModeObserve specs: Rewrite Touch events delivery section specs: rewrite pointer emulation for indirect devices specs: rewrite pointer emulation section Put a #warning and #error in to avoid unsuspecting XI 2.1 users. XITouchClass' props needs a num_props Changing the touch device mode generates a DeviceChangedEvent Add two linebreaks for asciidoc list parsing Coordinates are always absolute, no need to re-state it XISelectEvents: BadValue is generated, not returned Fix missing 'and' in GrabTypeFocusIn description Reword the passive touch grab rules to be similar to the others Indent Ownership explanation for consistent formatting AllowTouchEvents can take any device id, not just slaves DeviceEvent: active_touches needs marker that it's XI 2.1 DeviceEvents: a TouchPendingEnd won't generate further TouchUpdate events specs: Fix in-document references specs: Fix event lists for asciidoc parsing Change file header to note version 2.x Add comment to XI2.h to mark where the 2.1 events start specs: extend XI2.1 raw events to include touch events specs: misc typos, rewording, etc. specs: remove comment about overlapping selections, not true specs: remove broken asciidoc link to XIAllowTouchEvents specs: if a sequence ends, all clients get TouchPendingEnd git tag: inputproto-2.1.99.1 http://xorg.freedesktop.org/archive/individual/proto/inputproto-2.1.99.1.tar.bz2 MD5: 354af1c519c3d92d710d218db217e173 inputproto-2.1.99.1.tar.bz2 SHA1: f1f1e02a5564843fd4c6148ca8a9f14363641c86 inputproto-2.1.99.1.tar.bz2 SHA256: e3e67a587ba6aee33e7a8a9ba8a6081e0499dc56b566236881da296bd95f9ac3 inputproto-2.1.99.1.tar.bz2 http://xorg.freedesktop.org/archive/individual/proto/inputproto-2.1.99.1.tar.gz MD5: b57b4c69be117cd1c6a2860c9e7ef6cd inputproto-2.1.99.1.tar.gz SHA1: 3247c9ddcdc2a3be1b9c2765389b9bbc85fbb706 inputproto-2.1.99.1.tar.gz SHA256: a73e34bd5d0993fe630ef494016d7e66b56c26e5736fd5263cf35498faef065e inputproto-2.1.99.1.tar.gz -BEGIN PGP SIGNATURE- Version: GnuPG
[ANNOUNCE] inputproto 2.1.99.1
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It's been a long time coming, but we're on track to add multitouch support to X.org soonish. This is the first snapshot of the inputproto protocol version 2.2. Keen readers will note that: * The XI 2.1 train has left the station without multitouch * XI 2.1 isn't released yet, so this is based on inputproto 2.0.99.1 To develop with the protocol, the package will need to be configured with an extra option: --enable-unstable-protocol. The latest inputproto multitouch code can be cloned from: git://anongit.freedesktop.org/xorg/proto/inputproto ssh://git.freedesktop.org/git/xorg/proto/inputproto http://anongit.freedesktop.org/git/xorg/proto/inputproto.git and is found in the multitouch-devel branch. Chase Douglas (23): Updates for pointer emulation and more touch device modes Many more updates to the XI 2.1 protocol Separate XI2.x into XI 2.x for readability Yes, send TouchEnd to owner, TouchPendingEnd to other listeners Update device type terminology Prettyify touch device types Peter is right, floating devices can emit touch events Fix up pointer event emulation section Remove touch Observe grabs Use the same valuator axes for pointer and touch events Specify dependent device pointer/touch handling Introduce Touch grab mode Fix indentation of active_touches definition Fix touch cancel/resume semantics Revert Fix touch cancel/resume semantics Revert Specify dependent device pointer/touch handling Switch multitouch additions to XI 2.2 Bump version to 2.1.99 for XI 2.2 multitouch changes Really kill touch valuators Add event windows to ownership events Extend XIAllowEvents for handling touch grab processing Allow grabbing clients to accept or reject touches any time inputproto 2.1.99.1 (first snapshot of 2.2) Daniel Stone (11): Add touch classes and events, bump to 2.1 Require configure flag to build this proto version. Formatting fixups and minor rewording Doc note: No seriously, this is WIP Add inline references, fix usecase bulleting Add FIXME sidebars, remove single-grab stipulation typo fix Reword touch introduction, labels for all Further cleanups and clarifications Mostly typographical Clean up and reword multitouch ownership/emulation Peter Hutterer (31): specs: add a linebreak for asciidoc parsing specs: move from init move destroy to begin update end specs: move touch sequence handling (owner-only) up a bit. specs: move warning about out-of-band processing up a bit. spec: Move ClientPointer up again. specs: clean/rewrite touch grab and ownership bits specs: Add a fixme for using raw events instead of GrabModeObserve specs: Rewrite Touch events delivery section specs: rewrite pointer emulation for indirect devices specs: rewrite pointer emulation section Put a #warning and #error in to avoid unsuspecting XI 2.1 users. XITouchClass' props needs a num_props Changing the touch device mode generates a DeviceChangedEvent Add two linebreaks for asciidoc list parsing Coordinates are always absolute, no need to re-state it XISelectEvents: BadValue is generated, not returned Fix missing 'and' in GrabTypeFocusIn description Reword the passive touch grab rules to be similar to the others Indent Ownership explanation for consistent formatting AllowTouchEvents can take any device id, not just slaves DeviceEvent: active_touches needs marker that it's XI 2.1 DeviceEvents: a TouchPendingEnd won't generate further TouchUpdate events specs: Fix in-document references specs: Fix event lists for asciidoc parsing Change file header to note version 2.x Add comment to XI2.h to mark where the 2.1 events start specs: extend XI2.1 raw events to include touch events specs: misc typos, rewording, etc. specs: remove comment about overlapping selections, not true specs: remove broken asciidoc link to XIAllowTouchEvents specs: if a sequence ends, all clients get TouchPendingEnd git tag: inputproto-2.1.99.1 http://xorg.freedesktop.org/archive/individual/proto/inputproto-2.1.99.1.tar.bz2 MD5: 354af1c519c3d92d710d218db217e173 inputproto-2.1.99.1.tar.bz2 SHA1: f1f1e02a5564843fd4c6148ca8a9f14363641c86 inputproto-2.1.99.1.tar.bz2 SHA256: e3e67a587ba6aee33e7a8a9ba8a6081e0499dc56b566236881da296bd95f9ac3 inputproto-2.1.99.1.tar.bz2 http://xorg.freedesktop.org/archive/individual/proto/inputproto-2.1.99.1.tar.gz MD5: b57b4c69be117cd1c6a2860c9e7ef6cd inputproto-2.1.99.1.tar.gz SHA1: 3247c9ddcdc2a3be1b9c2765389b9bbc85fbb706 inputproto-2.1.99.1.tar.gz SHA256: a73e34bd5d0993fe630ef494016d7e66b56c26e5736fd5263cf35498faef065e inputproto-2.1.99.1.tar.gz -BEGIN PGP SIGNATURE- Version: GnuPG