← Back to team overview

multi-touch-dev team mailing list archive

script to detect MT devices, now works for 32-bit machines

 

Hi all, please find enclosed a script that answers the question

"Do I have any MT devices with a driver 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. The script has been updated with David's patch, and changes to
accomodate the fact that the abs mask is output in native long format.

Cheers,
Henrik


Attachment: scan-for-mt-devices.sh
Description: application/shellscript