linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* v4.13-rc2: usb mouse stopped working?
@ 2017-07-24 20:00 Pavel Machek
  2017-07-24 20:06 ` Jiri Kosina
  0 siblings, 1 reply; 5+ messages in thread
From: Pavel Machek @ 2017-07-24 20:00 UTC (permalink / raw)
  To: linux-usb, linux-input, kernel list; +Cc: jikos

[-- Attachment #1: Type: text/plain, Size: 1488 bytes --]

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


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

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: v4.13-rc2: usb mouse stopped working?
  2017-07-24 20:00 v4.13-rc2: usb mouse stopped working? Pavel Machek
@ 2017-07-24 20:06 ` Jiri Kosina
  2017-07-24 20:29   ` Pavel Machek
                     ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Jiri Kosina @ 2017-07-24 20:06 UTC (permalink / raw)
  To: Pavel Machek; +Cc: linux-usb, linux-input, kernel list

On Mon, 24 Jul 2017, Pavel Machek wrote:

> 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 ...

> 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

... 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,

-- 
Jiri Kosina
SUSE Labs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: v4.13-rc2: usb mouse stopped working?
  2017-07-24 20:06 ` Jiri Kosina
@ 2017-07-24 20:29   ` Pavel Machek
  2017-07-25  8:54   ` Mikael Pettersson
  2017-07-26 11:03   ` Pavel Machek
  2 siblings, 0 replies; 5+ messages in thread
From: Pavel Machek @ 2017-07-24 20:29 UTC (permalink / raw)
  To: Jiri Kosina; +Cc: linux-usb, linux-input, kernel list

[-- Attachment #1: Type: text/plain, Size: 1181 bytes --]

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.
> 
> Well, your particular USB mouse requires an always-poll quirk, so it's not 
> *that* common; therefore ...

Aha, was not aware of that brokennes.

> > [   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

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

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: v4.13-rc2: usb mouse stopped working?
  2017-07-24 20:06 ` Jiri Kosina
  2017-07-24 20:29   ` Pavel Machek
@ 2017-07-25  8:54   ` Mikael Pettersson
  2017-07-26 11:03   ` Pavel Machek
  2 siblings, 0 replies; 5+ messages in thread
From: Mikael Pettersson @ 2017-07-25  8:54 UTC (permalink / raw)
  To: Jiri Kosina; +Cc: Pavel Machek, linux-usb, linux-input, kernel list

Jiri Kosina writes:
 > On Mon, 24 Jul 2017, Pavel Machek wrote:
 > 
 > > 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 ...
 > 
 > > 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
 > 
 > ... 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: v4.13-rc2: usb mouse stopped working?
  2017-07-24 20:06 ` Jiri Kosina
  2017-07-24 20:29   ` Pavel Machek
  2017-07-25  8:54   ` Mikael Pettersson
@ 2017-07-26 11:03   ` Pavel Machek
  2 siblings, 0 replies; 5+ messages in thread
From: Pavel Machek @ 2017-07-26 11:03 UTC (permalink / raw)
  To: Jiri Kosina; +Cc: linux-usb, linux-input, kernel list

[-- Attachment #1: Type: text/plain, Size: 1679 bytes --]

Hi!

> > 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
> 
> ... 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

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

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-07-26 11:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-24 20:00 v4.13-rc2: usb mouse stopped working? Pavel Machek
2017-07-24 20:06 ` Jiri Kosina
2017-07-24 20:29   ` Pavel Machek
2017-07-25  8:54   ` Mikael Pettersson
2017-07-26 11:03   ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).