Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#78427 - Since kernel 6.3.1 logitech unify receiver not working properly.

Attached to Project: Arch Linux
Opened by Guy B (sushi2503) - Saturday, 06 May 2023, 10:38 GMT
Last edited by Toolybird (Toolybird) - Saturday, 06 May 2023, 21:51 GMT
Task Type Bug Report
Category Kernel
Status Waiting on Response
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 3
Private No

Details

Hello,

Since kernel 6.3.1 (last update) the boot process hangs (~ 5 seconds) by uevent triggering with the following errors :

logitech-hidpp-device 0003:046D:405E.0004: hidpp_devicenametype_get_count: received protocol error 0x07


The all log about logitech input:

usb 1-8: new full-speed USB device number 2 using xhci_hcd
mai 06 11:54:24 Cockpit kernel: usb 1-8: New USB device found, idVendor=046d, idProduct=c52b, bcdDevice=24.10
mai 06 11:54:24 Cockpit kernel: usb 1-8: New USB device strings: Mfr=1, Product=2, SerialNumber=0
mai 06 11:54:24 Cockpit kernel: usb 1-8: Product: USB Receiver
mai 06 11:54:24 Cockpit kernel: usb 1-8: Manufacturer: Logitech
mai 06 11:54:24 Cockpit kernel: input: Logitech USB Receiver as /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/0003:046D:C52B.0001/input/input4
mai 06 11:54:24 Cockpit kernel: hid-generic 0003:046D:C52B.0001: input,hidraw0: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-0000:00:14.0-8/input0
mai 06 11:54:24 Cockpit kernel: input: Logitech USB Receiver Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.1/0003:046D:C52B.0002/input/input5
mai 06 11:54:24 Cockpit kernel: input: Logitech USB Receiver Consumer Control as /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.1/0003:046D:C52B.0002/input/input6
mai 06 11:54:24 Cockpit kernel: input: Logitech USB Receiver System Control as /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.1/0003:046D:C52B.0002/input/input7
mai 06 11:54:24 Cockpit kernel: hid-generic 0003:046D:C52B.0002: input,hiddev96,hidraw1: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:00:14.0-8/input1
mai 06 11:54:24 Cockpit kernel: hid-generic 0003:046D:C52B.0003: hiddev97,hidraw2: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-8/input2
mai 06 11:54:24 Cockpit kernel: usbcore: registered new interface driver usbhid
mai 06 11:54:24 Cockpit kernel: usbhid: USB HID core driver
mai 06 11:54:24 Cockpit kernel: logitech-djreceiver 0003:046D:C52B.0003: hiddev96,hidraw0: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-8/input2
mai 06 11:54:24 Cockpit kernel: input: Logitech Wireless Device PID:405e Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.2/0003:046D:C52B.0003/0003:046D:405E.0004/input/input9
mai 06 11:54:24 Cockpit kernel: input: Logitech Wireless Device PID:405e Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.2/0003:046D:C52B.0003/0003:046D:405E.0004/input/input10
mai 06 11:54:24 Cockpit kernel: hid-generic 0003:046D:405E.0004: input,hidraw1: USB HID v1.11 Keyboard [Logitech Wireless Device PID:405e] on usb-0000:00:14.0-8/input2:1
mai 06 11:54:24 Cockpit kernel: input: Logitech Wireless Device PID:2010 Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.2/0003:046D:C52B.0003/0003:046D:2010.0005/input/input14
mai 06 11:54:24 Cockpit kernel: hid-generic 0003:046D:2010.0005: input,hidraw2: USB HID v1.11 Keyboard [Logitech Wireless Device PID:2010] on usb-0000:00:14.0-8/input2:2
mai 06 11:54:24 Cockpit kernel: logitech-hidpp-device 0003:046D:405E.0004: HID++ 4.5 device connected.
mai 06 11:54:24 Cockpit kernel: logitech-hidpp-device 0003:046D:405E.0004: hidpp_devicenametype_get_count: received protocol error 0x07
mai 06 11:54:24 Cockpit kernel: input: Logitech Wireless Device PID:405e as /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.2/0003:046D:C52B.0003/0003:046D:405E.0004/input/input18
mai 06 11:54:24 Cockpit kernel: logitech-hidpp-device 0003:046D:405E.0004: input,hidraw1: USB HID v1.11 Keyboard [Logitech Wireless Device PID:405e] on usb-0000:00:14.0-8/input2:1
mai 06 11:54:24 Cockpit kernel: input: Logitech Wireless Device PID:2010 as /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.2/0003:046D:C52B.0003/0003:046D:2010.0005/input/input19
mai 06 11:54:24 Cockpit kernel: logitech-hidpp-device 0003:046D:2010.0005: input,hidraw2: USB HID v1.11 Keyboard [Logitech Wireless Device PID:2010] on usb-0000:00:14.0-8/input2:2

Steps to reproduce:

Just boot and wait.

Next, once booted and remove the unify receiver and plug it again there is a massive lag (~ 1 minute) before that the receiver get ready for the mouse and keyboard to be functional with following errors :

kernel: logitech-hidpp-device 0003:046D:405E.0022: hidpp_devicenametype_get_count: received protocol error 0x07
kernel: logitech-hidpp-device 0003:046D:405E.0023: Couldn't get wheel multiplier (error -110)

Unify receiver with K800 keyboard and M720 Triathlon mouse paired.

The strange thing is that this happen on my desktop computer but no problem on my laptop with a unify receiver and a marathon 705 mouse.

On the desktop the boot is fine without the unify receiver.

Let me know if you need more info.

Thank you.



This task depends upon

Comment by Toolybird (Toolybird) - Saturday, 06 May 2023, 21:51 GMT
This appears to be a kernel regression. The general advice to debug kernel regressions is here [1]. You might have to report it upstream, either to the kernel bugzilla or possibly the linux-input mailing list [2]. Please let us know what you find out.

[1] https://wiki.archlinux.org/title/Kernel#Debugging_regressions
[2] http://vger.kernel.org/vger-lists.html#linux-input
Comment by Guy B (sushi2503) - Sunday, 07 May 2023, 07:39 GMT
Thanks,

I have reported the bug upstream :

https://bugzilla.kernel.org/show_bug.cgi?id=217412
Comment by Guy B (sushi2503) - Sunday, 07 May 2023, 13:33 GMT
New bug report by systemd after the bugzilla.kernel.org answer :

https://github.com/systemd/systemd/issues/27557
Comment by Mark Blakeney (bulletmark) - Monday, 08 May 2023, 05:02 GMT
@Guy B, I have this bug as well since 6.3.1. Where was it suggested to you to raise this as a systemd bug? I don't see it in https://bugzilla.kernel.org/show_bug.cgi?id=217412.
Comment by Guy B (sushi2503) - Monday, 08 May 2023, 07:01 GMT
@ Mark Blakeney, because of the Artem S. Tashkinov's answer : "I can imagine not a lot of people have your HW and run 6.3.1". What does that mean ? As far as I already can see, I'm not the only one.

In the given link from bugzilla.kernel.org (https://docs.kernel.org/admin-guide/bug-bisect.html) they say :

Devices not appearing

Often this is caused by udev/systemd. Check that first before blaming it on the kernel.

That's the reason why.
Comment by Ali Molaei (ali_molaei) - Tuesday, 09 May 2023, 15:10 GMT
I can confirm the issue since 6.3.1, made my boot time increase by 17 seconds
Comment by Ali Molaei (ali_molaei) - Friday, 12 May 2023, 12:45 GMT
Looks like the issue has been resolved in 6.4-rc1

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/diff/drivers/hid/hid-logitech-hidpp.c?id=v6.4-rc1&id2=v6.3

I can confirm installing linux-mainline 6.4rc1-1 on ArchLinux that the issue has been resolved

Loading...