Re: USB_SUSPEND needs SUSPEND?

Alan Stern <[email protected]>
Newsgroups gmane.linux.usb.devel,gmane.linux.kernel
Message-ID <[email protected]>
On Sun, 28 Oct 2007, Rafael J. Wysocki wrote:

> On Sunday, 28 October 2007 02:00, Oliver Martin wrote:
> > Hello,
> > 
> > it seems that there is some dependency missing for CONFIG_USB_SUSPEND.
> > When I compile a kernel without CONFIG_SUSPEND, USB suspend doesn't work
> > (or at least doesn't expose its interface to userspace).
> > /sys/bus/usb/devices/.../power doesn't exist, but it is there when I
> > enable CONFIG_SUSPEND. So should CONFIG_USB_SUSPEND depend on
> > CONFIG_SUSPEND (or something selected by CONFIG_SUSPEND)?
> > 
> > diff between the two configs follows, full config and dmesg for both
> > kernels is available at http://stud4.tuwien.ac.at/~e0626486/usb_suspend/
> > (though the dmesg diff doesn't seem to be all that interesting).

Actually I think the problem is the other way around.  /sys/.../power 
should exist whenever CONFIG_PM is defined, not just when 
CONFIG_SUSPEND is enabled.

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.