]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
HID: logitech-hidpp: Add hid_device_id for V470 bluetooth mouse
authorHans de Goede <hdegoede@redhat.com>
Thu, 19 Nov 2020 13:27:27 +0000 (14:27 +0100)
committerJiri Kosina <jkosina@suse.cz>
Wed, 25 Nov 2020 12:59:01 +0000 (13:59 +0100)
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>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-logitech-hidpp.c

index 0ca7231195473e3a2c8e29ea31d1e70e9e1579e4..f85781464807d130b41797b2b57274438a7e4ca9 100644 (file)
@@ -4048,6 +4048,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 },