We are using Linux-3.2.0-PSP04.06.00.11. for Sitara AM335x ,
We’re facing issues with activating Siatara’s USBs :
suspend/resume and remote wakeup (we're using CDC ( ecm and acm ) over USBs ( usb0 and USB1 )
USB0 ( Peripheral )
we enabled the usb suspend/resume support from the menu config ,
We changed the value in .../power/control from “ON” to "auto" –
in this case we didn't saw any indication that USB went to suspend ( when there is no activity on the line )
please see cat * output of : /power is
active_duration 297940
async enabled
autosuspend 2
autosuspend_delay_ms 2000
connected_duration 1280680
control auto
level auto
runtime_active_kids 0
runtime_active_time 297940
runtime_enabled enabled
runtime_status suspended
runtime_suspended_time 982740
runtime_usage 0
wakeup enabled
USB1 ( Host )
2 issues :
there is no indication that USB goes to suspend - and even than - we're not sure if remote wakeup is supported .
When USB Host's usbx device is up setting both 1-1 and usb1
power/control to "auto" does not affect USB state:
musb_runtime_suspend is not called.
o the first and foremost question is:
how to put USB Host side to sleep when using CDC Ethernet device
on the other side?
2. Remote wakeup support
our design based on the assumption that Sitara ( in USB Host side ) is supporting USB remote wakeup . ( In band wakeup ) we did some experiments using a simple mouse connected to the sitara – we didn’t saw that pressing the mouse’s button waking up the sitara . We also tried it using advanced SDK ( 10 ) and we saw that remote wakeup from mouse is supported , HOWEVER , there is a delay in the sitara response time to the remote wakeup and there is a usb phy reset which occurring before the reconnection .