]> git.baikalelectronics.ru Git - kernel.git/commit
HID: hid-input: add Surface Go battery quirk
authorZoltan Tamas Vajda <zoltan.tamas.vajda@gmail.com>
Thu, 3 Jun 2021 18:58:14 +0000 (20:58 +0200)
committerJiri Kosina <jkosina@suse.cz>
Mon, 14 Jun 2021 13:37:16 +0000 (15:37 +0200)
commit3a191561de1cdec746abb1009f17075e35c1e3c3
tree44024f644cd02fe9b91e294f415470e41fabebf4
parente1cadd207ebe0bf55d3d2a438c688fecb7a987bb
HID: hid-input: add Surface Go battery quirk

The Elantech touchscreen/digitizer in the Surface Go mistakenly reports
having a battery. This results in a low battery message every time you
try to use the pen.

This patch adds a quirk to ignore the non-existent battery and
gets rid of the false low battery messages.

Signed-off-by: Zoltan Tamas Vajda <zoltan.tamas.vajda@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-ids.h
drivers/hid/hid-input.c