Skip to contentSkip to conversation

v4.13-rc2: usb mouse stopped working?

DISCUSSION Pavel Machek 3 participants 5 messages Jul 24, 2017 – Jul 26, 2017 HID

lore
Share & tools
lore
#0 lore raw

Hi!

On thinkpad x220, USB mouse stopped working in v4.13-rc2. v4.12 was ok, iirc.

Now, USB mouse is so common hw that I may have something wrong in my config...? But I did not change anything there.

In v4.9:

[   87.064408] input: Logitech USB Optical Mouse as
/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1.1/2-1.1.1.1/2-1.1.1.1:1.0/0003:046D:C05A.0005/input/input18
[   87.065951] hid-generic 0003:046D:C05A.0005: input,hidraw0: USB HID

v1.11 Mouse [Logitech USB Optical Mouse] on
usb-0000:00:1d.0-1.1.1.1/input0
pavel@duo:~$

v4.13-rc2:

[   87.886810] usb 2-1.1.1.1: new low-speed USB device number 10 using ehci-pci
[   88.019543] usb 2-1.1.1.1: New USB device found, idVendor=046d, idProduct=c05a
[   88.019561] usb 2-1.1.1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   88.019572] usb 2-1.1.1.1: Product: USB Optical Mouse
[   88.019581] usb 2-1.1.1.1: Manufacturer: Logitech
[   88.027276] input: Logitech USB Optical Mouse as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1.1/2-1.1.1.1/2-1.1.1.1:1.0/0003:046D:C05A.0005/input/input18
[   88.027825] hid-generic 0003:046D:C05A.0005: input,hidraw1: USB HID

v1.11 Mouse [Logitech USB Optical Mouse] on
usb-0000:00:1d.0-1.1.1.1/input0
...

Any ideas?

Did something change in Kconfig and I answered wrong?

Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
maintainer
#1 lore raw
Quoted 5 lines · Pavel Machek

On thinkpad x220, USB mouse stopped working in v4.13-rc2. v4.12 was ok, iirc.

Now, USB mouse is so common hw that I may have something wrong in my config...? But I did not change anything there.

Well, your particular USB mouse requires an always-poll quirk, so it's not *that* common; therefore ...

Quoted 18 lines

In v4.9:

[   87.064408] input: Logitech USB Optical Mouse as
/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1.1/2-1.1.1.1/2-1.1.1.1:1.0/0003:046D:C05A.0005/input/input18
[   87.065951] hid-generic 0003:046D:C05A.0005: input,hidraw0: USB HID

v1.11 Mouse [Logitech USB Optical Mouse] on
usb-0000:00:1d.0-1.1.1.1/input0
pavel@duo:~$

v4.13-rc2:

[   87.886810] usb 2-1.1.1.1: new low-speed USB device number 10 using ehci-pci
[   88.019543] usb 2-1.1.1.1: New USB device found, idVendor=046d, idProduct=c05a
[   88.019561] usb 2-1.1.1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   88.019572] usb 2-1.1.1.1: Product: USB Optical Mouse
[   88.019581] usb 2-1.1.1.1: Manufacturer: Logitech
[   88.027276] input: Logitech USB Optical Mouse as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1.1/2-1.1.1.1/2-1.1.1.1:1.0/0003:046D:C05A.0005/input/input18
[   88.027825] hid-generic 0003:046D:C05A.0005: input,hidraw1: USB HID
Quoted 2 lines

v1.11 Mouse [Logitech USB Optical Mouse] on
usb-0000:00:1d.0-1.1.1.1/input0

... this is most likely caused by e399396a6b0, and fix for that is queued in hid.git as cf601774c9f ("HID: usbhid: fix "always poll" quirk"); I'm planning to send it to Linus' tomorrow, but if you can double-check that it does fix your issue as well, that'd be appreciated.

Thanks,

Signature · 2 lines
Jiri Kosina
SUSE Labs
#2 lore raw

Hi!

Quoted 8 lines
Quoted 5 lines

On thinkpad x220, USB mouse stopped working in v4.13-rc2. v4.12 was ok, iirc.

Now, USB mouse is so common hw that I may have something wrong in my config...? But I did not change anything there.

Well, your particular USB mouse requires an always-poll quirk, so it's not *that* common; therefore ...

Aha, was not aware of that brokennes.

Quoted 8 lines
Quoted 3 lines
[   88.027825] hid-generic 0003:046D:C05A.0005: input,hidraw1: USB HID

v1.11 Mouse [Logitech USB Optical Mouse] on
usb-0000:00:1d.0-1.1.1.1/input0

... this is most likely caused by e399396a6b0, and fix for that is queued in hid.git as cf601774c9f ("HID: usbhid: fix "always poll" quirk"); I'm planning to send it to Linus' tomorrow, but if you can double-check that it does fix your issue as well, that'd be appreciated.

Thanks for very quick reply. You saved me from some debugging.

I guess I can wait for tommorows' pull. Should be sleeping not debugging kernels at the moment.

Best regards,
Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#3 lore raw
In reply to Jiri Kosina
Quoted 32 lines · Jiri Kosina
Quoted 5 lines · Pavel Machek

On thinkpad x220, USB mouse stopped working in v4.13-rc2. v4.12 was ok, iirc.

Now, USB mouse is so common hw that I may have something wrong in my config...? But I did not change anything there.

Well, your particular USB mouse requires an always-poll quirk, so it's not *that* common; therefore ...

Quoted 18 lines

In v4.9:

[   87.064408] input: Logitech USB Optical Mouse as
/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1.1/2-1.1.1.1/2-1.1.1.1:1.0/0003:046D:C05A.0005/input/input18
[   87.065951] hid-generic 0003:046D:C05A.0005: input,hidraw0: USB HID

v1.11 Mouse [Logitech USB Optical Mouse] on
usb-0000:00:1d.0-1.1.1.1/input0
pavel@duo:~$

v4.13-rc2:

[   87.886810] usb 2-1.1.1.1: new low-speed USB device number 10 using ehci-pci
[   88.019543] usb 2-1.1.1.1: New USB device found, idVendor=046d, idProduct=c05a
[   88.019561] usb 2-1.1.1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   88.019572] usb 2-1.1.1.1: Product: USB Optical Mouse
[   88.019581] usb 2-1.1.1.1: Manufacturer: Logitech
[   88.027276] input: Logitech USB Optical Mouse as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1.1/2-1.1.1.1/2-1.1.1.1:1.0/0003:046D:C05A.0005/input/input18
[   88.027825] hid-generic 0003:046D:C05A.0005: input,hidraw1: USB HID
Quoted 2 lines

v1.11 Mouse [Logitech USB Optical Mouse] on
usb-0000:00:1d.0-1.1.1.1/input0

Quoted 4 lines

... this is most likely caused by e399396a6b0, and fix for that is queued in hid.git as cf601774c9f ("HID: usbhid: fix "always poll" quirk"); I'm planning to send it to Linus' tomorrow, but if you can double-check that it does fix your issue as well, that'd be appreciated.

I had a similar problem (a Logitech USB Optical Mouse being completely dead with 4.13-rc[12]), and cf601774c9f fixed it.

/Mikael
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw
In reply to Jiri Kosina

Hi!

Quoted 21 lines
Quoted 18 lines

In v4.9:

[   87.064408] input: Logitech USB Optical Mouse as
/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1.1/2-1.1.1.1/2-1.1.1.1:1.0/0003:046D:C05A.0005/input/input18
[   87.065951] hid-generic 0003:046D:C05A.0005: input,hidraw0: USB HID

v1.11 Mouse [Logitech USB Optical Mouse] on
usb-0000:00:1d.0-1.1.1.1/input0
pavel@duo:~$

v4.13-rc2:

[   87.886810] usb 2-1.1.1.1: new low-speed USB device number 10 using ehci-pci
[   88.019543] usb 2-1.1.1.1: New USB device found, idVendor=046d, idProduct=c05a
[   88.019561] usb 2-1.1.1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   88.019572] usb 2-1.1.1.1: Product: USB Optical Mouse
[   88.019581] usb 2-1.1.1.1: Manufacturer: Logitech
[   88.027276] input: Logitech USB Optical Mouse as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1.1/2-1.1.1.1/2-1.1.1.1:1.0/0003:046D:C05A.0005/input/input18
[   88.027825] hid-generic 0003:046D:C05A.0005: input,hidraw1: USB HID
Quoted 2 lines

v1.11 Mouse [Logitech USB Optical Mouse] on
usb-0000:00:1d.0-1.1.1.1/input0

Quoted 4 lines

... this is most likely caused by e399396a6b0, and fix for that is queued in hid.git as cf601774c9f ("HID: usbhid: fix "always poll" quirk"); I'm planning to send it to Linus' tomorrow, but if you can double-check that it does fix your issue as well, that'd be appreciated.

I pulled newer git, and now it seems to work. Thanks! (Tested with same mouse but different PC).
Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html