2006/1/6, Alan Stern <[EMAIL PROTECTED]>:
> Maybe you're missing some patches? The power state value should be set
> back to 0 (PMSG_ON) in drivers/usb/core/hub.c:finish_device_resume().
>
> Or maybe you're not using the correct path in sysfs?
I don't think so since I can suspend the device correctly.
> Although the device
> state does get set back to 0, I just noticed that the interface's state
> does not.
you mean that you tried the same thing and got the power state of your
device back to "on" state ?
> That's bug. The question is, should the state get set by the
> device driver or by usbcore?
>
I would say usbcore since the bus should know the state of a device
after it was resumed.
Thanks
--
Franck
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel