1usb_string_descr(9S) Data Structures for Drivers usb_string_descr(9S)
2
3
4
6 usb_string_descr - USB string descriptor
7
9 #include <sys/usb/usba.h>
10
11
13 Solaris DDI specific (Solaris DDI)
14
16 The usb_string_descr_t string descriptor defines the attributes of a
17 string, including size and Unicode language ID. Other USB descriptors
18 may have string descriptor index fields which refer to specific string
19 descriptors retrieved as part of a device's configuration.
20
21
22 Please refer to Section 9.6.7 of the USB 2.0 specification. The USB 2.0
23 specification is available at www.usb.org.
24
25
26 A string descriptor has the following fields:
27
28 uint8_t bLength Size of this descriptor,
29 in bytes.
30
31 uint8_t bDescriptorType Set to USB_DESCR_TYPE_STRING.
32
33 uint16_t bString[1]; Variable length Unicode encoded
34 string.
35
36
38 See attributes(5) for descriptions of the following attributes:
39
40
41
42
43 ┌─────────────────────────────┬─────────────────────────────┐
44 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
45 ├─────────────────────────────┼─────────────────────────────┤
46 │Architecture │PCI-based systems │
47 ├─────────────────────────────┼─────────────────────────────┤
48 │Interface stability │Committed │
49 ├─────────────────────────────┼─────────────────────────────┤
50 │Availability │SUNWusbu │
51 └─────────────────────────────┴─────────────────────────────┘
52
54 attributes(5), usb_get_alt_if(9F), usb_get_cfg(9F),
55 usb_get_dev_data(9F), usb_get_string_descr(9F), usb_parse_data(9F),
56 usb_ctrl_request(9S)
57
58
59
60SunOS 5.11 5 Jan 2004 usb_string_descr(9S)