diff options
author | Javier S. Pedro <dev.git@javispedro.com> | 2014-07-05 22:29:59 +0200 |
---|---|---|
committer | Javier S. Pedro <dev.git@javispedro.com> | 2014-07-05 22:29:59 +0200 |
commit | a34e43f038c5a8051ea84c2ee9e1655a7478dc9a (patch) | |
tree | cffa47a27d499297a3a018db74e9d567d773583a /README | |
download | hidptp-a34e43f038c5a8051ea84c2ee9e1655a7478dc9a.tar.gz hidptp-a34e43f038c5a8051ea84c2ee9e1655a7478dc9a.zip |
initial import
Diffstat (limited to 'README')
-rw-r--r-- | README | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -0,0 +1,23 @@ +hidptp -- a quick and dirty utility to debug Precision Touchpad (PTP) devices + +Build hidptp by typing "make". + +Use the utility as follows: + +./hidptp <hiddev device node> <enable or disable PTP mode> + +For example, +./hidptp /dev/usb/hiddev0 0 + +will disable PTP mode in device hiddev0. It is hard to know which physical device +"hiddev0" represents, but on my Surface Pro 2 it is the Type Cover v2. You may +need to test hiddev1, hiddev2, etc. + +The utility will print the name of the device (so for a Type/Touch Cover 1/2 it +should be "MICROSOFT SAM"), and then enable or disable PTP mode as requested. + +Current Linux versions can't work when the touchpad is configured in PTP mode. +So in most scenarios you want to disable PTP mode. + +As an additional feature the tool will start listening and dumping events from +the selected device. Stop with Ctrl+C. |