Hi,
We are using iMX6 DL. On OTG port, we detected USB_OTG_ID is low but
~# cat /sys/kernel/debug/ci_hdrc.0/role
gadget
Is there something wrong?
I am thinking USB_OTG_ID being low means OTG port works as host and I can connect some USB device to it; while /sys/kernel/debug/ci_hdrc.0/role being "gadget" means the OTG port is working as gadget mode so I can only connect a host to it, right?
Regards,
Winston
解決済! 解決策の投稿を見る。
Hello,
Yes, your reasoning is correct, while the USB OTG ID pin is high/floating USB should be working as a device/gadget and when it is low it is working as a host.
Please check that you have configured correctly in your device tree this pin, you may refer to the following post:
https://community.nxp.com/t5/i-MX-Processors/USB-OTG-on-IMX6DL-detection-problem/m-p/766307
Best regards,
Aldo.
Thanks for the reply. There are some HW issue and HW re-design make the two match.
Regards,
Winston
Hello,
Yes, your reasoning is correct, while the USB OTG ID pin is high/floating USB should be working as a device/gadget and when it is low it is working as a host.
Please check that you have configured correctly in your device tree this pin, you may refer to the following post:
https://community.nxp.com/t5/i-MX-Processors/USB-OTG-on-IMX6DL-detection-problem/m-p/766307
Best regards,
Aldo.