1 of 1 people found this helpful
Thanks for reaching out.
Absolutely, as you have mentioned if you plug a micro-A cable into J16 port, the Edison module will connect as a host, and if you plug a micro-B cable, the Edison will connect as a device. When the Edison works as a host, there are some aspects that you should take into consideration. First, you must supply external power via J21 or J22 (which is something you are doing), the Edison will convert that voltage to supply 5V to the USB connector. Second, the USB_ID signal must be grounded.
So I think the issue is with the second aspect, a USB type-A is mostly intended for host devices and a USB type-B for peripheral devices. The OTG cable has a micro-A, which has a USB_ID pin grounded, and it must be plugged to J16 and the micro-B, which has the ID pin floating to the peripheral device.
I’d recommend you to use an adapter cable, USB A female to Micro A male, in the Intel® Edison Breakout Board Hardware Guide (page 14) you can see a sample of that cable, also you can look for it writing “USB A female to Micro A male” on the internet.
Additionally, you may take a look at this other thread HowTo: connect USB camera and..., where some users posted their connections using the Edison as a host and also the link where they bought the USB –OTG adapter.
Hope you find this information useful.
yes, I'm using ubilinux and I have another problem. When I reboot with the otg device, I have to solve this, but i'm using ubilinux:
what is the general solution??? for ubilinux
I would like to let you know that we support the Yocto image which is the official supported image for the Intel Edison. Regarding the issue using Ubilinux, I’d highly recommend you to contact Emutex: https://emutex.com/about-us/contact-us, since Ubilinux is an embedded Linux distribution from Emutex and they can provide you a more accurate answer regarding this particular issue.