diff mbox series

HID: logitech-hidpp: Add hid_device_id for V470 bluetooth mouse

Message ID 20201119132727.32036-1-hdegoede@redhat.com (mailing list archive)
State Mainlined
Commit ba876cdc6ac9702138000d06613484de3de760db
Delegated to: Jiri Kosina
Headers show
Series HID: logitech-hidpp: Add hid_device_id for V470 bluetooth mouse | expand

Commit Message

Hans de Goede Nov. 19, 2020, 1:27 p.m. UTC
The Logitech V470 bluetooth mouse supports HID++-1.0 over bluetooth,
add its id to the hidpp driver so that it handles it.

This enables battery monitoring support.

Note this mouse does not support hi-resolution scroll-wheel events.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 drivers/hid/hid-logitech-hidpp.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Jiri Kosina Nov. 25, 2020, 12:59 p.m. UTC | #1
On Thu, 19 Nov 2020, Hans de Goede wrote:

> The Logitech V470 bluetooth mouse supports HID++-1.0 over bluetooth,
> add its id to the hidpp driver so that it handles it.
> 
> This enables battery monitoring support.
> 
> Note this mouse does not support hi-resolution scroll-wheel events.
> 
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>

Applied, thanks Hans.
diff mbox series

Patch

diff --git a/drivers/hid/hid-logitech-hidpp.c b/drivers/hid/hid-logitech-hidpp.c
index d062fffc6ebb..9cf8e7b440bc 100644
--- a/drivers/hid/hid-logitech-hidpp.c
+++ b/drivers/hid/hid-logitech-hidpp.c
@@ -4057,6 +4057,8 @@  static const struct hid_device_id hidpp_devices[] = {
 	{ /* MX5500 keyboard over Bluetooth */
 	  HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb30b),
 	  .driver_data = HIDPP_QUIRK_HIDPP_CONSUMER_VENDOR_KEYS },
+	{ /* M-RCQ142 V470 Cordless Laser Mouse over Bluetooth */
+	  HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb008) },
 	{ /* MX Master mouse over Bluetooth */
 	  HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb012),
 	  .driver_data = HIDPP_QUIRK_HI_RES_SCROLL_X2121 },