Re: Resuming rt73usb wireless network dongle: ep0in 3strikes

Alan Stern <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Tue, 4 Sep 2007, Mattias Nissler wrote:

> > > And how does CONFIG_USB_PERSIST relate to all that?
> > 
> > It doesn't come into effect unless the host controller driver
> > recognizes at resume time that power was lost, which apparently didn't
> > happen.  There were no "root hub lost power" messages in the log.
> 
> Ok, can you give me some pointers where in the usb code this is to be
> detected and handled? I'll try to debug this, but I haven't worked with
> the USB subsystem before, so any help I can get is welcome ;-)

It starts in drivers/usb/host/ehci-pci.c, in ehci_pci_resume().  Look 
at the test for whether or not FLAG_CF is still set.

But first we need to check out the USB debugging log.  It will tell us 
whether or not this code is relevant.

Alan Stern


-------------------------------------------------------------------------
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.