Re: v4.13-rc2: usb mouse stopped working?

2017-07-26 Thread Pavel Machek
Hi!

> > In v4.9:
> > 
> > [   87.064408] input: Logitech USB Optical Mouse as
> > /devices/pci:00/: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-: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/pci:00/: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-: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


signature.asc
Description: Digital signature


Re: v4.13-rc2: usb mouse stopped working?

2017-07-25 Thread Mikael Pettersson
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/pci:00/: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-: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/pci:00/: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-: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


Re: v4.13-rc2: usb mouse stopped working?

2017-07-24 Thread Pavel Machek
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-: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


signature.asc
Description: Digital signature


Re: v4.13-rc2: usb mouse stopped working?

2017-07-24 Thread Jiri Kosina
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/pci:00/: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-: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/pci:00/: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-: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



v4.13-rc2: usb mouse stopped working?

2017-07-24 Thread Pavel Machek
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/pci:00/: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-: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/pci:00/: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-: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


signature.asc
Description: Digital signature