]> git.baikalelectronics.ru Git - kernel.git/commit
HID: Add Logitech Dinovo Edge battery quirk
authorHans de Goede <hdegoede@redhat.com>
Mon, 2 Nov 2020 13:36:58 +0000 (14:36 +0100)
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>
Thu, 12 Nov 2020 15:01:13 +0000 (16:01 +0100)
commit0f6453b7f60adcc100d3977091b1dd0db37f0ff6
tree3054e3bd5916a1c4bc8907484f8ce3ca03c3d165
parent0c31d877521d9af4cfd6d6b952c6517aca2a3187
HID: Add Logitech Dinovo Edge battery quirk

The battery status is also being reported by the logitech-hidpp driver,
so ignore the standard HID battery status to avoid reporting the same
info twice.

Note the logitech-hidpp battery driver provides more info, such as properly
differentiating between charging and discharging. Also the standard HID
battery info seems to be wrong, reporting a capacity of just 26% after
fully charging the device.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
drivers/hid/hid-ids.h
drivers/hid/hid-input.c