Hi,

The subject line says it all.  When I suspend/resume with a USB
mouse, the mouse device gets detached from /dev/input/mouse0 and 
reattached to /dev/input/mouse1.  Needless to say, this confuses X
tremendously.

Here's the log.  It looks as though during the suspend, usb.c detects
a disconnect, immediately followed by a reconnect.  It then gives up
on the device.

May  6 09:36:47 pesto cardmgr[1190]: executing: './network suspend eth0'
May  6 09:36:48 pesto kernel: usb.c: USB disconnect on device 2 
May  6 09:36:48 pesto kernel: usb.c: USB new device connect, assigned device number 2 
May  6 09:37:00 pesto kernel: usb-uhci.c: interrupt, status 2, frame# 3 
May  6 09:37:00 pesto kernel: usb-uhci-debug.h:   TD @ c340b8a0/0340B8A0, MaxLen=07 
DT0 EP=0 Dev=0 PID=(SETUP) buf=028c6960 
May  6 09:37:00 pesto kernel: usb-uhci-debug.h:     Len=07 e0 SPD LS Stalled CRC/Timeo 
 
May  6 09:37:00 pesto kernel: usb-uhci-debug.h:     Link points to TD @ 0340b920, 
Breadth first 
May  6 09:37:00 pesto kernel: usb-uhci.c: interrupt, status 2, frame# 7 
May  6 09:37:00 pesto kernel: usb-uhci-debug.h:   TD @ c340b860/0340B860, MaxLen=07 
DT0 EP=0 Dev=0 PID=(SETUP) buf=028c6960 
May  6 09:37:00 pesto kernel: usb-uhci-debug.h:     Len=07 e0 SPD LS Stalled CRC/Timeo 
 
May  6 09:37:00 pesto kernel: usb-uhci-debug.h:     Link points to TD @ 0340bae0, 
Breadth first 
May  6 09:37:00 pesto kernel: usb-uhci.c: interrupt, status 2, frame# 11 
May  6 09:37:00 pesto kernel: usb-uhci-debug.h:   TD @ c340baa0/0340BAA0, MaxLen=07 
DT0 EP=0 Dev=0 PID=(SETUP) buf=028c6960 
May  6 09:37:00 pesto kernel: usb-uhci-debug.h:     Len=07 e0 SPD LS Stalled CRC/Timeo 
 
May  6 09:37:00 pesto kernel: usb-uhci-debug.h:     Link points to TD @ 0340b920, 
Breadth first 
May  6 09:37:00 pesto kernel: usb-uhci.c: interrupt, status 2, frame# 15 
May  6 09:37:00 pesto kernel: usb-uhci-debug.h:   TD @ c340b7a0/0340B7A0, MaxLen=07 
DT0 EP=0 Dev=0 PID=(SETUP) buf=028c6960 
May  6 09:37:00 pesto kernel: usb-uhci-debug.h:     Len=07 e0 SPD LS Stalled CRC/Timeo 
 
May  6 09:37:00 pesto apmd[157]: Resume after 00:00:13 (100% 3:00)
May  6 09:37:00 pesto kernel: usb-uhci-debug.h:     Link points to TD @ 0340bae0, 
Breadth first 
May  6 09:37:00 pesto kernel: usb-uhci.c: interrupt, status 2, frame# 19 
May  6 09:37:00 pesto kernel: usb-uhci-debug.h:   TD @ c340b8a0/0340B8A0, MaxLen=07 
DT0 EP=0 Dev=0 PID=(SETUP) buf=028c6960 
May  6 09:37:00 pesto kernel: usb-uhci-debug.h:     Len=07 e0 SPD LS Stalled CRC/Timeo 
 
May  6 09:37:00 pesto kernel: usb-uhci-debug.h:     Link points to TD @ 0340b920, 
Breadth first 
May  6 09:37:00 pesto kernel: usb.c: USB device not responding, giving up (error=-84) 
May  6 09:37:00 pesto kernel: usb.c: USB disconnect on device -1 
May  6 09:37:00 pesto cardmgr[1190]: executing: './network resume eth0'
May  6 09:37:00 pesto kernel: usb.c: USB new device connect, assigned device number 2 
May  6 09:37:00 pesto kernel: usb-uhci.c: interrupt, status 3, frame# 908 
May  6 09:37:00 pesto kernel: mouse1: PS/2 mouse device for input0 
May  6 09:37:00 pesto kernel: input0: USB HIDBP mouse 

I'm using standard APM.  Oddly enough, the old development USB driver
in the 2.2.14 kernel worked quite well across suspend/resume.  I got
greedy and wanted to use the scroll wheel in the intellimouse!

Lincoln


-- 
========================================================================
Lincoln D. Stein                           Cold Spring Harbor Laboratory
[EMAIL PROTECTED]                                   Cold Spring Harbor, NY
========================================================================

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to