---
name: "acm_bind_config"
section: "9"
platform: "linux"
package: "linux-manual-3.2"
version: "3.2.78-1"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/acm_bind_config"
---

# acm\_bind\_config(9)

add a CDC ACM function to a configuration

## NAME

acm\_bind\_config - add a CDC ACM function to a configuration

## SYNOPSIS

**int acm\_bind\_config(struct usb\_configuration \*** *c***, u8** *port\_num***);**

## ARGUMENTS

*c*

the configuration to support the CDC ACM instance

*port\_num*

/dev/ttyGS\* port this interface will use

## CONTEXT

single threaded during gadget setup

## DESCRIPTION

Returns zero on success, else negative errno.

Caller must have called *gserial\_setup*() with enough ports to handle all the ones it binds. Caller is also responsible for calling *gserial\_cleanup*() before module unload.

## AUTHOR

**David Brownell** \<dbrownell@users.sourceforge.net\>

Author.

## COPYRIGHT
