On Fri, 28 Nov 2003, Michael Vogt wrote: > Hi, > > [please CC me as I'm not on the list] > > When using kernel 2.6.0-test11 with the uhci-hcd host usb driver, usb > stops working after a resume (apm). The (usb) mouse does no longer > react and I get a lot of the following messages: > > hub 2-0:1.0: new USB device on port 1, assigned address 3 > usb 2-1: control timeout on ep0in > usb 2-1: control timeout on ep0in > drivers/usb/host/uhci-hcd.c: uhci_result_control() failed with statu > [e96c8240] link (296c81b2) element (293aa100) > 0: [e93aa100] link (293aa140) e0 LS Stalled CRC/Timeo Length=7 Max > dPt=0 Dev=3, PID=2d(SETUP) (buf=243dbee0) > 1: [e93aa140] link (293aa180) e3 SPD LS Active Length=0 MaxLen=7 D > ev=3, PID=69(IN) (buf=1bc15b78) > 2: [e93aa180] link (00000001) e3 LS IOC Active Length=0 MaxLen=7ff > Dev=3, PID=e1(OUT) (buf=00000000) > [some more of them, I can post a complete log on request] > > > When I change drivers/usb/host/uhci-hcd.c:suspend_allowed() to always > return 0 (don't suspend on uhci_suspend the but reset), usb seems to > work after a suspend/resume with apm. > > My system is a ibm thinkpad x30 with the following usb controllers: > 00:1d.0 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #1) (rev 02) > 00:1d.1 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #2) (rev 02) > 00:1d.2 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #3) (rev 02) > [I can post the complete output of lspci on request] > > > If other people with my chipset have the same problem, we might > blacklist it? > > > thanks, > Michael > > > P.S. I'm not sure if this is the right place to post this mail, if > another mailing-list is more appropriate, please let me know.d
I haven't heard of any problems with that chipset before, and I'm rather surprised that changing the suspend_allowed() routine should make any difference for an APM suspend. But the fact is that the UHCI driver has lots of little problems, some in the area of suspend/resume as you found. None of them are going to be fixed until at least 2.6.1 or maybe even later. Alan Stern ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel