I've edited hid_post_reset to behave as I suggested above and tested with my modified usbhid.ko. This fixes the problem for me; after resume, the mouse responds normally. New dmesg output below. Patch attached.
> dmesg|egrep -e 'usb(hid)? ?5' -e 'usb.*dev:5' [ 0.252595] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001 [ 0.252596] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.252598] usb usb5: Product: UHCI Host Controller [ 0.252599] usb usb5: Manufacturer: Linux 3.5.0-14-generic uhci_hcd [ 0.252601] usb usb5: SerialNumber: 0000:00:1a.2 [ 0.870586] usb 5-1: new low-speed USB device number 2 using uhci_hcd [ 1.049605] usb 5-1: New USB device found, idVendor=046d, idProduct=c517 [ 1.049608] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 1.049611] usb 5-1: Product: USB Receiver [ 1.049613] usb 5-1: Manufacturer: Logitech [ 15.291430] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:1a.2/usb5/5-1/5-1:1.0/input/input10 [ 15.292733] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:1a.2/usb5/5-1/5-1:1.1/input/input11 [ 110.520777] usb usb5: root hub lost power or was reset [ 110.744034] PM: resume of drv:usb dev:5-1 complete after 221.048 msecs [ 111.004034] usb 5-1: reset low-speed USB device number 2 using uhci_hcd [ 111.354225] PM: resume of drv:usbhid dev:5-1:1.0 complete after 831.226 msecs [ 111.354230] PM: resume of drv:usbhid dev:5-1:1.1 complete after 831.208 msecs ** Patch added: "Patch to drivers/hid/usbhid/hid-core.c" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1049623/+attachment/3311644/+files/fixup-after-resume.patch ** Summary changed: - Usb mouse not working after resume + [PATCH] 3.5.0 regression: usbhid doesn't call report_fixup before comparing descriptors after resume -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1049623 Title: [PATCH] 3.5.0 regression: usbhid doesn't call report_fixup before comparing descriptors after resume To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1049623/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
