Project

General

Profile

Is there an Embedded Linux USB-Serial device driver in the kernel?

Added by Mike Costa about 13 years ago

I have a L138F with profibus board and am looking into options for communicating with a PC. I'd like to use USB if possible. Is there a device driver in the linux kernel that will allow the OMAP to enumerate as a USB-Serial device on a Windows machine?

Thanks,
Mike


Replies (3)

RE: Is there an Embedded Linux USB-Serial device driver in the kernel? - Added by Michael Williamson about 13 years ago

If you have the USB1.1 port hooked up (it is on the Industrial I/O profibus card, it's the a USB-A host connector), you can use pretty much any off the shelf USB to serial converter such as a Keyspan. If you have the drivers configured in the kernel configuration, the udev scripts should create a /dev/ttyUSB0 device when you plug it in.

I haven't personally tried the Serial Gadget devices on the USB0 (the 2.0 OTG port), but we have had customers use the RNDIS mode to create a USB-network style connection.

-Mike

RE: Is there an Embedded Linux USB-Serial device driver in the kernel? - Added by Michael Williamson about 13 years ago

If you are interested in making the USB 2.0 port look like a virtual serial port, here is more information about the Serial Gadget device (you'll need to reconfigure your kernel to get this going).

http://www.mjmwired.net/kernel/Documentation/usb/gadget_serial.txt

-Mike

RE: Is there an Embedded Linux USB-Serial device driver in the kernel? - Added by Mike Costa about 13 years ago

The Serial Gadget device is exactly what I am trying to do. thanks for the link, I will post how this goes.

Mike

    (1-3/3)
    Go to top
    Add picture from clipboard (Maximum size: 1 GB)