Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question

migrated from Sep 13 '11 at 10:56

This question came from our site for professional and enthusiast programmers.

Why was this migrated from StackOverflow? It seems SO is the right place for it. – Craig McQueen Sep 7 '12 at 3:56

You should check out, 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 slave, check your device documentation.

share|improve this answer

You must log in to answer this question.