Re: Resuming rt73usb wireless network dongle: ep0in 3strikes
Mattias Nissler <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <1188926686.7750.13.camel@localhost> |
On Tue, 2007-09-04 at 10:30 -0400, Alan Stern wrote: > 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. Ok, it's here: http://www-user.rhrk.uni-kl.de/~nissler/rt73usb_sr/syslog_suspend_to_disk_2.txt Seems there are some more messages. For example: Sep 4 18:59:22 kea ehci_hcd 0000:00:1d.7: resume root hub which is from ehci_pci_resume(). And it does *not* say "after power loss". I think this is correct ;-) So what else happens there? 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