Re: [PATCH v4] HID: logitech-dj: Add support for a new lightspeed receiver iteration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2025-09-03 23:40, Stuart wrote:
>> Can you apply this on top of the existing changes and test again?
> 
> Unfortunately, no change in behaviour

Hm. It appears I may have misunderstood how this works. Please undo the 
previous diff and apply the following on top instead:

diff --git a/drivers/hid/hid-logitech-dj.c b/drivers/hid/hid-logitech-dj.c
index 00a975b70f59..4ae67f32e78e 100644
--- a/drivers/hid/hid-logitech-dj.c
+++ b/drivers/hid/hid-logitech-dj.c
@@ -227,6 +227,7 @@ static const char kbd_lightspeed_1_3_descriptor[] = {
 	0x95, 0x08,		/*   Report Count (8)           */
 	0x81, 0x02,		/*   Input (Data,Var)           */
 	0x95, 0x05,		/*   Report Count (5)           */
+	0x85, 0x0E,		/*   Report ID (14)             */
 	0x05, 0x08,		/*   Usage Page (LEDs)          */
 	0x19, 0x01,		/*   Usage Minimum (Num Lock)   */
 	0x29, 0x05,		/*   Usage Maximum (Kana)       */
@@ -236,6 +237,7 @@ static const char kbd_lightspeed_1_3_descriptor[] = {
 	0x91, 0x03,		/*   Output (Const,Var,Abs)     */
 	0x95, 0x70,		/*   Report Count (112)         */
 	0x75, 0x01,		/*   Report Size (1)            */
+	0x85, 0x01,		/*   Report ID (1)              */
 	0x05, 0x07,		/*   Usage Page (Kbrd/Keypad)   */
 	0x19, 0x04,		/*   Usage Minimum (0x04)       */
 	0x29, 0x73,		/*   Usage Maximum (0x73)       */

 
> I forgot to mention in my original testing, I get a warning in my dmesg:
> logitech-hidpp-device 0003:046D:408E.0007:
> hidpp_root_get_protocol_version: received protocol error 0x08

I believe that is normal. If I recall correctly, it just means the 
receiver had trouble identifying a device. I think it happens when the 
devices paired to it disconnect/reconnect.

Can you also dump the HID report descriptors when the keyboard is 
plugged in directly via USB?






[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux