[PATCH] 3.5.0 regression: usbhid doesn't call report_fixup before comparing descriptors after resume
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I have a Apple usb keyboard and a logitech usb mouse both plugged into my laptop. When I resume after suspending the system the usb keyboard works but the usb mouse does not. Unplugging the mouse and plugging it back in is required after every system suspend/resume.
I have only noticed this problem since the upgrade to quantal beta.
I have included whatever I thought might be helpful (lsusb and demsg output), but if more is needed please let me know and I will add it.
lsb_release -rd
Description: Ubuntu quantal (development branch)
Release: 12.10
Here is the output of lsusb:
Bus 001 Device 002: ID 05a9:2640 OmniVision Technologies, Inc. OV2640 Webcam
Bus 002 Device 003: ID 05ac:1006 Apple, Inc. Hub in Aluminum Keyboard
Bus 003 Device 002: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader
Bus 005 Device 005: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 004: ID 05ac:0220 Apple, Inc. Aluminum Keyboard (ANSI)
And this is the output of dmesg. At the end you can see several lines generated from me unplugging/
[20677.013684] sky2 0000:09:00.0: eth0: disabling interface
[20677.221566] wlan0: deauthenticating from 08:76:ff:4f:25:f8 by local choice (reason=3)
[20677.256246] cfg80211: All devices are disconnected, going to restore regulatory settings
[20677.256259] cfg80211: Restoring regulatory settings
[20677.256279] cfg80211: Calling CRDA to update world regulatory domain
[20677.270664] cfg80211: Ignoring regulatory request Set by core since the driver uses its own custom regulatory domain
[20677.270668] cfg80211: World regulatory domain updated:
[20677.270670] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[20677.270672] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[20677.270675] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[20677.270677] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[20677.270679] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[20677.270681] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[20678.390876] init: anacron main process (11742) killed by TERM signal
[20679.739867] PM: Syncing filesystems ... done.
[20679.755635] PM: Preparing system for mem sleep
[20679.755652] Freezing user space processes ... (elapsed 0.01 seconds) done.
[20679.772135] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
[20679.788182] PM: Entering mem sleep
[20679.788195] Suspending console(s) (use no_console_suspend to debug)
[20679.789092] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[20679.790093] sd 0:0:0:0: [sda] Stopping disk
[20680.004035] PM: suspend of drv:snd_hda_intel dev:0000:00:1b.0 complete after 183.745 msecs
[20680.004050] PM: suspend of drv: dev:pci0000:00 complete after 183.587 msecs
[20680.004065] PM: suspend of devices complete after 215.528 msecs
[20680.004067] PM: suspend devices took 0.216 seconds
[20680.004350] PM: late suspend of devices complete after 0.280 msecs
[20680.211776] ehci_hcd 0000:00:1d.7: wake-up capability enabled by ACPI
[20680.226852] uhci_hcd 0000:00:1d.2: wake-up capability enabled by ACPI
[20680.229891] uhci_hcd 0000:00:1d.1: wake-up capability enabled by ACPI
[20680.232625] uhci_hcd 0000:00:1d.0: wake-up capability enabled by ACPI
[20680.235624] ehci_hcd 0000:00:1a.7: wake-up capability enabled by ACPI
[20680.251078] uhci_hcd 0000:00:1a.1: wake-up capability enabled by ACPI
[20680.253723] uhci_hcd 0000:00:1a.0: wake-up capability enabled by ACPI
[20680.254219] PM: noirq suspend of devices complete after 249.868 msecs
[20680.254611] ACPI: Preparing to enter system sleep state S3
[20680.261870] PM: Saving platform NVS memory
[20680.261872] Disabling non-boot CPUs ...
[20680.364022] CPU 1 is now offline
[20680.364547] Extended CMOS year: 2000
[20680.364547] ACPI: Low-level resume complete
[20680.364547] PM: Restoring platform NVS memory
[20680.364547] Extended CMOS year: 2000
[20680.364547] Enabling non-boot CPUs ...
[20680.364547] Booting Node 0 Processor 1 APIC 0x1
[20680.380078] CPU1 is up
[20680.381982] ACPI: Waking up from system sleep state S3
[20680.391627] uhci_hcd 0000:00:1a.0: wake-up capability disabled by ACPI
[20680.394164] uhci_hcd 0000:00:1a.1: wake-up capability disabled by ACPI
[20680.396066] ehci_hcd 0000:00:1a.7: wake-up capability disabled by ACPI
[20680.398742] uhci_hcd 0000:00:1d.0: wake-up capability disabled by ACPI
[20680.400561] uhci_hcd 0000:00:1d.1: wake-up capability disabled by ACPI
[20680.402646] uhci_hcd 0000:00:1d.2: wake-up capability disabled by ACPI
[20680.404811] ehci_hcd 0000:00:1d.7: wake-up capability disabled by ACPI
[20680.406226] firewire_ohci 0000:03:09.0: proprietary Ricoh MMC controller disabled (via firewire function)
[20680.406228] firewire_ohci 0000:03:09.0: MMC cards are now supported by standard SDHCI controller
[20680.407576] PM: noirq resume of devices complete after 18.878 msecs
[20680.408628] PM: early resume of devices complete after 1.002 msecs
[20680.410176] uhci_hcd 0000:00:1a.0: setting latency timer to 64
[20680.410205] usb usb3: root hub lost power or was reset
[20680.410375] uhci_hcd 0000:00:1a.1: setting latency timer to 64
[20680.410407] usb usb4: root hub lost power or was reset
[20680.410538] iwl4965 0000:0b:00.0: RF_KILL bit toggled to enable radio.
[20680.410540] ehci_hcd 0000:00:1a.7: setting latency timer to 64
[20680.410585] uhci_hcd 0000:00:1d.0: setting latency timer to 64
[20680.410615] usb usb5: root hub lost power or was reset
[20680.410644] uhci_hcd 0000:00:1d.1: setting latency timer to 64
[20680.410679] usb usb6: root hub lost power or was reset
[20680.410709] uhci_hcd 0000:00:1d.2: setting latency timer to 64
[20680.410755] usb usb7: root hub lost power or was reset
[20680.410801] ehci_hcd 0000:00:1d.7: setting latency timer to 64
[20680.410832] pci 0000:00:1e.0: setting latency timer to 64
[20680.410959] snd_hda_intel 0000:00:1b.0: irq 47 for MSI/MSI-X
[20680.411058] ata_piix 0000:00:1f.1: setting latency timer to 64
[20680.411073] ahci 0000:00:1f.2: setting latency timer to 64
[20680.411369] ata4.00: _GTF evaluation failed (AE 0x1001)
[20680.411531] ata5: port disabled--ignoring
[20680.648278] PM: resume of drv:hub dev:4-0:1.0 complete after 236.497 msecs
[20680.648286] PM: resume of drv: dev:ep_00 complete after 236.469 msecs
[20680.648291] PM: resume of drv:hub dev:6-0:1.0 complete after 236.326 msecs
[20680.648297] PM: resume of drv: dev:ep_00 complete after 236.179 msecs
[20680.648302] PM: resume of drv:hub dev:7-0:1.0 complete after 236.132 msecs
[20680.648308] PM: resume of drv: dev:ep_00 complete after 236.095 msecs
[20680.648313] PM: resume of drv: dev:ep_81 complete after 236.515 msecs
[20680.648318] PM: resume of drv: dev:ep_81 complete after 236.336 msecs
[20680.648323] PM: resume of drv: dev:ep_81 complete after 236.132 msecs
[20680.661224] PM: resume of drv: dev:ep_00 complete after 248.703 msecs
[20680.661260] PM: resume of drv:usb dev:2-3.2 complete after 248.596 msecs
[20680.661275] PM: resume of drv:hub dev:2-3:1.0 complete after 248.801 msecs
[20680.661286] PM: resume of drv: dev:ep_81 complete after 248.791 msecs
[20680.709065] PM: resume of drv:usbhid dev:2-3.2:1.1 complete after 296.337 msecs
[20680.709072] PM: resume of drv: dev:ep_82 complete after 296.323 msecs
[20680.709082] PM: resume of drv: dev:ep_00 complete after 296.315 msecs
[20680.709090] PM: resume of drv:usbhid dev:2-3.2:1.0 complete after 296.405 msecs
[20680.709100] PM: resume of drv: dev:ep_81 complete after 296.394 msecs
[20680.749329] PM: resume of drv: dev:ep_00 complete after 337.602 msecs
[20680.749371] PM: resume of drv:usb dev:3-2 complete after 336.832 msecs
[20680.749377] PM: resume of drv:hub dev:3-0:1.0 complete after 337.694 msecs
[20680.749387] PM: resume of drv: dev:ep_81 complete after 337.682 msecs
[20680.749423] PM: resume of drv: dev:ep_00 complete after 337.511 msecs
[20680.749436] PM: resume of drv:usb dev:5-2 complete after 336.648 msecs
[20680.749492] PM: resume of drv:hub dev:5-0:1.0 complete after 337.623 msecs
[20680.749505] PM: resume of drv: dev:ep_81 complete after 337.614 msecs
[20680.756159] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[20680.756263] ata3: SATA link down (SStatus 0 SControl 300)
[20680.768079] PM: resume of drv: dev:ep_00 complete after 356.481 msecs
[20680.768126] PM: resume of drv:usb dev:1-1 complete after 355.775 msecs
[20680.768143] PM: resume of drv:hub dev:1-0:1.0 complete after 356.558 msecs
[20680.768156] PM: resume of drv: dev:ep_81 complete after 356.565 msecs
[20680.772522] PM: resume of drv:scsi dev:host2 complete after 361.214 msecs
[20680.772554] PM: resume of drv:scsi_host dev:host2 complete after 361.206 msecs
[20680.825019] ata4.00: configured for UDMA/33
[20680.827972] PM: resume of drv:scsi dev:host3 complete after 416.428 msecs
[20680.827983] PM: resume of drv:scsi dev:target3:0:0 complete after 415.691 msecs
[20680.827993] PM: resume of drv:sr dev:3:0:0:0 complete after 415.682 msecs
[20680.828028] PM: resume of drv:scsi_device dev:3:0:0:0 complete after 415.696 msecs
[20680.828046] PM: resume of drv:scsi_host dev:host3 complete after 416.493 msecs
[20681.008052] usb 5-2: reset low-speed USB device number 4 using uhci_hcd
[20681.125199] ata1.00: configured for UDMA/133
[20681.128099] firewire_core 0000:03:09.0: rediscovered device fw0
[20681.140231] PM: resume of drv:ata_port dev:ata1 complete after 484.857 msecs
[20681.147816] PM: resume of drv:scsi dev:host0 complete after 736.751 msecs
[20681.147827] PM: resume of drv:scsi dev:target0:0:0 complete after 735.599 msecs
[20681.147835] PM: resume of drv:sd dev:0:0:0:0 complete after 735.586 msecs
[20681.147838] sd 0:0:0:0: [sda] Starting disk
[20681.147851] PM: resume of drv:scsi_host dev:host0 complete after 736.719 msecs
[20681.148062] PM: resume of drv:scsi_device dev:0:0:0:0 complete after 735.791 msecs
[20681.355475] usbhid 5-2:1.1: reset_resume error 1
[20681.355490] PM: resume of drv:usbhid dev:5-2:1.1 complete after 942.640 msecs
[20681.355498] PM: resume of drv: dev:ep_82 complete after 942.630 msecs
[20681.355509] PM: resume of drv: dev:ep_00 complete after 942.620 msecs
[20681.355521] PM: resume of drv:usbhid dev:5-2:1.0 complete after 942.715 msecs
[20681.355534] PM: resume of drv: dev:ep_81 complete after 942.703 msecs
[20681.408077] usb 3-2: reset full-speed USB device number 2 using uhci_hcd
[20681.613109] PM: resume of drv: dev:ep_00 complete after 1200.465 msecs
[20681.613116] PM: resume of drv:usb dev:3-2:1.0 complete after 1200.553 msecs
[20681.613132] PM: resume of drv: dev:ep_02 complete after 1200.529 msecs
[20681.613135] PM: resume of drv: dev:ep_81 complete after 1200.551 msecs
[20681.613140] PM: resume of drv: dev:ep_83 complete after 1200.515 msecs
[20681.712091] usb 1-1: reset high-speed USB device number 2 using ehci_hcd
[20681.879932] PM: resume of drv: dev:ep_00 complete after 1467.495 msecs
[20681.879949] PM: resume of drv:uvcvideo dev:1-1:1.1 complete after 1467.534 msecs
[20681.879953] PM: resume of drv:uvcvideo dev:1-1:1.0 complete after 1467.577 msecs
[20681.879983] PM: resume of drv: dev:ep_83 complete after 1467.589 msecs
[20681.879986] PM: resume of drv:video4linux dev:video0 complete after 333.435 msecs
[20681.880237] PM: resume of devices complete after 1471.606 msecs
[20681.880468] PM: resume devices took 1.472 seconds
[20681.880541] PM: Finishing wakeup.
[20681.880542] Restarting tasks ... done.
[20681.917522] video LNXVIDEO:00: Restoring backlight state
[20682.252540] sky2 0000:09:00.0: eth0: enabling interface
[20682.253483] IPv6: ADDRCONF(
[20682.512685] IPv6: ADDRCONF(
[20686.121616] wlan0: authenticate with 08:76:ff:4f:25:f8
[20686.133054] wlan0: send auth to 08:76:ff:4f:25:f8 (try 1/3)
[20686.135144] wlan0: authenticated
[20686.139976] wlan0: associating with AP with corrupt beacon
[20686.140060] wlan0: associate with 08:76:ff:4f:25:f8 (try 1/3)
[20686.148779] wlan0: RX AssocResp from 08:76:ff:4f:25:f8 (capab=0x411 status=0 aid=1)
[20686.181711] wlan0: associated
[20686.182373] IPv6: ADDRCONF(
[20728.736260] usb 5-2: USB disconnect, device number 4
[20731.584196] usb 5-2: new low-speed USB device number 5 using uhci_hcd
[20731.761349] usb 5-2: New USB device found, idVendor=046d, idProduct=c517
[20731.761361] usb 5-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[20731.761368] usb 5-2: Product: USB Receiver
[20731.761374] usb 5-2: Manufacturer: Logitech
[20731.779134] input: Logitech USB Receiver as /devices/
[20731.779441] logitech 0003:046D:
[20731.810509] logitech 0003:046D:
[20731.812782] input: Logitech USB Receiver as /devices/
[20731.813184] logitech 0003:046D:
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.
To change the source package that this bug is filed about visit https:/ /bugs.launchpad .net/ubuntu/ +bug/1049623/ +editstatus and add the package name in the text box next to the word Package.
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]