Bug#678215: linux-image-3.2.0-2-: USB mouse not recognized after resuming from suspend to RAM
Package: linux-image-3.2.0-2-686-pae
Version: 3.2.20-1
Severity: important
Dear Debian folks,
after replacing a broken PS/2 mouse, which worked fine before that, with
an USB mouse
$ lsusb # output from after the resume and replugged
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 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 002 Device 004: ID 046d:c30f Logitech, Inc. Logicool HID-Compliant Keyboard (106 key)
Bus 002 Device 003: ID 058f:9254 Alcor Micro Corp. Hub
Bus 003 Device 003: ID 1241:1122 Belkin Typhoon Stream Optical Mouse USB+PS/2
the mouse is not working after resuming from suspend to RAM. Replugging
the mouse works although that is quite inconvenient.
$ dmesg | grep -i usb
[ 1.526486] usbcore: registered new interface driver usbfs
[ 1.526515] usbcore: registered new interface driver hub
[ 1.531004] usbcore: registered new device driver usb
[ 1.531600] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.531688] ehci_hcd 0000:00:13.5: new USB bus registered, assigned bus number 1
[ 1.531720] ehci_hcd 0000:00:13.5: applying AMD SB600/SB700 USB freeze workaround
[ 1.540144] ehci_hcd 0000:00:13.5: USB 2.0 started, EHCI 1.00
[ 1.540202] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.540205] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.540208] usb usb1: Product: EHCI Host Controller
[ 1.540210] usb usb1: Manufacturer: Linux 3.2.0-2-686-pae ehci_hcd
[ 1.540213] usb usb1: SerialNumber: 0000:00:13.5
[ 1.540349] hub 1-0:1.0: USB hub found
[ 1.540878] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.540939] ohci_hcd 0000:00:13.0: new USB bus registered, assigned bus number 2
[ 1.600050] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.600056] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.600059] usb usb2: Product: OHCI Host Controller
[ 1.600062] usb usb2: Manufacturer: Linux 3.2.0-2-686-pae ohci_hcd
[ 1.600064] usb usb2: SerialNumber: 0000:00:13.0
[ 1.600228] hub 2-0:1.0: USB hub found
[ 1.603453] ohci_hcd 0000:00:13.1: new USB bus registered, assigned bus number 3
[ 1.660039] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.660042] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.660045] usb usb3: Product: OHCI Host Controller
[ 1.660047] usb usb3: Manufacturer: Linux 3.2.0-2-686-pae ohci_hcd
[ 1.660050] usb usb3: SerialNumber: 0000:00:13.1
[ 1.660210] hub 3-0:1.0: USB hub found
[ 1.660571] ohci_hcd 0000:00:13.2: new USB bus registered, assigned bus number 4
[ 1.720027] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.720031] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.720034] usb usb4: Product: OHCI Host Controller
[ 1.720036] usb usb4: Manufacturer: Linux 3.2.0-2-686-pae ohci_hcd
[ 1.720039] usb usb4: SerialNumber: 0000:00:13.2
[ 1.720200] hub 4-0:1.0: USB hub found
[ 1.720309] ohci_hcd 0000:00:13.3: new USB bus registered, assigned bus number 5
[ 1.780066] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.780069] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.780072] usb usb5: Product: OHCI Host Controller
[ 1.780074] usb usb5: Manufacturer: Linux 3.2.0-2-686-pae ohci_hcd
[ 1.780076] usb usb5: SerialNumber: 0000:00:13.3
[ 1.780246] hub 5-0:1.0: USB hub found
[ 1.780584] ohci_hcd 0000:00:13.4: new USB bus registered, assigned bus number 6
[ 1.840051] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.840054] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.840057] usb usb6: Product: OHCI Host Controller
[ 1.840059] usb usb6: Manufacturer: Linux 3.2.0-2-686-pae ohci_hcd
[ 1.840062] usb usb6: SerialNumber: 0000:00:13.4
[ 1.840220] hub 6-0:1.0: USB hub found
[ 2.228017] usb 2-1: new low-speed USB device number 2 using ohci_hcd
[ 2.401061] usb 2-1: New USB device found, idVendor=046d, idProduct=c30f
[ 2.401066] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.401070] usb 2-1: Product: Logitech USB Keyboard
[ 2.401072] usb 2-1: Manufacturer: Logitech
[ 2.412420] input: Logitech Logitech USB Keyboard as /devices/pci0000:00/0000:00:13.0/usb2/2-1/2-1:1.0/input/input0
[ 2.412556] generic-usb 0003:046D:C30F.0001: input,hidraw0: USB HID v1.10 Keyboard [Logitech Logitech USB Keyboard] on usb-0000:00:13.0-1/input0
[ 2.425234] input: Logitech Logitech USB Keyboard as /devices/pci0000:00/0000:00:13.0/usb2/2-1/2-1:1.1/input/input1
[ 2.425360] generic-usb 0003:046D:C30F.0002: input,hidraw1: USB HID v1.10 Device [Logitech Logitech USB Keyboard] on usb-0000:00:13.0-1/input1
[ 2.425388] usbcore: registered new interface driver usbhid
[ 2.425391] usbhid: USB HID core driver
[ 2.664032] usb 2-2: new full-speed USB device number 3 using ohci_hcd
[ 2.831057] usb 2-2: New USB device found, idVendor=058f, idProduct=9254
[ 2.831063] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.831066] usb 2-2: Product: Generic USB Hub
[ 2.831068] usb 2-2: Manufacturer: ALCOR
[ 2.833098] hub 2-2:1.0: USB hub found
[ 3.108025] usb 3-1: new low-speed USB device number 2 using ohci_hcd
[ 3.273061] usb 3-1: New USB device found, idVendor=1241, idProduct=1122
[ 3.273066] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3.282359] input: HID 1241:1122 as /devices/pci0000:00/0000:00:13.1/usb3/3-1/3-1:1.0/input/input2
[ 3.282472] generic-usb 0003:1241:1122.0003: input,hidraw2: USB HID v1.00 Mouse [HID 1241:1122] on usb-0000:00:13.1-1/input0
Now the system is resuming after `sudo pm-suspend`.
[12498.968042] usb 2-2: reset full-speed USB device number 3 using ohci_hcd
[12512.152050] usb 2-1: USB disconnect, device number 2
[12512.544068] usb 3-1: USB disconnect, device number 2
Could the above disconnect be the problem here?
[12512.968046] usb 2-1: new low-speed USB device number 4 using ohci_hcd
[12513.143894] usb 2-1: New USB device found, idVendor=046d, idProduct=c30f
[12513.143901] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[12513.143905] usb 2-1: Product: Logitech USB Keyboard
[12513.143908] usb 2-1: Manufacturer: Logitech
[12513.157357] input: Logitech Logitech USB Keyboard as /devices/pci0000:00/0000:00:13.0/usb2/2-1/2-1:1.0/input/input5
[12513.157747] generic-usb 0003:046D:C30F.0004: input,hidraw0: USB HID v1.10 Keyboard [Logitech Logitech USB Keyboard] on usb-0000:00:13.0-1/input0
[12513.170016] input: Logitech Logitech USB Keyboard as /devices/pci0000:00/0000:00:13.0/usb2/2-1/2-1:1.1/input/input6
[12513.170314] generic-usb 0003:046D:C30F.0005: input,hidraw1: USB HID v1.10 Device [Logitech Logitech USB Keyboard] on usb-0000:00:13.0-1/input1
The keyboard is detected twice, but not the mouse.
[12710.284049] usb 3-2: new low-speed USB device number 3 using ohci_hcd
[12710.449087] usb 3-2: New USB device found, idVendor=1241, idProduct=1122
[12710.449097] usb 3-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[12710.458732] input: HID 1241:1122 as /devices/pci0000:00/0000:00:13.1/usb3/3-2/3-2:1.0/input/input7
[12710.459106] generic-usb 0003:1241:1122.0006: input,hidraw2: USB HID v1.00 Mouse [HID 1241:1122] on usb-0000:00:13.1-2/input0
Replugging the mouse makes it work again. So the mouse is not recognized
after the resume.
I used that mouse on an ASUS EeePC 701 4G with outdated Debian
Sid/unstable and Linux 3.0.0 without problems.
01:05.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI RS690 [Radeon X1200 Series] [1002:791e] (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. Device [1043:826d]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64, Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 18
Region 0: Memory at f0000000 (64-bit, prefetchable) [size=128M]
Region 2: Memory at fdcf0000 (64-bit, non-prefetchable) [size=64K]
Region 4: I/O ports at cc00 [size=256]
Region 5: Memory at fdb00000 (32-bit, non-prefetchable) [size=1M]
Expansion ROM at <unassigned> [disabled]
Capabilities: <access denied>
Kernel driver in use: radeon
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 01)
Subsystem: ASUSTeK Computer Inc. P5B [1043:81aa]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 41
Region 0: I/O ports at dc00 [size=256]
Region 2: Memory at fdaff000 (64-bit, non-prefetchable) [size=4K]
[virtual] Expansion ROM at fdf00000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: r8169
** USB devices:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 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 002 Device 004: ID 046d:c30f Logitech, Inc. Logicool HID-Compliant Keyboard (106 key)
Bus 002 Device 003: ID 058f:9254 Alcor Micro Corp. Hub
Bus 003 Device 003: ID 1241:1122 Belkin Typhoon Stream Optical Mouse USB+PS/2
Kernel: Linux 3.2.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages linux-image-3.2.0-2-amd64 depends on:
ii debconf [debconf-2.0] 1.5.43
ii initramfs-tools [linux-initramfs-tool] 0.103
ii kmod 8-2
ii linux-base 3.5
ii module-init-tools 8-2
Versions of packages linux-image-3.2.0-2-amd64 recommends:
ii firmware-linux-free 3.1
ii libc6-i686 2.13-33
Versions of packages linux-image-3.2.0-2-amd64 suggests:
ii grub-pc 1.99-22.1
pn linux-doc-3.2 <none>
Versions of packages linux-image-3.2.0-2-amd64 is related to:
pn firmware-atheros <none>
pn firmware-bnx2 <none>
pn firmware-bnx2x <none>
pn firmware-brcm80211 <none>
pn firmware-intelwimax <none>
pn firmware-ipw2x00 <none>
pn firmware-ivtv <none>
pn firmware-iwlwifi <none>
pn firmware-libertas <none>
ii firmware-linux 0.36
ii firmware-linux-nonfree 0.36
pn firmware-myricom <none>
pn firmware-netxen <none>
pn firmware-qlogic <none>
pn firmware-ralink <none>
pn firmware-realtek <none>
pn xen-hypervisor <none>