• Home
  • Raw
  • Download

Lines Matching full:serial

2 Linux Gadget Serial Driver v2.0
27 This document and the gadget serial driver itself are
36 Versions of the gadget serial driver are available for the
38 version 2.3 or later of the gadget serial driver in a 2.6
44 USB and serial devices. It also assumes you configure the Linux
56 The gadget serial driver is a Linux USB gadget driver, a USB device
61 The gadget serial driver talks over USB to either a CDC ACM driver
62 or a generic USB serial driver running on a host PC::
69 | (Linux or | Serial | and | |
79 | Linux | Serial | Driver |--------
84 On the device-side Linux system, the gadget serial driver looks
85 like a serial device.
87 On the host-side system, the gadget serial device looks like a
90 to other serial devices.
94 interface. Gadget serial has been tested with the Linux ACM driver,
95 the Windows usbser.sys ACM driver, and the Linux USB generic serial
98 With the gadget serial driver and the host side ACM or generic
99 serial driver running, you should be able to communicate between
101 serial cable.
103 The gadget serial driver only provides simple unreliable data
105 features of normal serial devices.
108 Installing the Gadget Serial Driver
110 To use the gadget serial driver you must configure the Linux gadget
112 Controller" (for example, net2280), and for the "Serial Gadget"
117 Then you must load the gadget serial driver. To load it as an
145 The /dev/ttyGS0 line should work like most any other serial port.
148 If gadget serial is loaded as an ACM device you will want to use
150 serial is loaded as a bulk in/out device, you will want to use the
151 Linux generic serial driver on the host side. Follow the appropriate
161 When the gadget serial driver is loaded and the USB device connected
163 gadget serial device and ask for a driver. Tell Windows to find the
166 For example, on Windows XP, when the gadget serial device is first
171 Windows will complain that the Gadget Serial driver has not passed
177 should see "Gadget Serial" listed as the driver for one of the COM
180 To uninstall the Windows XP driver for "Gadget Serial", right click
181 on the "Gadget Serial" entry in the "Device Manager" and select
191 Once the gadget serial driver is loaded and the USB device connected
193 the gadget serial device. For example, the command::
203 S: Product=Gadget Serial
217 Installing the Linux Host Generic USB Serial Driver
219 To use the Linux generic USB serial driver you must configure the
221 Serial Converter support", and for the "USB Generic Serial Driver".
223 Once the gadget serial driver is loaded and the USB device connected
225 the gadget serial device. For example, the command::
235 S: Product=Gadget Serial
238 I: If#= 0 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=serial
243 to configure it to recognize the gadget serial device, like this::
245 echo 0x0525 0xA4A6 >/sys/bus/usb-serial/drivers/generic/new_id
252 system log saying something like "Gadget Serial converter now
258 Once the gadget serial driver and the host driver are both installed,
264 session. Under "Serial port setup" set "/dev/ttygserial" as the
265 "Serial Device". Set baud rate, data bits, parity, and stop bits,
270 but use "/dev/ttyACM0" as the "Serial Device". (If you have other
273 On a Linux host running the USB generic serial driver, configure
274 minicom similarly, but use "/dev/ttyUSB0" as the "Serial Device".
275 (If you have other USB serial devices connected, change the device
279 COM port assigned to Gadget Serial. The "Port Settings" will be
280 set automatically when HyperTerminal connects to the gadget serial