acm_bind_config(9)

acm_bind_config9

Add a cdc acm function to a configuration

Usage

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

Overview

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.

Releases

2 releases since Debian 6.0 (Squeeze); the text changed 1 time.

  1. 6.0
  2. 7

Author

David Brownell <[email protected]>

Author.

From linux-manual-3.2 3.2.78-1 in Debian 7 (Wheezy). Parsed by carta from the page's man source.