Re: Resuming rt73usb wireless network dongle: ep0in 3strikes

Mattias Nissler <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <1188836768.8195.62.camel@localhost>
On Mon, 2007-09-03 at 11:43 -0400, Alan Stern wrote:
> I counted about 500 occurrences!  That seems a little extreme.  If the 
> transfer doesn't succeed after a couple of retries, it hardly seems 
> likely that another 498 will help.  Don't you think that could be cut 
> down a bit?

Sure, the resume handler should error out properly, this needs to be
fixed.

> 
> > So what's the problem here? Is this a know problem? Is the resume
> > handler incorrect? Or maybe the device cannot resume properly and needs
> > to be blacklisted? All comments and suggestions welcome.
> 
> The problem is that either your device or else the EHCI controller it 
> is attached to dropped the USB connection during the suspend.  The 
> same thing happened to the Alcor Micro mass storage device attached to 
> the same controller, which suggests the problem lies in the controller.  
> Or maybe it lies in the BIOS, which could reset the controller during 
> the initial stages of resuming.

Just for my understanding: Do you mean the system BIOS or some firmware
in the ICH8? Note that I'm *not* doing a complete software-suspend
cycle, but only a test run (cause I write "test" to /sys/power/disk).
How could the system BIOS be involved when the EHCI controller
suspends/resumes without actually rebooting the machine?

Another question: If the controller drops the connection, shouldn't the
ehci driver just do a reconnect instead of trying to resume the
interface driver? And how does CONFIG_USB_PERSIST relate to all that?

> The fact that the device survived the first round of tests indicates 
> your driver is basically OK.
> 
> You might try connecting the device to your other EHCI controller, the 
> one on the add-on PCI card.  The BIOS is less likely to interfere with 
> that one since it isn't built into the motherboard.

Yeah, we're already running tests on different chipsets/motherboards.
Note that my other EHCI is also part of the same ICH8. I'll try, but I
doubt I'll get different results.

Mattias


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.