views:

69

answers:

1

I am working on an embedded Linux platform and I have need to transfer data between the platform and a PC. The embedded Linux has a usb device port (like a printer), so this is the means by which transfers would take place. I envision the easiest way to integrate Linux with the software already on the PC is to have the Linux device appear as a virtual com port on the PC.

I'm not even sure where to start for this. Is there some standard Linux software for achieving this?

Thank you very much for your time

+2  A: 

you should check out http://www.linux-usb.org/gadget/, usb gadget api under linux,

in the linux source code tree, there is "Documentation/usb/gadget_serial.txt", this should explain how to make the device appear as com port on connected host PC, provided that your hardware device usb port can work as usb host, check your device documentation

andycjw