OSDN Git Service

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)
commit7940fb035abd88040d56be209962feffa33b03d0
tree3054e3bd5916a1c4bc8907484f8ce3ca03c3d165
parentc27168a04a438a457c100253b1aaf0c779218aae
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