Re: query EHCI 3ms SUSPEND

"Pandita, Vikram" <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
>From: David Brownell [mailto:[email protected]]
...
>> If I check on Fedora, I don't see that happening rather SOFs keep going
>> to the device?
>
>So far as software is concerned, once a port gets enabled it is
>expected to issue SOFs unless it gets explicitly told to suspend.

1) So, Is it that from sysfs user interface on USB host we suspend the port (EHCI.PORTSC) so that devices see no activity on the bus and get suspended? 

2) Please advise if the following is the right way to do a suspend of EHCI port with device enumerated:
echo -n 2> /sys/devices/platform/ehci.0/usb1/1-2/1-2:1.0/power/state
and I can see that SOFs have stopped from EHCI. Fine.

I tried to resume the device with:
echo -n 0> /sys/devices/platform/ehci.0/usb1/1-2/1-2:1.0/power/state

and I see that device goes to Companion Controller and fails enumeration.


What should be the correct behavior for Selective suspend/resume for the attached device? 
 
>
>
>- Dave

-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
[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.