USB not processing APM suspend event properly?

From: Thomas Hood (jdthood@mail.com)
Date: Sun Dec 09 2001 - 18:31:05 EST


The following syslog fragment shows what happens when
I suspended earlier today. The USB subsystem disconnected
my USB mouse, but then tried (twice) to reconnect it again
while the apm driver was still processing the suspend. The
attempts to reconnect failed. I presume there is something
wrong with this picture. Does this indicate a bug in
USB power management?

(The repeated "received system suspend notify" messages are
there because I have apm debug messages switch on, and I
am using a ThinkPad, which generates repeated suspend
events.)

Dec 9 17:38:27 thanatos kernel: apm: received system suspend notify
Dec 9 17:38:27 thanatos kernel: usb.c: USB disconnect on device 4
Dec 9 17:38:27 thanatos kernel: apm: received system suspend notify
Dec 9 17:38:27 thanatos kernel: apm: received system suspend notify
Dec 9 17:38:27 thanatos kernel: hub.c: USB new device connect on
bus1/1, assigned device number 5
Dec 9 17:38:28 thanatos kernel: apm: received system suspend notify
Dec 9 17:38:30 thanatos last message repeated 2 times
Dec 9 17:38:30 thanatos kernel: usb_control/bulk_msg: timeout
Dec 9 17:38:30 thanatos kernel: usb.c: USB device not accepting new
address=5 (error=-110)
Dec 9 17:38:31 thanatos kernel: hub.c: USB new device connect on
bus1/1, assigned device number 6
Dec 9 17:38:31 thanatos kernel: apm: setting state busy
Dec 9 17:38:31 thanatos kernel: apm: received system suspend notify
Dec 9 17:38:33 thanatos last message repeated 2 times
Dec 9 17:38:34 thanatos kernel: usb_control/bulk_msg: timeout
Dec 9 17:38:34 thanatos kernel: usb.c: USB device not accepting new
address=6 (error=-110)
Dec 9 17:38:34 thanatos kernel: apm: received system suspend notify
Dec 9 17:38:35 thanatos kernel: apm: received system suspend notify
Dec 9 17:38:36 thanatos kernel: apm: setting state busy

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Dec 15 2001 - 21:00:15 EST