$FreeBSD: releng/11.0/share/man/man4/usb_template.4 301587 2016-06-08 07:39:55Z trasz $
Copyright (c) 2008 Hans Petter Selasky. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
(The comments found at the beginning of the groff file "man4/usb_template.4freebsd".)
- USB templates
To compile this module into the kernel, place the following line in
your kernel configuration file:
To load the module at boot time, place the following line in
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 endpoint descriptors, USB strings and additional USB
The USB template module currently has templates for USB Mass Storage,
USB CDC Ethernet and Message Transfer Protocol.
USB templates are currently selected using the "hw.usb.template"
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.
module complies to the USB 1.0, 2.0 and 3.0 standard.
module was written by
An Hans Petter Selasky Aq hselasky@FreeBSD.org .