Home About us Send money Contacts Terms


Gadget Serial Driver on the USB device port

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.

Related links

Acme Systems srl
Via Aldo Moro 53 - 00055 Ladispoli (RM) - Italy
P.IVA/C.F. 08114831004
Tel + - Fax +39.06.622.765.31
Iscritta al Registro delle Imprese di Roma al n. 08114831004

Atmel© Certified Partner

Documentation Terms of Use
Acme Systems provides this documentation "as is" without warranty or guarantees of any kind. The maintainer of this site (Sergio Tanzilli), has gone to a great deal of effort into making this documentation as correct as possible. Acme Systems does not provide any direct support for the Open Source preinstalled software but does provide, 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 platforms. Please note that all of the preinstalled software, used on the Acme Systems products, are Open Source and you will need to check the license terms provided (usually the GPL) by each author before using it in any commercial or non-commercial product, by yourself. Before sending emails or calling the Acme staff please note that WE ARE MAINLY HARDWARE DESIGNERS and NOT LINUX GURUS and therefore ask that you post your questions directly to the forum listed below and ensure that all of the site contributors and large software community will read and reply to your questions.

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
Creative Commons License