Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7940fb0

Browse files
jwrdegoedebentiss
authored andcommitted
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 sameinfo twice.Note the logitech-hidpp battery driver provides more info, such as properlydifferentiating between charging and discharging. Also the standard HIDbattery info seems to be wrong, reporting a capacity of just 26% afterfully charging the device.Signed-off-by: Hans de Goede <hdegoede@redhat.com>Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
1 parentc27168a commit7940fb0

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

‎drivers/hid/hid-ids.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,7 @@
750750
#defineUSB_VENDOR_ID_LOGITECH0x046d
751751
#defineUSB_DEVICE_ID_LOGITECH_AUDIOHUB 0x0a0e
752752
#defineUSB_DEVICE_ID_LOGITECH_T6510xb00c
753+
#defineUSB_DEVICE_ID_LOGITECH_DINOVO_EDGE_KBD0xb309
753754
#defineUSB_DEVICE_ID_LOGITECH_C0070xc007
754755
#defineUSB_DEVICE_ID_LOGITECH_C0770xc077
755756
#defineUSB_DEVICE_ID_LOGITECH_RECEIVER0xc101

‎drivers/hid/hid-input.c‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,9 @@ static const struct hid_device_id hid_battery_quirks[] = {
319319
{HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_ASUSTEK,
320320
USB_DEVICE_ID_ASUSTEK_T100CHI_KEYBOARD),
321321
HID_BATTERY_QUIRK_IGNORE },
322+
{HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH,
323+
USB_DEVICE_ID_LOGITECH_DINOVO_EDGE_KBD),
324+
HID_BATTERY_QUIRK_IGNORE },
322325
{}
323326
};
324327

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp