Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

HID: logitech-dj: Fix an error in mse_bluetooth_descriptor

Fix an error in the mouse / INPUT(2) descriptor used for quad/bt2.0 combo
receivers. Replace INPUT with INPUT (Data,Var,Abs) for the field for the
4 extra buttons which share their report-byte with the low-res hwheel.

This is likely a copy and paste error. I've verified that the new
0x81, 0x02 value matches both the mouse descriptor for the currently
supported MX5000 / MX5500 receivers, as well as the INPUT(2) mouse
descriptors for the Dinovo receivers for which support is being
worked on.

Cc: stable@vger.kernel.org
Fixes: f2113c3020ef ("HID: logitech-dj: add support for Logitech Bluetooth Mini-Receiver")
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>

authored by

Hans de Goede and committed by
Benjamin Tissoires
eec231e0 7940fb03

+1 -1
+1 -1
drivers/hid/hid-logitech-dj.c
··· 328 0x25, 0x01, /* LOGICAL_MAX (1) */ 329 0x75, 0x01, /* REPORT_SIZE (1) */ 330 0x95, 0x04, /* REPORT_COUNT (4) */ 331 - 0x81, 0x06, /* INPUT */ 332 0xC0, /* END_COLLECTION */ 333 0xC0, /* END_COLLECTION */ 334 };
··· 328 0x25, 0x01, /* LOGICAL_MAX (1) */ 329 0x75, 0x01, /* REPORT_SIZE (1) */ 330 0x95, 0x04, /* REPORT_COUNT (4) */ 331 + 0x81, 0x02, /* INPUT (Data,Var,Abs) */ 332 0xC0, /* END_COLLECTION */ 333 0xC0, /* END_COLLECTION */ 334 };