From a34e43f038c5a8051ea84c2ee9e1655a7478dc9a Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Sat, 5 Jul 2014 22:29:59 +0200 Subject: initial import --- README | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 README (limited to 'README') diff --git a/README b/README new file mode 100644 index 0000000..781ba33 --- /dev/null +++ b/README @@ -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 + +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. -- cgit v1.2.3