On Sun, 18 Feb 2007, Luca Tettamanti wrote:

> Ok, this is me plugging/unplugging the mouse with only ehci loaded:
...
> hub 1-0:1.0: state 7 ports 6 chg 0000 evt 0020
> ehci_hcd 0000:00:03.3: GetStatus port 5 status 001403 POWER sig=k CSC CONNECT
> hub 1-0:1.0: port 5, status 0501, change 0001, 480 Mb/s
> hub 1-0:1.0: debounce: port 5: total 100ms stable 100ms status 0x501
> ehci_hcd 0000:00:03.3: port 5 low speed --> companion
> ehci_hcd 0000:00:03.3: GetStatus port 5 status 001403 POWER sig=k CSC CONNECT
> hub 1-0:1.0: port_wait_reset: err = -22
> hub 1-0:1.0: port 5 not enabled, trying reset again...
> ehci_hcd 0000:00:03.3: port 5 low speed --> companion
> ehci_hcd 0000:00:03.3: GetStatus port 5 status 001403 POWER sig=k CSC CONNECT
> hub 1-0:1.0: port_wait_reset: err = -22
> hub 1-0:1.0: port 5 not enabled, trying reset again...
> ehci_hcd 0000:00:03.3: port 5 low speed --> companion
> ehci_hcd 0000:00:03.3: GetStatus port 5 status 001403 POWER sig=k CSC CONNECT
> hub 1-0:1.0: port_wait_reset: err = -22
> hub 1-0:1.0: port 5 not enabled, trying reset again...
> ehci_hcd 0000:00:03.3: port 5 low speed --> companion
> ehci_hcd 0000:00:03.3: GetStatus port 5 status 001403 POWER sig=k CSC CONNECT
> hub 1-0:1.0: port_wait_reset: err = -22
> hub 1-0:1.0: port 5 not enabled, trying reset again...
> ehci_hcd 0000:00:03.3: port 5 low speed --> companion
> ehci_hcd 0000:00:03.3: GetStatus port 5 status 001403 POWER sig=k CSC CONNECT
> hub 1-0:1.0: port_wait_reset: err = -22
> hub 1-0:1.0: port 5 not enabled, trying reset again...
> hub 1-0:1.0: Cannot enable port 5.  Maybe the USB cable is bad?
etc.

For comparison, here's what happens on my computer when I do exactly the 
same thing:

[  337.417093] hub 1-0:1.0: state 8 ports 6 chg 0000 evt 0000
[  337.417161] usb usb1: usb auto-resume
[  337.417212] usb usb1: finish resume
[  337.417295] hub 1-0:1.0: hub_resume
[  337.417348] ehci_hcd 0000:00:1d.7: resume root hub
[  337.452169] ehci_hcd 0000:00:1d.7: GetStatus port 4 status 001403 POWER 
sig=k CSC CONNECT
[  337.452256] hub 1-0:1.0: port 4, status 0501, change 0001, 480 Mb/s
[  337.579914] hub 1-0:1.0: debounce: port 4: total 100ms stable 100ms status 
0x501
[  337.580010] ehci_hcd 0000:00:1d.7: port 4 low speed --> companion
[  337.635822] ehci_hcd 0000:00:1d.7: GetStatus port 4 status 003002 POWER 
OWNER sig=se0 CSC
[  337.635968] hub 1-0:1.0: state 7 ports 6 chg 0000 evt 0010
[  339.632531] hub 1-0:1.0: hub_suspend
[  339.632598] ehci_hcd 0000:00:1d.7: suspend root hub
[  339.632671] usb usb1: usb auto-suspend

Apparently the hardware on your machine is set up so that the hand-off to
the companion controller doesn't work if the companion isn't configured.  
The important difference is the lack of the "OWNER" bit and the presence
of the "CONNECT" bit in the port status line after the hand-off, in your
log.

Off hand, I can't think how to fix this.  To the computer, it looks
exactly the same as if you had unplugged the mouse and then plugged it
back in.

Alan Stern


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to