Gumstix serial device emulation

Once you have the kernel built for peripheral mode, getting the gumstix to emulate a serial port is pretty straight forward, just load the g_serial module. This will create a device called /dev/ttyGS0.

modprobe g_serial
cat /dev/random > /dev/ttyGS0

I could get about 3.5 Kilobytes a second over the link.

You can also use g_multi to get serial and mass storage at the same time:

modprobe g_multi file=/file_store_data

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>