HID: multitouch: Disable touchpad on firmware level while not in use
authorWerner Sembach <wse@tuxedocomputers.com>
Tue, 11 Feb 2025 13:39:06 +0000 (14:39 +0100)
committerBenjamin Tissoires <bentiss@kernel.org>
Tue, 13 May 2025 13:59:29 +0000 (15:59 +0200)
commit6a9e76f75c1a8fffbf45d4665daaf24e7d30095f
treeb808df8954ad01c99d8f27cabab7f24cfe2962bc
parenta98e892c694284256296465a78d11072e2c5419f
HID: multitouch: Disable touchpad on firmware level while not in use

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

Signed-off-by: Werner Sembach <wse@tuxedocomputers.com>
Link: https://patch.msgid.link/20250211133950.422232-2-wse@tuxedocomputers.com
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
drivers/hid/hid-multitouch.c