1ACM_BIND_CONFIG(9)          Kernel Mode Gadget API          ACM_BIND_CONFIG(9)
2
3
4

NAME

6       acm_bind_config - add a CDC ACM function to a configuration
7

SYNOPSIS

9       int acm_bind_config(struct usb_configuration * c, u8 port_num);
10

ARGUMENTS

12       c
13           the configuration to support the CDC ACM instance
14
15       port_num
16           /dev/ttyGS* port this interface will use
17

CONTEXT

19       single threaded during gadget setup
20

DESCRIPTION

22       Returns zero on success, else negative errno.
23
24       Caller must have called gserial_setup() with enough ports to handle all
25       the ones it binds. Caller is also responsible for calling
26       gserial_cleanup() before module unload.
27

AUTHOR

29       David Brownell <dbrownell@users.sourceforge.net>
30           Author.
31
33Kernel Hackers Manual 2.6.         June 2019                ACM_BIND_CONFIG(9)
Impressum