This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux USB OTG cable and Linux networking

Other Parts Discussed in Thread: ADS1278, OMAP3530

Hi. Please help.

A Gumstix Palo43 board gets digitised data from ADS1278. The Palo43 has a OMAP3530. The OS is Linux Angstrom3-2.6.31-r52.
 
When using the Linux USB OTG cable provided by Gumstix, transmitting a file from the Palo43 Overo SD Card 
to another computer through the USB Linux OTG cable doesn't work.
 
The Linux USB OTG cable is white like the one in a Gumstix video for another board, Summit,
yet on Palo43 it doesn't plug into the labeled OTG port but Host, like if Palo43 mislabeled the ports.

Is the Linux USB OTG cable wrong and I need another one, or what I am doing wrong?
  
(a PC is hooked on the USB Console port of Palo43, kermit runs on it;
another PC is hooked through Palo43's USB OTG port, kermit runs on it;
the Palo43 OTG USB port is prepared like this and I get all the messages from there:
 
 
the kermit on the PC hooked on the Console port is invoked by:
kermit -l /dev/ttyUSB0
then under overo-oe:~ set flow-control none, set carrier watch off, set speed 115200, connect
which triggers the uncompressing of Linux;
after uncompressing Linux, I log in as root, I have file saved on the SD Card, then to send file to the other computer
I run cat file > /dev/ttyUSB0 or I run kermit -s -l /dev/ttyUSB0;
on the other PC, the one hooked through Palo43's USB OTG port, I run the command set line /dev/ttyusb0 and I invoke kermit:
kermit -r -a /
but send and receive they start on respective PCs and don't work)

Ion A. Beza.
  • Hi Ion,

    Did you ever get this to work?  I'm doing a very similar thing would like to know how you ended up doing it.

    I'm trying to transfer data from one gumstix overo to another via the USB OTG.  I have a host (Master) and a peripheral (slave), hooked up accordingly.  I'm interested to see what commands or drivers did you end up using to do this type of USB data transfer.

  • Joe,

    You need to take care of below stuff,

    1. Make sure Host and device board are proper plug inserted at their ends. Mini-A has to be towards host side and mini-B towards device end.

    2. Enable CONFIG_USB_NET_CDCETHER at Driver->Networking->USB ethernet->CDC Ethernet

    3. Enable CONFIG_USB_ETH at Driver->Usb support-> Gadget support

    4. After bootup setup the ip addresses of usb0 interface on device end and usb1 inetrface on host end.

    5. Start the transfers

    Regards,

    Ajay

  • Thank you for suggestion. I got it working now.