Lines Matching +full:usb +full:- +full:c
2 .\" Copyright (c) 2008 Hans Petter Selasky. All rights reserved.
34 .Nd "USB device side templates"
40 .Bd -ragged -offset indent
46 .Bd -literal -offset indent
53 module implements various USB templates that are needed when
54 programming an USB device side driver.
56 A USB template consists of an USB device descriptor, one or more USB
57 configuration descriptors, one or more USB interface descriptors, one
58 or more USB endpoint descriptors, USB strings and additional USB
62 .Va hw.usb.template
69 .Va hw.usb.template
70 sysctl triggers reenumeration by the USB host; changes to other sysctls
74 .Bl -column -offset 3n "Value"
76 .It Dv 0 Ta USB Mass Storage, see
81 .It Dv 3 Ta USB serial port, see
83 .It Dv 4 Ta USB audio
84 .It Dv 5 Ta USB keyboard
85 .It Dv 6 Ta USB mouse
86 .It Dv 7 Ta USB phone
88 .It Dv 9 Ta USB MIDI
100 .Bl -tag -width indent
101 .It Va hw.usb.template
103 Set to -1 to make the device disappear from the USB host point of view.
104 .It Va hw.usb.template_power
107 Setting to 0 marks the device as self-powered.
109 .It Va hw.usb.templates.N
112 .It Va hw.usb.templates.N.vendor_id
113 16-bit vendor identifier (VID), usually assigned by USB-IF.
114 .It Va hw.usb.templates.N.product_id
115 16-bit product identifier (PID).
116 .It Va hw.usb.templates.N.manufacturer
117 String containing human-readable manufacturer name.
118 .It Va hw.usb.templates.N.product
119 String containing human-readable product name.
123 .Xr usb 4 ,
129 module complies to the USB 1.0, 2.0 and 3.0 standard.