You are not logged in.

#1 2023-05-09 02:34:48

Xezlec
Member
Registered: 2014-11-30
Posts: 41

Mouse not working in 6.3 kernel

Hello,

Today I did a pacman -Syu and (among other things) my kernel was upgraded from 6.2.12 to 6.3.1.  Starting X, I found that moving the mouse did not move the mouse pointer.  Didn't notice anything obvious in the X or kernel logs to explain it.

I downgraded the kernel back to 6.2.12 and rebooted, and the mouse was fine again.

It is an ordinary Logitech M510 wireless mouse.  Even with the 6.3.1 kernel, it showed up in the lsusb listing.

Could this be a kernel bug of some kind?  I'm not sure what I should do next.

Thank you!

Offline

#2 2023-05-09 06:02:04

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: Mouse not working in 6.3 kernel

Does it generate events on
- evtest
- libinput debug-events
(both work in the console)

Didn't notice anything obvious in the X or kernel logs to explain it.

dmesg -w

Unplug the mouse, re-plug it and post the trailing output.
Are there other pointer devices (touchpad, second mouse, …)?

Offline

#3 2023-05-09 08:34:43

astralc
Member
Registered: 2022-09-17
Posts: 64

Re: Mouse not working in 6.3 kernel

I also enounter it with unifying receiver.
Look like kernel regression when I searched:
https://bugzilla.kernel.org/show_bug.cgi?id=217412

Offline

#4 2023-05-09 09:28:37

TomHu
Member
Registered: 2016-01-24
Posts: 9

Re: Mouse not working in 6.3 kernel

Logitech M560 with unifying receiver causes hard system freezes here, with Kernel 6.3.1. Isolated downgrade to 6.2.13-arch1-1 functions properly.

Thinkpad X270.

Last edited by TomHu (2023-05-09 09:29:50)

Offline

#5 2023-05-10 02:35:39

Xezlec
Member
Registered: 2014-11-30
Posts: 41

Re: Mouse not working in 6.3 kernel

Well... that's awfully strange.  I went back to 6.3.1 to try the suggested tests, but weirdly enough, the mouse is now working!  Maybe it was just a weird fluke.

I hesitate to mark [SOLVED] just yet in case the problem comes back.

seth wrote:
dmesg -w

Unplug the mouse, re-plug it and post the trailing output.

I went ahead and tried this anyway in case it is useful.  I unplugged and reinserted it twice in different ports.  Interestingly, the HID++ 4.5 device connected message only appeared the second time.

[  192.331796] usb 3-9: USB disconnect, device number 3
[  196.021789] usb 3-10: new full-speed USB device number 7 using xhci_hcd
[  196.164262] usb 3-10: New USB device found, idVendor=046d, idProduct=c52b, bcdDevice=12.03
[  196.164264] usb 3-10: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  196.164265] usb 3-10: Product: USB Receiver
[  196.164266] usb 3-10: Manufacturer: Logitech
[  196.170828] logitech-djreceiver 0003:046D:C52B.000A: hiddev96,hidraw0: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-10/input2
[  196.291188] input: Logitech Wireless Device PID:4051 as /devices/pci0000:00/0000:00:14.0/usb3/3-10/3-10:1.2/0003:046D:C52B.000A/0003:046D:4051.000B/input/input33
[  196.291299] logitech-hidpp-device 0003:046D:4051.000B: input,hidraw1: USB HID v1.11 Mouse [Logitech Wireless Device PID:4051] on usb-0000:00:14.0-10/input2:1
[  205.219579] usb 3-10: USB disconnect, device number 7
[  208.838675] usb 3-9: new full-speed USB device number 8 using xhci_hcd
[  208.981015] usb 3-9: New USB device found, idVendor=046d, idProduct=c52b, bcdDevice=12.03
[  208.981017] usb 3-9: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  208.981019] usb 3-9: Product: USB Receiver
[  208.981020] usb 3-9: Manufacturer: Logitech
[  208.987404] logitech-djreceiver 0003:046D:C52B.000E: hiddev96,hidraw0: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-9/input2
[  209.109208] input: Logitech Wireless Device PID:4051 as /devices/pci0000:00/0000:00:14.0/usb3/3-9/3-9:1.2/0003:046D:C52B.000E/0003:046D:4051.000F/input/input34
[  209.109330] logitech-hidpp-device 0003:046D:4051.000F: input,hidraw1: USB HID v1.11 Mouse [Logitech Wireless Device PID:4051] on usb-0000:00:14.0-9/input2:1
[  214.837565] logitech-hidpp-device 0003:046D:4051.000F: HID++ 4.5 device connected.

Are there other pointer devices (touchpad, second mouse, …)?

Nope, no others.

Offline

#6 2023-05-10 05:32:45

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: Mouse not working in 6.3 kernel

Possibly a timing condition were the first cycle woke the device but timed out waiting for a handshake.
On the second connect the mouse was already awake and the connection went faster (though there's still a 5s delay between the two logitech-hidpp-device messages)


Reading https://bugzilla.kernel.org/show_bug.cgi?id=217412 it has "hangs (~ 5 seconds)", protocol errors and

Next, once booted and remove the unify receiver and plug it again there is a massive lag (~ 15 seconds) 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)

and 110 is a timeout.

Offline

#7 2023-05-10 05:42:01

travnick
Member
From: Poland
Registered: 2011-04-24
Posts: 75

Re: Mouse not working in 6.3 kernel

Very similar issue here. I have M560 and K360 on separate receivers. After upgrade kernel from 6.2.12 to 6.3.1 I'm hitting kernel panic on mouse wheel scroll - always. The movement and buttons are kind of working but inly if I boot with the receiver plugged in. If I plug receiver after the boot then mouse does nod move.

There "error in parameter" appears on each mouse event - move, pressing a button:

[ 1076.614353] logitech-djreceiver 0003:046D:C52B.000F: hiddev98,hidraw4: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-9/input2
[ 1076.734123] logitech-hidpp-device 0003:046D:402D.0010: error in parameter
[ 1076.736192] logitech-hidpp-device 0003:046D:402D.0010: hidraw5: USB HID v1.11 Keyboard [Logitech Wireless Device PID:402d] on usb-0000:00:14.0-9/input2:1
[ 1087.552230] logitech-hidpp-device 0003:046D:402D.0010: error in parameter
[ 1087.554159] logitech-hidpp-device 0003:046D:402D.0010: error in parameter
[ 1087.562218] logitech-hidpp-device 0003:046D:402D.0010: error in parameter
[ 1087.578141] logitech-hidpp-device 0003:046D:402D.0010: error in parameter
[ 1087.586141] logitech-hidpp-device 0003:046D:402D.0010: error in parameter
[ 1087.594159] logitech-hidpp-device 0003:046D:402D.0010: error in parameter
[ 1087.602137] logitech-hidpp-device 0003:046D:402D.0010: error in parameter
[ 1087.608199] logitech-hidpp-device 0003:046D:402D.0010: error in parameter
[ 1087.616158] logitech-hidpp-device 0003:046D:402D.0010: error in parameter
[ 1087.624157] logitech-hidpp-device 0003:046D:402D.0010: error in parameter
[ 1087.632158] logitech-hidpp-device 0003:046D:402D.0010: error in parameter
[ 1087.640180] logitech-hidpp-device 0003:046D:402D.0010: error in parameter
[ 1087.648138] logitech-hidpp-device 0003:046D:402D.0010: error in parameter
[ 1087.656174] logitech-hidpp-device 0003:046D:402D.0010: error in parameter
[ 1087.664188] logitech-hidpp-device 0003:046D:402D.0010: error in parameter
[ 1087.670172] logitech-hidpp-device 0003:046D:402D.0010: error in parameter
[ 1087.678187] logitech-hidpp-device 0003:046D:402D.0010: error in parameter
[ 1087.686144] logitech-hidpp-device 0003:046D:402D.0010: error in parameter
[ 1087.694138] logitech-hidpp-device 0003:046D:402D.0010: error in parameter
[ 1087.702187] logitech-hidpp-device 0003:046D:402D.0010: error in parameter
[ 1087.710202] logitech-hidpp-device 0003:046D:402D.0010: error in parameter
[ 1087.718187] logitech-hidpp-device 0003:046D:402D.0010: error in parameter
[ 1087.726159] logitech-hidpp-device 0003:046D:402D.0010: error in parameter
[ 1087.734154] logitech-hidpp-device 0003:046D:402D.0010: error in parameter
[ 1087.756185] logitech-hidpp-device 0003:046D:402D.0010: error in parameter
[ 1087.764187] logitech-hidpp-device 0003:046D:402D.0010: error in parameter
[ 1087.772186] logitech-hidpp-device 0003:046D:402D.0010: error in parameter
[ 1087.780187] logitech-hidpp-device 0003:046D:402D.0010: error in parameter
[ 1087.788158] logitech-hidpp-device 0003:046D:402D.0010: error in parameter
[ 1087.796159] logitech-hidpp-device 0003:046D:402D.0010: error in parameter
[ 1087.804147] logitech-hidpp-device 0003:046D:402D.0010: error in parameter
[ 1087.936158] logitech-hidpp-device 0003:046D:402D.0010: error in parameter
[ 1087.952145] logitech-hidpp-device 0003:046D:402D.0010: error in parameter
[ 1091.526187] logitech-hidpp-device 0003:046D:402D.0010: error in parameter
[ 1091.658227] logitech-hidpp-device 0003:046D:402D.0010: error in parameter
[ 1092.118227] logitech-hidpp-device 0003:046D:402D.0010: error in parameter
[ 1092.204196] logitech-hidpp-device 0003:046D:402D.0010: error in parameter
[ 1092.234195] logitech-hidpp-device 0003:046D:402D.0010: error in parameter
[ 1092.242197] logitech-hidpp-device 0003:046D:402D.0010: error in parameter
[ 1092.266186] logitech-hidpp-device 0003:046D:402D.0010: error in parameter
[ 1092.390228] logitech-hidpp-device 0003:046D:402D.0010: error in parameter

I'm seeing this error in parameter with Ligitech M560 mouse for a long time, but since nothing crashed, then I just ignored them (what can I do with it anyway?)

Offline

#8 2023-05-12 02:04:12

Xezlec
Member
Registered: 2014-11-30
Posts: 41

Re: Mouse not working in 6.3 kernel

Alright.  If I encounter it again, I'll try unplugging, replugging, maybe rebooting.  Sounds like it might be the kind of bug I can get around by fiddling with it.

Offline

#9 2023-05-15 02:39:04

cazuza
Member
Registered: 2014-05-04
Posts: 26

Re: Mouse not working in 6.3 kernel

Hey I have the same problem, my laptop freezing while my logitech bluetooth unified receiver is plugged. I found this : https://bugzilla.kernel.org/show_bug.cgi?id=217412

Offline

#10 2023-05-15 20:19:18

loqs
Member
Registered: 2014-03-06
Posts: 17,194

Re: Mouse not working in 6.3 kernel

Does the linked kernel below have the issue
https://drive.google.com/file/d/1aGvV4Z … share_link linux-6.2.r8237.ga5c95ca18a98-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1OFdyZn … share_link linux-headers-6.2.r8237.ga5c95ca18a98-1-x86_64.pkg.tar.zst

Offline

#11 2023-05-16 00:01:11

Xezlec
Member
Registered: 2014-11-30
Posts: 41

Re: Mouse not working in 6.3 kernel

loqs wrote:

Does the linked kernel below have the issue
https://drive.google.com/file/d/1aGvV4Z … share_link linux-6.2.r8237.ga5c95ca18a98-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1OFdyZn … share_link linux-headers-6.2.r8237.ga5c95ca18a98-1-x86_64.pkg.tar.zst

drive.google.com?  I don't want to sound too paranoid or anything, but... it's not one of the kernels on kernel.org?

Also... since the problem may have vanished for me, it would be difficult for me to say with certainty if the problem is NOT present there.

Last edited by Xezlec (2023-05-16 00:02:03)

Offline

#12 2023-05-16 00:49:08

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 649

Re: Mouse not working in 6.3 kernel

loqs wrote:

Does the linked kernel below have the issue

@loqs, that kernel still exhibits the same issue.

Offline

#13 2023-05-16 10:22:44

loqs
Member
Registered: 2014-03-06
Posts: 17,194

Re: Mouse not working in 6.3 kernel

$ git bisect bad
Bisecting: 5053 revisions left to test after this (roughly 12 steps)
[36289a03bcd3aabdf66de75cb6d1b4ee15726438] Merge tag 'v6.3-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6

https://drive.google.com/file/d/1x1XlaS … share_link linux-6.2.r3183.g36289a03bcd3-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1C4A3G8 … share_link linux-headers-6.2.r3183.g36289a03bcd3-1-x86_64.pkg.tar.zst

Offline

#14 2023-05-16 10:26:50

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 649

Re: Mouse not working in 6.3 kernel

I tried to bisect last week. I've done it before (based on your posts some time ago) and identified a faulty commit for a kernel bug but this time I started getting prompted for config settings and I didn't know how to proceed.

Offline

#15 2023-05-16 10:32:14

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 649

Re: Mouse not working in 6.3 kernel

@loqs, that last bisect does fix the issue.

Offline

#16 2023-05-16 10:32:21

loqs
Member
Registered: 2014-03-06
Posts: 17,194

Re: Mouse not working in 6.3 kernel

When prompted for kernel settings hit enter to select the default option.

Offline

#17 2023-05-16 10:35:07

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 649

Re: Mouse not working in 6.3 kernel

loqs wrote:

When prompted for kernel settings hit enter to select the default option.

So for all those many prompts, just continue to hit enter and accept every default?

Offline

#18 2023-05-16 10:52:12

loqs
Member
Registered: 2014-03-06
Posts: 17,194

Re: Mouse not working in 6.3 kernel

bulletmark wrote:
loqs wrote:

When prompted for kernel settings hit enter to select the default option.

So for all those many prompts, just continue to hit enter and accept every default?

Yes.  Although at the first build 6.2 or 6.3 there should be no prompts assuming you are using Arch's config for that release.

$ git bisect good
Bisecting: 2521 revisions left to test after this (roughly 11 steps)
[0175ec3a28c695562a08fdccf73f2ec5ed744e2f] Merge tag 'regulator-v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator

https://drive.google.com/file/d/1EpqedO … share_link linux-6.2.r5715.g0175ec3a28c6-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1vBRnTD … share_link linux-headers-6.2.r5715.g0175ec3a28c6-1-x86_64.pkg.tar.zst

Edit:
Assuming the last bisection is good

$ git bisect good
Bisecting: 1260 revisions left to test after this (roughly 10 steps)
[60b07cf5d3462ec0183d463b43619e98bc63c951] drm/amd/display: Make variables declaration inside ifdef guard

https://drive.google.com/file/d/1efF-eh … share_link linux-6.2rc6.r1261.g60b07cf5d346-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1FBH7Bv … share_link linux-headers-6.2rc6.r1261.g60b07cf5d346-1-x86_64.pkg.tar.zst
Edit:
Fixed link references

Last edited by loqs (2023-05-16 20:54:21)

Offline

#19 2023-05-23 16:11:29

loqs
Member
Registered: 2014-03-06
Posts: 17,194

Re: Mouse not working in 6.3 kernel

Kernel with test patch from Linus https://lore.kernel.org/all/CAHk-%3Dwhv … gmail.com/ applied

https://drive.google.com/file/d/1iAHAQV … share_link linux-6.3.3.arch1-1.2-x86_64.pkg.tar.zst
https://drive.google.com/file/d/17mEm48 … share_link linux-headers-6.3.3.arch1-1.2-x86_64.pkg.tar.zst

Please report on https://bugzilla.kernel.org/show_bug.cgi?id=217412 if this kernel is better,  worse or no chance.

Offline

#20 2023-06-14 22:50:02

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 649

Re: Mouse not working in 6.3 kernel

I wrote this on the kernel bugzilla but will repeat it here:

Kernel 6.3.7 adds the 2 patches intended to fix this bug and the startup delay is now gone. However, I have had 2 cases over the last 5 days in which I have been running 6.3.7 where my mouse fails to be detected at all after startup. I have to pull the Logitech receiver out/in to get the mouse working. Never seen this issue before so I suspect the patches are not right.

Offline

Board footer

Powered by FluxBB