Community
cancel
Showing results for 
Search instead for 
Did you mean: 
amars6
Novice
1,532 Views

OTG USB not working as Edison as Host

Jump to solution

Hello, I'm trying to connect a LTE USB modem to the OTG port of intel edison in a mini breakout board. I supply external power (12v) and turns ON normaly.

I tried connecting a USB micro-B to the beakout board's OTG USB. It does not turn ON voltage on that port, so LTE modem remains OFF. I tried with a pendrive and so, but nothing works.

Also I tried to disable serial console on that port, I found in this /thread/75745 threat the last answer that say the commands to disable:

systemctl stop serial-getty@ttyMFD2.service

systemctl mask serial-getty@ttyMFD2

 

Doesn't change anything.

I have to say that command dmesg detects something connected to the OTG port, but lsusb and so doesn't detect anything.

I found that Edison to act as a OTG Host, need a micro-A USB and to act as a device, a micro-B USB, so that's a point that maybe is there the problem. I search for a micro-A USB OTG and found nothing, it's a very uncommon connector the micro-A, depracated, so I don't understand why Edison needs this connector, is there a different internal wiring??

What I have to do? I haven't found anything about this, only few people that can't get OTG working like me, but any solution. I what to use the OTG, not the serial ttyMFD2.

Thanks, I can provide more if needed.

0 Kudos
1 Solution
idata
Community Manager
491 Views

Hi Amarsa,

 

 

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 https://www.intel.com/content/dam/support/us/en/documents/edison/sb/edisonbreakout_hg_331190006.pdf 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 /message/252642# 252642 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.

 

 

Regards,

 

-Yermi A.

 

View solution in original post

4 Replies
idata
Community Manager
492 Views

Hi Amarsa,

 

 

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 https://www.intel.com/content/dam/support/us/en/documents/edison/sb/edisonbreakout_hg_331190006.pdf 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 /message/252642# 252642 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.

 

 

Regards,

 

-Yermi A.

 

View solution in original post

idata
Community Manager
491 Views

Hi Amarsa,

 

 

Do you still need help in this case?

 

 

Regards,

 

-Yermi A.

 

amars6
Novice
491 Views

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:

https://www.intel.com.au/content/www/au/en/support/boards-and-kits/intel-edison-boards/000020081.htm... How to Patch ACM0 on Intel® Edison Boards

what is the general solution??? for ubilinux

idata
Community Manager
491 Views

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 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.

 

 

Regards,

 

-Yermi A.
Reply