CDC ACM

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(description + spec)
 
(merging pages)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
'''USB CDC ACM''' (Universal Serial Bus - Class Definition for Communication Devices - Abstract Control Model) supports serial communication (including AT-commands) over USB.
+
[[USB]] CDC (Communications Device Class) ACM (Abstract Control Model) is a vendor-independent publicly documented protocol that can be used for emulating serial ports over USB.
  
 
CDC ACM is used to access the U-boot bootloader prompt over USB (see: [[U-boot#Using_usbtty_from_Linux]]).
 
CDC ACM is used to access the U-boot bootloader prompt over USB (see: [[U-boot#Using_usbtty_from_Linux]]).
 +
 +
== Hardware specifics ==
 +
 +
=== Neo1973 and CDC ACM ===
 +
 +
The Neo1973 [[u-boot]] boot loader contains support for obtaining the boot loader prompt over USB CDC ACM.
 +
 +
The Openmoko kernel also contains CDC ACM device support, contained in the '''g_serial.ko''' kernel module.
 +
 +
=== Host PC and CDC ACM ===
 +
 +
==== Linux ====
 +
 +
Linux has a generic CDC ACM host-side implementation in the kernel module '''cdc_acm.ko'''
 +
 +
On 2.6.25 this is at "Device Drivers -> USB support (USB_SUPPORT [=y]) -> Support for Host-side USB (USB [=m]) -> USB Modem (CDC ACM) support (USB_ACM)"
 +
 +
==== Windows ====
 +
 +
FIXME
 +
 +
==== MacOS X ====
 +
See the [[MacOS_X#USB_Serial|USB Serial section in the MacOS X article]].
  
  
 
=== Specification ===
 
=== Specification ===
 
http://www.usb.org/developers/devclass_docs/usbcdc11.pdf (3.6.2.1)
 
http://www.usb.org/developers/devclass_docs/usbcdc11.pdf (3.6.2.1)
 +
 +
See http://wiki.openmoko.org/wiki/USB_CDC_ACM from more information
 +
 +
[[Category:Protocol]]
 +
[[Category:USB]]

Latest revision as of 10:49, 31 March 2010

USB CDC (Communications Device Class) ACM (Abstract Control Model) is a vendor-independent publicly documented protocol that can be used for emulating serial ports over USB.

CDC ACM is used to access the U-boot bootloader prompt over USB (see: U-boot#Using_usbtty_from_Linux).

Contents

[edit] Hardware specifics

[edit] Neo1973 and CDC ACM

The Neo1973 u-boot boot loader contains support for obtaining the boot loader prompt over USB CDC ACM.

The Openmoko kernel also contains CDC ACM device support, contained in the g_serial.ko kernel module.

[edit] Host PC and CDC ACM

[edit] Linux

Linux has a generic CDC ACM host-side implementation in the kernel module cdc_acm.ko

On 2.6.25 this is at "Device Drivers -> USB support (USB_SUPPORT [=y]) -> Support for Host-side USB (USB [=m]) -> USB Modem (CDC ACM) support (USB_ACM)"

[edit] Windows

FIXME

[edit] MacOS X

See the USB Serial section in the MacOS X article.


[edit] Specification

http://www.usb.org/developers/devclass_docs/usbcdc11.pdf (3.6.2.1)

See http://wiki.openmoko.org/wiki/USB_CDC_ACM from more information

Personal tools

USB CDC ACM (Universal Serial Bus - Class Definition for Communication Devices - Abstract Control Model) supports serial communication (including AT-commands) over USB.

CDC ACM is used to access the U-boot bootloader prompt over USB (see: U-boot#Using_usbtty_from_Linux).


Specification

http://www.usb.org/developers/devclass_docs/usbcdc11.pdf (3.6.2.1)