USB_TEMPLATE(4FREEBSD) - Linux manual page online | Special files
USB device side templates.
Chapter
June 8, 2016
USB_TEMPLATE(4) BSD Kernel Interfaces Manual USB_TEMPLATE(4)
@FreeBSD.org>.
BSD June 8, 2016 BSD
NAME
usb_template — USB device side templatesSYNOPSIS
To compile this module into the kernel, place the following line in your kernel configura‐ tion file: device usb_template To load the module at boot time, place the following line in loader.conf(5): usb_template_load="YES"DESCRIPTION
The usb_template module implements various USB templates that are needed when programming an USB device side driver. A USB template consists of an USB device descriptor, one or more USB configuration descriptors, one or more USB interface descriptors, one or more USB end‐ point descriptors, USB strings and additional USB descriptors. USB templates are selected using the hw.usb.template sysctl and tunable. The hw.usb.template value can be changed at any time, but will not have any effect until the USB device has been re-enumerated. Avail‐ able templates are: Value Description 0 USB Mass Storage 1 CDC Ethernet 2 Media Transfer Protocol (MTP) 3 USB serial port 4 USB audio 5 USB keyboard 6 USB mouse 7 USB phone 8 CDC Ethernet and serial port 9 USB MIDISEE ALSO
cfumass(4), usb(4), usfs(4)STANDARDS
The usb_template module complies to the USB 1.0, 2.0 and 3.0 standard.HISTORY
The usb_template module was written by Hans Petter Selasky <
This manual | Reference | Other manuals |
---|---|---|
usb_template(4freebsd) | referred by | cfumass(4freebsd) | usfs(4freebsd) |
refer to | cfumass(4freebsd) | usb(4freebsd) | usfs(4freebsd) |