Enumerate Mini2440 USB port slave as UART

bluscape
Where can I find a driver that will enumerate the USB slave port on the
Mini2440 as a UART?

I would like to connect the Mini2440 to a host computer that runs a
application with UART communications. The host computer does not have a
serial port.

Juergen Beisert
A current linux kernel comes with all drivers you need to make the Mini2440
acting as a serial or printer device when connecting to a host.

bluscape
Hi Juergen,

Do you have any pointers on how I can accomplish that?
Where will I get the drivers for the host side? Libusb?

Thank you

Juergen Beisert
If the host is also a Linux based system you only have to load the USB
drivers for serial or printer devices (it depends on the module you load at
your Mini2440). At the end you get a device node in dev/ on your Mini2440
and your host you can open/read/write on both sides

Zogzog
If you're talking about the USB Device as a Serial connection,
You can use one of the usb gadget kernel modules (the serial one).

Documentation/usb/gadget_serial.txt

Zogzog.

bluscape
Hi Zogzog,

The gadget serial drivers works great thank you.

MC