# PC Touchscreen Support

**URL:** <https://genode.discourse.group/t/pc-touchscreen-support/104>\
**Category:** Genode and Sculpt OS\
**Created:** [November 8, 2024, 8:14pm UTC](https://genode.discourse.group/t/pc-touchscreen-support/104 "2024-11-08T20:14:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jjkarcher](https://avatars.discourse-cdn.com/v4/letter/j/a9adbd/32.png) [@jjkarcher](https://genode.discourse.group/u/jjkarcher)\
**Post date:** [November 8, 2024, 8:14pm UTC](https://genode.discourse.group/t/pc-touchscreen-support/104/1 "2024-11-08T20:14:07Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![jjkarcher](https://avatars.discourse-cdn.com/v4/letter/j/a9adbd/32.png) [@jjkarcher](https://genode.discourse.group/u/jjkarcher)\
**Post date:** [November 13, 2024, 6:26pm UTC](https://genode.discourse.group/t/pc-touchscreen-support/104/2 "2024-11-13T18:26:55Z")

</div>

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):

```auto
[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...

```

---

<div class="post-metadata">

**Author:** ![chelmuth](https://dub1.discourse-cdn.com/flex006/user_avatar/genode.discourse.group/chelmuth/32/1_2.png) [@chelmuth](https://genode.discourse.group/u/chelmuth)\
**Post date:** [November 18, 2024, 2:41pm UTC](https://genode.discourse.group/t/pc-touchscreen-support/104/3 "2024-11-18T14:41:21Z")

</div>

> [@jjkarcher](#):
>
> ```auto
> Error: Function devm_power_supply_register not implemented yet!
> 
> ```

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.

---

<div class="post-metadata">

**Author:** ![jjkarcher](https://avatars.discourse-cdn.com/v4/letter/j/a9adbd/32.png) [@jjkarcher](https://genode.discourse.group/u/jjkarcher)\
**Post date:** [November 20, 2024, 5:11am UTC](https://genode.discourse.group/t/pc-touchscreen-support/104/4 "2024-11-20T05:11:15Z")

</div>

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. 🙂 Maybe some day…

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