usbdcore(8)

SYNPOSIS
usbdcore [maxstrings=20] [dbg= dbgstring ]

DESCRIPTION
The usbdcore module is the foundation of USB support. Its roles are to pass data between the bus interface (low) and function (high) layer modules, and to provide the enumeration services.

The usbdcore module should be loaded first because the other modules need its services.

Next, load the modules for any functions (network, serial, etc) to be made available to the host

Finally load the bus interface driver. After that, the device will respond to an enumeration request from the host.

LINUX CONFIGURATION PARAMETERS

These compilation parameters can be used to control the detailed behaviour of the net module.

CONFIG_USBD_VENDORID
    This hex parameter can be used to set the idVendor device descriptor value. Specific architectures with a known vendor id are pre-set (itsy, calypso, collie, iris).

CONFIG_USD_NET_PRODUCTID
    This hex parameter can be used to set the idProduct device descriptor value. Specific architectures with a known product id are pre-set (itsy, calypso, collie, iris).

CONFIG_USBD_PRODUCT_NAME
    This string parameter is used to set the iProduct device descriptor value.

CONFIG_USBD_MANUFACTURER
    This string parameter is used to set the iManufacturer device descriptor value.

CONFIG_USBD_USE_SERIAL_NUMBER
    This boolean parameter controls generation of a serial number for the iSerialNumber device descriptor value.

CONFIG_USBD_SERIAL_NUMBER_STR
    This string paramter is used to set the iSerialNumber device descriptor value.

CONFIG_USBD_SELFPOWERED
    This boolean parameter must be set if your device is self-powered.

CONFIG_USBD_MAXPOWER
    This int parameter must be set to a non-zero value if your device is not self-powered. The value is the power draw in milli-amps (mA).

MODULE LOAD PARAMETERS
For ordinary use, no parameters are needed. However, the following module parameters are supported:

The maxstrings parameter defines how many different strings can ever be sent over the bus during enumeration.

The parameter dbg parameter is only needed to produce debug output. It is quite flexible and its format is described more fully in the source code.

LINUX CONFIGURATION PARAMETERS

AUTHOR

Stuart Lynne <sl@lineo.com>

Bruce Balden <balden@lineo.com>

Tom Rushworth <tbr@lineo.com>

SEE ALSO

usbdbus(7), usbdfunc(7), usbd(8), usbdcore(8)

Universal Serial Bus Specification, Revision 2.0

Universal Serial Bus Class Definitions for Communications Devices, Version 1.1