]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 Dec 2020 07:49:48 +0000 (08:49 +0100)
commit830f4aa73a69cad1425dba648aa5d46c7dbb4340
tree0540f7cc207b296aaef3a6a8f8eb3bba7c070230
parent4d070afa10805e89df3f6ecbdc2b5ab2d756a2d9
HID: Add Logitech Dinovo Edge battery quirk

[ Upstream commit 7940fb035abd88040d56be209962feffa33b03d0 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/hid/hid-ids.h
drivers/hid/hid-input.c