Distribution: Debian unstable Hardware Environment: IBM A31P Problem Description: Unable to use USB mouse after using APM to suspend to RAM on an IBM a31p. USB support is compiled in to the kernel. .config file below. # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Able to generate errors by connecting/disconnecting the usb mouse. # before using APM to suspend to RAM I'm able to connect disconnect # the usb mouse and it functions properly Feb 18 13:07:19 bdianni-lnx kernel: usb 1-1: USB disconnect, address 2 Feb 18 13:07:31 bdianni-lnx kernel: usb 1-1: new low speed USB device using address 3 Feb 18 13:07:31 bdianni-lnx kernel: input: USB HID v1.10 Mouse [Logitech USB Mouse] on usb-0000:00:1d.0-1 Feb 18 13:08:03 bdianni-lnx kernel: usb 1-1: USB disconnect, address 3 # mouse functions # perform suspend to RAM Feb 18 13:08:11 bdianni-lnx kernel: hdc: start_power_step(step: 0) Feb 18 13:08:11 bdianni-lnx kernel: hdc: completing PM request, suspend Feb 18 13:08:11 bdianni-lnx kernel: hda: start_power_step(step: 0) Feb 18 13:08:11 bdianni-lnx kernel: hda: start_power_step(step: 1) Feb 18 13:08:12 bdianni-lnx kernel: hda: complete_power_step(step: 1, stat: 50, err: 0) Feb 18 13:08:12 bdianni-lnx kernel: hda: completing PM request, suspend Feb 18 13:08:21 bdianni-lnx kernel: PCI: Setting latency timer of device 0000: 00:1d.0 to 64 Feb 18 13:08:21 bdianni-lnx kernel: PCI: Setting latency timer of device 0000: 00:1d.1 to 64 Feb 18 13:08:21 bdianni-lnx kernel: PCI: Setting latency timer of device 0000: 00:1d.2 to 64 Feb 18 13:08:21 bdianni-lnx kernel: hda: Wakeup request inited, waiting for ! BSY... Feb 18 13:08:21 bdianni-lnx kernel: hda: start_power_step(step: 1000) Feb 18 13:08:21 bdianni-lnx kernel: blk: queue c1b7ba00, I/O limit 4095Mb (mask 0xffffffff) Feb 18 13:08:21 bdianni-lnx kernel: hda: completing PM request, resume Feb 18 13:08:21 bdianni-lnx kernel: hdc: Wakeup request inited, waiting for ! BSY... Feb 18 13:08:21 bdianni-lnx kernel: hdc: start_power_step(step: 1000) Feb 18 13:08:21 bdianni-lnx kernel: hdc: completing PM request, resume Feb 18 13:08:23 bdianni-lnx kernel: e100: eth0 NIC Link is Up 100 Mbps Full duplex # not able to connect/disonnect usb mouse after resume. Feb 18 13:09:04 bdianni-lnx kernel: usb 1-1: new low speed USB device using address 4 Feb 18 13:09:09 bdianni-lnx kernel: usb 1-1: control timeout on ep0out Feb 18 13:09:16 bdianni-lnx kernel: usb 1-1: control timeout on ep0out Feb 18 13:09:22 bdianni-lnx kernel: usb 1-1: device not accepting address 4, error -110 Feb 18 13:09:22 bdianni-lnx kernel: usb 1-1: new low speed USB device using address 5 Feb 18 13:09:27 bdianni-lnx kernel: usb 1-1: control timeout on ep0out Feb 18 13:09:35 bdianni-lnx kernel: usb 1-1: control timeout on ep0out Feb 18 13:09:35 bdianni-lnx kernel: usb 1-1: device not accepting address 5, error -110 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - bdianni@bdianni-lnx:~$ uname -a Linux bdianni-lnx 2.6.3 #7 Wed Feb 18 12:14:15 EST 2004 i686 GNU/Linux # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - bdianni@bdianni-lnx:~$ cat /proc/bus/input/devices I: Bus=0011 Vendor=0002 Product=0001 Version=0000 N: Name="PS/2 Generic Mouse" P: Phys=isa0060/serio1/input0 H: Handlers=mouse0 B: EV=7 B: KEY=70000 0 0 0 0 0 0 0 0 B: REL=3 I: Bus=0011 Vendor=0001 Product=0001 Version=ab41 N: Name="AT Translated Set 2 keyboard" P: Phys=isa0060/serio0/input0 H: Handlers=kbd B: EV=120003 B: KEY=4 2000000 3802078 f840d001 f2ffffdf ffefffff ffffffff fffffffe B: LED=7 I: Bus=0003 Vendor=046d Product=c00c Version=0610 N: Name="Logitech USB Mouse" P: Phys=usb-0000:00:1d.0-1/input0 H: Handlers=mouse1 B: EV=7 B: KEY=70000 0 0 0 0 0 0 0 0 B: REL=103
Created attachment 2182 [details] .config file
I'm experiencing a (possibly) identical problem on my Dell Inspiron 8000. I also have USB support built into the kernel. The problem started in 2.6.0 for me (after upgrading from 2.4.x). Thanks. :)
I'm still having the same problem in 2.6.4. My USB mouse fails after an APM resume, and I need to restart the system to get it back. I'm not sure what I can do to help, so here's the output from several commands. If you would like anything further, please don't hesitate to ask. Thanks in advance. :) = cat /proc/version =========================================================== Linux version 2.6.4 (root@goliath) (gcc version 3.3.3 (Debian 20040306)) #1 Thu Mar 11 23:17:57 PST 2004 = tail -n 50 /var/log/messages | grep usb ===================================== Mar 11 23:34:15 goliath kernel: usb 1-1: USB disconnect, address 2 Mar 11 23:34:41 goliath kernel: usb 1-2: new low speed USB device using address 3 Mar 11 23:34:46 goliath kernel: usb 1-2: control timeout on ep0out Mar 11 23:35:24 goliath kernel: usb 1-2: control timeout on ep0out Mar 11 23:35:39 goliath kernel: usb 1-1: new low speed USB device using address 4 Mar 11 23:35:44 goliath kernel: usb 1-1: control timeout on ep0out Mar 11 23:37:25 goliath kernel: usb 1-1: new low speed USB device using address 5 Mar 11 23:37:30 goliath kernel: usb 1-1: control timeout on ep0out Mar 11 23:37:59 goliath kernel: usb 1-1: Product: USB Mouse Mar 11 23:37:59 goliath kernel: usb 1-1: Manufacturer: Logitech Mar 11 23:37:59 goliath kernel: input: USB HID v1.10 Mouse [Logitech USB Mouse] on usb-0000:00:1f.2-1 = lspci -v ==================================================================== 00:00.0 Host bridge: Intel Corp. 82815 815 Chipset Host Bridge and Memory Controller Hub (rev 02) Flags: bus master, fast devsel, latency 0 Memory at e4000000 (32-bit, prefetchable) [size=64M] Capabilities: [88] #09 [f104] Capabilities: [a0] AGP version 2.0 00:01.0 PCI bridge: Intel Corp. 82815 815 Chipset AGP Bridge (rev 02) (prog-if 00 [Normal decode]) Flags: bus master, 66Mhz, fast devsel, latency 32 Bus: primary=00, secondary=01, subordinate=01, sec-latency=32 I/O behind bridge: 0000c000-0000cfff Memory behind bridge: fc000000-fdffffff Prefetchable memory behind bridge: e8000000-ebffffff 00:1e.0 PCI bridge: Intel Corp. 82801BAM/CAM PCI Bridge (rev 02) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=02, subordinate=10, sec-latency=32 I/O behind bridge: 0000e000-0000ffff Memory behind bridge: f4000000-fbffffff 00:1f.0 ISA bridge: Intel Corp. 82801BAM ISA Bridge (LPC) (rev 02) Flags: bus master, medium devsel, latency 0 00:1f.1 IDE interface: Intel Corp. 82801BAM IDE U100 (rev 02) (prog-if 80 [Master]) Subsystem: Intel Corp.: Unknown device 4541 Flags: bus master, medium devsel, latency 0 I/O ports at bfa0 [size=16] 00:1f.2 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #1) (rev 02) (prog-if 00 [UHCI]) Subsystem: Intel Corp.: Unknown device 4541 Flags: bus master, medium devsel, latency 0, IRQ 10 I/O ports at dce0 [size=32] 01:00.0 VGA compatible controller: ATI Technologies Inc Rage Mobility M4 AGP (prog-if 00 [VGA]) Subsystem: Dell Computer Corporation: Unknown device 00a4 Flags: bus master, VGA palette snoop, stepping, 66Mhz, medium devsel, latency 32, IRQ 11 Memory at e8000000 (32-bit, prefetchable) [size=64M] I/O ports at cc00 [size=256] Memory at fcffc000 (32-bit, non-prefetchable) [size=16K] Expansion ROM at <unassigned> [disabled] [size=128K] Capabilities: [50] AGP version 2.0 Capabilities: [5c] Power Management version 2 02:03.0 Multimedia audio controller: ESS Technology ES1983S Maestro-3i PCI Audio Accelerator (rev 10) Subsystem: Dell Computer Corporation: Unknown device 00a4 Flags: bus master, medium devsel, latency 32, IRQ 5 I/O ports at ec00 [size=256] Memory at f8ffe000 (32-bit, non-prefetchable) [size=8K] Capabilities: [c0] Power Management version 2 02:06.0 Ethernet controller: 3Com Corporation 3c556 Hurricane CardBus (rev 10) Subsystem: 3Com Corporation: Unknown device 6456 Flags: bus master, medium devsel, latency 32, IRQ 10 I/O ports at e800 [size=256] Memory at f8ffdc00 (32-bit, non-prefetchable) [size=128] Memory at f8ffd800 (32-bit, non-prefetchable) [size=128] Expansion ROM at f9000000 [disabled] [size=128K] Capabilities: [50] Power Management version 2 02:06.1 Communication controller: 3Com Corporation Mini PCI 56k Winmodem (rev 10) Subsystem: 3Com Corporation: Unknown device 615b Flags: bus master, medium devsel, latency 32, IRQ 10 I/O ports at e400 [size=256] Memory at f8ffd400 (32-bit, non-prefetchable) [size=256] Memory at f8ffd000 (32-bit, non-prefetchable) [size=128] Capabilities: [50] Power Management version 2 02:0f.0 CardBus bridge: Texas Instruments PCI4451 PC card Cardbus Controller Subsystem: Dell Computer Corporation: Unknown device 00a4 Flags: bus master, medium devsel, latency 168, IRQ 10 Memory at 10000000 (32-bit, non-prefetchable) [size=4K] Bus: primary=02, secondary=03, subordinate=06, sec-latency=176 Memory window 0: 10400000-107ff000 (prefetchable) Memory window 1: 10800000-10bff000 I/O window 0: 00004000-000040ff I/O window 1: 00004400-000044ff 16-bit legacy interface ports at 0001 02:0f.1 CardBus bridge: Texas Instruments PCI4451 PC card Cardbus Controller Subsystem: Dell Computer Corporation: Unknown device 00a4 Flags: bus master, medium devsel, latency 168, IRQ 10 Memory at 10001000 (32-bit, non-prefetchable) [size=4K] Bus: primary=02, secondary=07, subordinate=0a, sec-latency=176 Memory window 0: 10c00000-10fff000 (prefetchable) Memory window 1: 11000000-113ff000 I/O window 0: 00004800-000048ff I/O window 1: 00004c00-00004cff 16-bit legacy interface ports at 0001 02:0f.2 FireWire (IEEE 1394): Texas Instruments PCI4451 IEEE-1394 Controller (prog-if 10 [OHCI]) Subsystem: Dell Computer Corporation: Unknown device 00a4 Flags: bus master, medium devsel, latency 32, IRQ 10 Memory at f8ffc800 (32-bit, non-prefetchable) [size=2K] Memory at f8ff8000 (32-bit, non-prefetchable) [size=16K] Capabilities: [44] Power Management version 2
2.6.5 (mostly) fixes this problem! Thanks!!! When my computer resumes with the USB mouse plugged in, the mouse will fail. However, after unplugging it and then plugging it back in, it starts working again. Only after completing this procedure will it work again.
I'm not sure why I initially had problems with 2.6.5, because it seems to be working perfectly now. I regularly suspend/resume, and my USB mouse has been working every time. Thank-you for fixing the bug!!! It is so much better now. :)
This exact behavior is back in 2.6.10. excerpt from /var/log/kern.log after suspend to ram using apm Jan 9 09:38:48 bdianni-lnx kernel: radeonfb: suspending to state: 3... Jan 9 09:38:48 bdianni-lnx kernel: hub 1-0:1.0: resubmit --> -108 Jan 9 09:38:48 bdianni-lnx kernel: PCI: Setting latency timer of device 0000:00 :1d.0 to 64 Jan 9 09:38:48 bdianni-lnx kernel: hub 1-0:1.0: hub_port_status failed (err = - 11) Jan 9 09:38:48 bdianni-lnx kernel: PCI: Setting latency timer of device 0000:00 :1d.1 to 64 Jan 9 09:38:48 bdianni-lnx kernel: PCI: Setting latency timer of device 0000:00 :1d.2 to 64 Jan 9 09:38:48 bdianni-lnx kernel: PCI: Found IRQ 11 for device 0000:00:1f.1 Jan 9 09:38:48 bdianni-lnx kernel: PCI: Sharing IRQ 11 with 0000:00:1d.2 Jan 9 09:38:48 bdianni-lnx kernel: PCI: Sharing IRQ 11 with 0000:02:00.2 Jan 9 09:38:48 bdianni-lnx kernel: PCI: Found IRQ 11 for device 0000:00:1f.5 Jan 9 09:38:48 bdianni-lnx kernel: PCI: Sharing IRQ 11 with 0000:00:1f.3 Jan 9 09:38:48 bdianni-lnx kernel: PCI: Sharing IRQ 11 with 0000:00:1f.6 Jan 9 09:38:48 bdianni-lnx kernel: PCI: Sharing IRQ 11 with 0000:02:00.1 Jan 9 09:38:48 bdianni-lnx kernel: ac97_codec: AC97 Audio codec, id: ADS72 (Ana log Devices AD1881A) Jan 9 09:38:48 bdianni-lnx kernel: radeonfb: resumed ! Jan 9 09:38:48 bdianni-lnx kernel: drivers/usb/input/hid-core.c: input irq stat us -84 received Jan 9 09:39:19 bdianni-lnx last message repeated 1598 times Jan 9 09:39:34 bdianni-lnx last message repeated 663 times Jan 9 09:39:34 bdianni-lnx kernel: e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex Jan 9 09:39:34 bdianni-lnx kernel: drivers/usb/input/hid-core.c: input irq stat us -84 received Jan 9 09:39:35 bdianni-lnx last message repeated 7 times Jan 9 09:39:35 bdianni-lnx kernel: ip_tables: (C) 2000-2002 Netfilter core team Jan 9 09:39:35 bdianni-lnx kernel: drivers/usb/input/hid-core.c: input irq stat us -84 received Jan 9 09:39:35 bdianni-lnx kernel: drivers/usb/input/hid-core.c: input irq stat us -84 received Jan 9 09:39:35 bdianni-lnx kernel: ip_conntrack version 2.1 (8187 buckets, 6549 6 max) - 300 bytes per conntrack Jan 9 09:39:35 bdianni-lnx kernel: drivers/usb/input/hid-core.c: input irq stat us -84 received Jan 9 09:40:06 bdianni-lnx last message repeated 1285 times Jan 9 09:41:07 bdianni-lnx last message repeated 2541 times root@bdianni-lnx:~# grep -i usb /usr/src/linux/.config # USB support CONFIG_USB=y # CONFIG_USB_DEBUG is not set # Miscellaneous USB options CONFIG_USB_DEVICEFS=y # CONFIG_USB_BANDWIDTH is not set # CONFIG_USB_DYNAMIC_MINORS is not set # CONFIG_USB_SUSPEND is not set # CONFIG_USB_OTG is not set CONFIG_USB_ARCH_HAS_HCD=y CONFIG_USB_ARCH_HAS_OHCI=y # USB Host Controller Drivers CONFIG_USB_EHCI_HCD=y # CONFIG_USB_EHCI_SPLIT_ISO is not set # CONFIG_USB_EHCI_ROOT_HUB_TT is not set # CONFIG_USB_OHCI_HCD is not set CONFIG_USB_UHCI_HCD=y # CONFIG_USB_SL811_HCD is not set # USB Device Class drivers # CONFIG_USB_AUDIO is not set # CONFIG_USB_BLUETOOTH_TTY is not set # CONFIG_USB_MIDI is not set # CONFIG_USB_ACM is not set # CONFIG_USB_PRINTER is not set # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be needed; see USB_STORAGE Help for more information # CONFIG_USB_STORAGE is not set # USB Input Devices CONFIG_USB_HID=y CONFIG_USB_HIDINPUT=y # CONFIG_USB_HIDDEV is not set # CONFIG_USB_AIPTEK is not set # CONFIG_USB_WACOM is not set # CONFIG_USB_KBTAB is not set # CONFIG_USB_POWERMATE is not set # CONFIG_USB_MTOUCH is not set # CONFIG_USB_EGALAX is not set # CONFIG_USB_XPAD is not set # CONFIG_USB_ATI_REMOTE is not set # USB Imaging devices # CONFIG_USB_MDC800 is not set # USB Multimedia devices # CONFIG_USB_DABUSB is not set # Video4Linux support is needed for USB Multimedia device support # USB Network Adapters # CONFIG_USB_CATC is not set # CONFIG_USB_KAWETH is not set # CONFIG_USB_PEGASUS is not set # CONFIG_USB_RTL8150 is not set # CONFIG_USB_USBNET is not set # USB port drivers # USB Serial Converter support # CONFIG_USB_SERIAL is not set # USB Miscellaneous drivers # CONFIG_USB_EMI62 is not set # CONFIG_USB_EMI26 is not set # CONFIG_USB_TIGL is not set # CONFIG_USB_AUERSWALD is not set # CONFIG_USB_RIO500 is not set # CONFIG_USB_LEGOTOWER is not set # CONFIG_USB_LCD is not set # CONFIG_USB_LED is not set # CONFIG_USB_CYTHERM is not set # CONFIG_USB_PHIDGETKIT is not set # CONFIG_USB_PHIDGETSERVO is not set # CONFIG_USB_TEST is not set # USB ATM/DSL drivers # USB Gadget Support # CONFIG_USB_GADGET is not set root@bdianni-lnx:~# grep -i apm /usr/src/linux/.config # Power management options (ACPI, APM) # APM (Advanced Power Management) BIOS Support CONFIG_APM=m # CONFIG_APM_IGNORE_USER_SUSPEND is not set CONFIG_APM_DO_ENABLE=y CONFIG_APM_CPU_IDLE=y # CONFIG_APM_DISPLAY_BLANK is not set CONFIG_APM_RTC_IS_GMT=y CONFIG_APM_ALLOW_INTS=y CONFIG_APM_REAL_MODE_POWER_OFF=y Please let me know if further output is required. Thanks ! Barnaby
this is still broken in 2.6.11 any updates? of is bugme.osdl.org the wrong place for this?
I know get these messages Mar 2 16:20:34 bdianni-lnx kernel: uhci_hcd 0000:00:1d.0: Unlink after no-IRQ? Controller is probably using the wrong IRQ. and hub 1-0:1.0: resubmit --> -108 hub 1-0:1.0: hub_port_status failed (err = -108)
Hope this moves this bug over to the group responsible for the USB drivers.
You have CONFIG_USB_SUSPEND turned off. Turning it on might help. It also might help to rmmod ehci-hcd and uhci-hcd before suspending, then modprobe them again after resuming.
In kernel 2.6.9 I compile all USB into the kernel and don't have usb_suspend configured and I'm able to suspend to ram without issue. In 2.6.10 and 2.6.11 suspend to ram causes my usb mouse to stop working. Only a reboot can bring it back. I'll compile with USB as modules and with usb suspend on and report what I find. bdianni@bdianni-lnx:/usr/src/linux-2.6.9$ grep USB .config # USB support CONFIG_USB=y # CONFIG_USB_DEBUG is not set # Miscellaneous USB options CONFIG_USB_DEVICEFS=y CONFIG_USB_BANDWIDTH=y # CONFIG_USB_DYNAMIC_MINORS is not set # CONFIG_USB_SUSPEND is not set # CONFIG_USB_OTG is not set # USB Host Controller Drivers # CONFIG_USB_EHCI_HCD is not set # CONFIG_USB_OHCI_HCD is not set CONFIG_USB_UHCI_HCD=y # USB Device Class drivers # CONFIG_USB_AUDIO is not set # CONFIG_USB_BLUETOOTH_TTY is not set # CONFIG_USB_MIDI is not set # CONFIG_USB_ACM is not set # CONFIG_USB_PRINTER is not set # CONFIG_USB_STORAGE is not set # USB Human Interface Devices (HID) CONFIG_USB_HID=y CONFIG_USB_HIDINPUT=y # CONFIG_USB_HIDDEV is not set # CONFIG_USB_AIPTEK is not set # CONFIG_USB_WACOM is not set # CONFIG_USB_KBTAB is not set # CONFIG_USB_POWERMATE is not set # CONFIG_USB_MTOUCH is not set # CONFIG_USB_EGALAX is not set # CONFIG_USB_XPAD is not set # CONFIG_USB_ATI_REMOTE is not set # USB Imaging devices # CONFIG_USB_MDC800 is not set # USB Multimedia devices # CONFIG_USB_DABUSB is not set # Video4Linux support is needed for USB Multimedia device support # USB Network adaptors # CONFIG_USB_CATC is not set # CONFIG_USB_KAWETH is not set # CONFIG_USB_PEGASUS is not set # CONFIG_USB_RTL8150 is not set # CONFIG_USB_USBNET is not set # USB port drivers # USB Serial Converter support # CONFIG_USB_SERIAL is not set # USB Miscellaneous drivers # CONFIG_USB_EMI62 is not set # CONFIG_USB_EMI26 is not set # CONFIG_USB_TIGL is not set # CONFIG_USB_AUERSWALD is not set # CONFIG_USB_RIO500 is not set # CONFIG_USB_LEGOTOWER is not set # CONFIG_USB_LCD is not set # CONFIG_USB_LED is not set # CONFIG_USB_CYTHERM is not set # CONFIG_USB_PHIDGETSERVO is not set # CONFIG_USB_TEST is not set # USB Gadget Support # CONFIG_USB_GADGET is not set bdianni@bdianni-lnx:/usr/src/linux-2.6.9$ grep APM .config # Power management options (ACPI, APM) # APM (Advanced Power Management) BIOS Support CONFIG_APM=m # CONFIG_APM_IGNORE_USER_SUSPEND is not set CONFIG_APM_DO_ENABLE=y CONFIG_APM_CPU_IDLE=y # CONFIG_APM_DISPLAY_BLANK is not set CONFIG_APM_RTC_IS_GMT=y CONFIG_APM_ALLOW_INTS=y CONFIG_APM_REAL_MODE_POWER_OFF=y
You never reported back :( If this still is an issue on 2.6.13-rc6 or greater, please reopen and let us know.