AnsweredAssumed Answered

i.MX6UL USB OTG Linux auto detection (host and peripheral)

Question asked by Stefan Roese on Jan 21, 2016
Latest reply on Jan 21, 2016 by igorpadykov

Hi,

I'm currently trying to enable USB OTG support for auto dectection (host and peripheral) on a custom i.MX6UL base board.

Unfortunately this does not work. I've tried kernel.org v4.4 and imx_3.14.38_6ul_ga from git://git.freescale.com/imx/linux-2.6-imx.git.

Also on the eval board "imx6ul-14x14-evk". Here I've changed:

 

&usbotg2 {

-    dr_mode = "host";

+    dr_mode = "otg";

..

 

to enable the OTG support. But still this does not work. On the EVK, an USB key is not detected in this configuration

any more. With dr_mode = "host" the USB key is detected just fine.

 

So my question is: Is this a known problem or limitation? Or what are the necessary changes to get this OTG support

running on the i.MX6UL 14x14 EVK? And in which Linux kernel version (kernel.org or imx_3.14.38_6ul_ga or ...)?

 

Note that I've enabled CONFIG_USB_OTG in both cases (kernel.org and FSL/NXP version).

 

Thanks,

Stefan

Outcomes