Re: System suspend question

Alan Stern <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Tue, 23 Oct 2007, Sarah Sharp wrote:

> Does a usb driver's suspend function get called during system suspend?

Yes.

> From the dmesg output prior to a suspend-to-disk, it looks like the
> disconnect function is called instead.  However, the documentation for
> usb_external_suspend_device in usb/core/driver.c says that this function
> handles external suspend requests from the "PM core (system sleep)".

What you see in the dmesg log is because the userspace utility you use
to do a system suspend starts by unloading the USB host controller
drivers.  This was common in the past because USB used to have
significant problems with suspend -- some USB drivers probably still
do!

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.