iptsd
iptsd copied to clipboard
Diagnostic tool iptsd-dump is unusable on Ubuntu 24.04 / Touchscreen size sensitivity
Surface Pro 7 on Ubuntu 24.04 (Noble).
I was having problems with the touch screen not registering my index finger, only my thumb. This part might be specific to me as I have a screen protector on the device. I was trying to find out the correct TouchMajorMin and TouchMinorMin values to tune this.
I tried using iptsd-dump to get the data.
sudo iptsd-dump /dev/hidraw1 -o touch_data.bin --help
Utility for saving raw reports from your touchscreen to a binary file
Usage: iptsd-dump [OPTIONS] DEVICE
Positionals:
DEVICE FILE REQUIRED The hidraw device node of the touchscreen
Options:
-h,--help Print this help message and exit
- The --help text is contradictory (Usage: vs. Positionals:).
- The tool does not accept an output file argument (neither -o nor positional).
- Redirecting the output (>) creates a tiny (327 byte) and corrupt file, making iptsd-plot fail.
- This happens even when the main [email protected] is stopped.
The only way I was able to solve this is was to manually edit /etc/iptsd.conf and set TouchMajorMin and TouchMinorMin to a very low value (1).