Re: [PATCH 2/2] Disable touchpad on firmware level while not in use

From: Werner Sembach
Date: Thu Apr 24 2025 - 06:58:54 EST



Am 24.04.25 um 11:20 schrieb Jiri Kosina:
On Tue, 4 Mar 2025, Werner Sembach wrote:

Using the new on_hid_hw_open and on_hid_hw_close functions to disable the
touchpad on firmware level while not being in use.

This safes some battery and triggers touchpad-disabled-leds hardwired to
the touchpads firmware, that exist for example on some TongFang barebones.

For a lengthy discussion with all the details see
https://gitlab.freedesktop.org/libinput/libinput/-/issues/558
Any comments if this is a good idea or not?
Sorry for the delay.
np

To me this looks like generally a good idea; Benjamin, any comments on the
hid-mt part?

BTW you'd need to adjust the Subject line of the patches to conform to the
subsystem style (i.e. HID: core: ....)

sorry an oversight when rewriting the commit log from local testing branch to upstream ready

will do in v2 after Benjamins reply

Thanks for looking at this,

Werner


Thanks,