Skip to contentSkip to conversation

HID: logitech-hidpp: Add Bluetooth ID for the Logitech M720 Triathlon mouse

PATCH Applied Hans de Goede 3 participants 3 messages Aug 27, 2023 – Sep 18, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 HID: logitech-hidpp: Add Bluetooth ID for the Logitech M720 Triathlon mouse

Using hidpp for the M720 adds battery info reporting and hires scrolling support.

---
 drivers/hid/hid-logitech-hidpp.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/hid/hid-logitech-hidpp.c +2 -0
index 129b01be488d..3786fcc93da0 100644
@@ -4640,6 +4640,8 @@ static const struct hid_device_id hidpp_devices[] = {
 	  HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb008) },
 	{ /* MX Master mouse over Bluetooth */
 	  HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb012) },
+	{ /* M720 Triathlon mouse over Bluetooth */
+	  HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb015) },
 	{ /* MX Ergo trackball over Bluetooth */
 	  HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb01d) },
 	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb01e) },
Signature · 1 line
2.41.0
#1 lore raw
Quoted 4 lines · Hans de Goede

Using hidpp for the M720 adds battery info reporting and hires scrolling support.

Quoted 19 lines

---
 drivers/hid/hid-logitech-hidpp.c | 2 ++

 1 file changed, 2 insertions(+)
drivers/hid/hid- renamed from drivers/hid/hid-logitech-hidpp.c +0 -0

logitech-hidpp.c
index 129b01be488d..3786fcc93da0 100644

drivers/hid/hid-logitech-hidpp.c +0 -0
@@ -4640,6 +4640,8 @@ static const struct hid_device_id
 hidpp_devices[] = {
           HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb008) },

        { /* MX Master mouse over Bluetooth */ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb012) }, +       { /* M720 Triathlon mouse over Bluetooth */
+         HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb015) }, { /* MX Ergo trackball over Bluetooth */ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb01d) }, { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb01e) },

maintainer Applied
#2 lore raw
In reply to Hans de Goede
Quoted 13 lines · Hans de Goede

Using hidpp for the M720 adds battery info reporting and hires scrolling support.

---
 drivers/hid/hid-logitech-hidpp.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/hid/hid-logitech-hidpp.c +0 -0
index 129b01be488d..3786fcc93da0 100644

drivers/hid/hid-logitech-hidpp.c static const struct hid_device_id hidpp_devices[] = { · line 4647

Quoted 8 lines
drivers/hid/hid-logitech-hidpp.c +2 -0
@@ -4640,6 +4640,8 @@ static const struct hid_device_id hidpp_devices[] = {
 	  HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb008) },
 	{ /* MX Master mouse over Bluetooth */
 	  HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb012) },
+	{ /* M720 Triathlon mouse over Bluetooth */
+	  HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb015) },
 	{ /* MX Ergo trackball over Bluetooth */
 	  HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb01d) },
 	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb01e) },

Applied, thanks.

Signature · 2 lines
Jiri Kosina
SUSE Labs