Unable to turn on & turn off power for 2 USB ports in I.MX28

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unable to turn on & turn off power for 2 USB ports in I.MX28

436 Views
srinivasanshanm
Contributor III

Dear I.MX community,

I am using L2.6.35_1.1.0_130130_source BSP's

As am newbiee to USB, I need to turn off & turn on usb ports, I hope this can be done turning on & turning off vbus power of usb ports w.r.t I.MX28 through sysfs entries or please let me know how this can done, where I need to handle this in my application

1) I tried the following, but this is didn't work for me

For turning off

root@CMS5 /sys/devices/platform/fsl-ehci/usb1/1-1/power$ echo suspend > control

sh: write error: Invalid argument

root@CMS5 /sys/devices/platform/fsl-ehci.0/usb2/2-1/power$ echo suspend > control

sh: write error: Invalid argument

For turning on

root@CMS5 /sys/devices/platform/fsl-ehci/usb1/1-1/power$ echo on > control

root@CMS5 /sys/devices/platform/fsl-ehci.0/usb2/2-1/power$ echo on > control

2) Please let me the voltage & currents drawn by the two usb ports in i.MX28



Kindly do the needful as early as possible


Awaiting for your replies,

Many Thanks in advance,



Labels (2)
0 Kudos
0 Replies