← Back to team overview

multi-touch-dev team mailing list archive

Re: script to detect MT devices

 

On 08/16/10 09:42, Henrik Rydberg wrote:
On 08/16/2010 03:34 PM, David Barth wrote:

On 08/16/2010 12:52 PM, Henrik Rydberg wrote:
Hi all, please find enclosed a script that answers the question

"Do I have any MT devices installed?"

The script checks the kernel event devices for their actual capabilities, so any
driver which uses ABS_MT_POSITION_X, the corner stone of the MT protocol, will
be listed.
Some polish if you want to include the script in a package.
No MT device on my thinkpad unfortunately :-(

Not necessarily, if you're only considering the output of that script. A lot of thinkpads, even the latest, with wacom sensors use serial instead of usb, and those devices will not be caught by this script.

Rafi



Follow ups

References