This article illustrate how to use the Linux Gadget Serial Driver to emulate an USB serial device accessible via a virtual serial port from your PC with a FOX Board.
To enable this feature is not requested any new driver on the factory default bootable microSD.
We'll illustrate how to communicate with a FOX Board wired to your PC with a simple USB cable using Hyper Terminal or putty on Windows PC.
Download and save on your PC this file linux-cdc-acm.inf.
Plug a miniUSB cable between the FOX Board USB device port and a USB host port on your PC.
Type on your FOX:
debarm:~# modprobe g_serial
Windows should recognize the gadget serial device and ask for a driver. Tell Windows to find the driver in the folder that contains the linux-cdc-acm.inf file. For example, on Windows XP, when the gadget serial device is first plugged in, the "Found New Hardware Wizard" starts up. Select Install from a list or specific location (Advanced)", then on the next screen select "Include this location in the search" and enter the path or browse to the folder containing the "linux-cdc-acm.inf" file. Windows will complain that the Gadget Serial driver has not passed Windows Logo testing, but select "Continue anyway" and finish the driver installation.
On Windows XP, in the "Device Manager" (under "Control Panel", "System", "Hardware") expand the "Ports (COM & LPT)" entry and you should see "Gadget Serial" listed as the driver for one of the COM ports.
Use Hyper Terminal or Putty to open this serial port.
On the FOX side you can open /dev/ttyGS0 for example using minicom -s to send chars.
Atmel© Certified Partner
Acme Systems provides this documentation "as is" without warranty or guarantees of any kind.
We not provide any direct support for the Open Source preinstalled software but, through
these pages and forum posts, all of the information required to obtain the sources, install, use and update the
Open Source software that can be run on the Acme boards.
Please note that all of the preinstalled software, used on the Acme Systems products, are Open Source so you have
to check the license terms provided by the authors (usually the GPL) before using it in any commercial or non-commercial
product, by yourself.
Before to contact us please note that WE ARE MAINLY HARDWARE DESIGNERS
and NOT LINUX GURUS and therefore could be better to post your questions to the
Acme Systems forum and ensure
that all of the site contributors and large software community can read and reply to
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.