OTG state control for ux500 usb driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I am using hardware that used the musb-ux500 USB driver. I am
wondering if there is a way to control
OTG state of this driver using
/sys/devices/platform/musb-ux500.0/musb-hdrc/mode files.

When I connect externally powered device I see that mode transitions
from b_peripheral to b_host. When I remove this device the mode
transitions to b_idle.

However this state never goes to b_peripheral even if I explicitly do
echo "peripheral" to the mode file

I am not an "OTG" state transition expert but should one be able to
control the OTG mode using the
mode file?

Is there other way to control OTG state. I am running kernel version
3.0.31 on this device
which actually runs "rooted" Android device implication being  if
there is change required to driver
kernel I have control over it.

If someone can help me or nudge me in right direction that would be great

Sam
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux