PC Touchscreen Support

It looks like the recent work on updating the USB HID drivers has given me an early Christmas present - touchscreen support!

On my touchscreen ThinkPad, I loaded the Nano3D preset, and the ball follows the finger movements. I still need to make the changes to the settings to set the proper coordinates, but that’s on me.

The Wacom pen still doesn’t work; it crashes the touchscreen driver, but doesn’t crash the whole input system any more, so I can capture the log file now!

I am having SSD partition problems, so my testing is delayed, but I will follow up as soon as I can with log files, further observations, etc.

Thanks to the whole team!

2 Likes

I captured the log for a pen event; there’s not much to it, but it seems to point to the problem (formatting codes removed):

[runtime -> usb_hid] Dropping unsupported Event[4/5] device=Wacom Pen and multitouch sensor Pen type=ABS code=MISC value=17
[runtime -> usb_hid] Error: Function devm_power_supply_register not implemented yet!
[runtime -> usb_hid] backtrace "ep"
[runtime -> usb_hid] Will sleep forever...

As the diagnostic message says: The USB HID driver is missing the stated function that is part of the power-supply utilities in the Linux kernel. At a quick glance, I could not identify a good cut point to satisfy the Wacom driver with a sufficient dummy implementation. IMO this requires more effort.

1 Like

Thanks for looking into this - it was very nice of you! I suspected that if it was straight-forward, it would have been included in the first place. :slight_smile: Maybe some day…

In the meantime, I will be busy enjoying touchscreen support! :tada: