0x0C/0x0091
HID Usage 0x0C/0x0091 — Media Select CD
0x0C/0x0091 is the HID usage Media Select CD on the Consumer page — usage 145 in decimal, 0x000C0091 as a 32-bit extended usage.
Everything runs locally in your browser — nothing is uploaded.
- Hex
- 0x91
- Dec
- 145
- Name
- Media Select CD
- Usage page
- 0x0C · Consumer
- Page, padded
- 0x000C
- Usage id
- 0x91 · 0x0091
- 32-bit usage
- 0x000C0091
- Usage Type
- Sel
- Source
- The usage name comes from the HID Usage Tables as shipped in
@tools/core-hid. The Usage Type is read from the tables' own Usage Type column; where this site has no source for one it says so instead of printing a plausible letter pair. The descriptor snippet is generated from the usage id and decoded by the same parser /hid-inspector/ uses, so it cannot describe a descriptor that would not actually parse.
What this is
Selects the CD transport as the source. On a multi-disc receiver it also implies which mechanism the transport keys act on, so Play after this key means play the CD rather than the tape. Media Select CD is the name the HID Usage Tables give usage 0x91 on the Consumer page, and it is a proper noun that is not translated anywhere on this site. Usage Type: Sel. Selector — one member of a set, meaningful only inside the array that owns it. A report says which member was picked, once. The source is the Usage Type column of the HID Usage Tables' own Consumer page, not this site's inference.
In a report descriptor
The bytes a descriptor uses to declare this one control, decoded by the same parser /hid-inspector/ runs. Load it into the decoder below to see it taken apart item by item.
05 0C 09 01 A1 01 15 00 25 01 75 01 95 01 09 91 81 02 95 07 81 03 C0
Where you see it
A usage only means anything together with its page, so the thing you are actually holding is the pair: usage page 0x0C usage 0x91. The spellings you will meet are 0x0C/0x91 in a datasheet, the padded 0x000C/0x0091 in a table, the flattened 32-bit 0x000C0091 that a four-byte Usage item encodes and that hidrd and Windows tools print, and decimal — page 12, usage 145 — which is what a few libraries hand you. Written out the way a bug report usually says it: usage page 0x0c usage 91. All of those are this one control. Hardware that sends it: Hi-fi receivers, CD changers, car head units with a disc slot.
What to do
A minimal descriptor that declares just this control is 05 0C 09 01 A1 01 15 00 25 01 75 01 95 01 09 91 81 02 95 07 81 03 C0. Read left to right: 05 0C sets the usage page to Consumer (0x0C), 09 01 names the Consumer Control application collection, A1 01 opens it, 15 00 25 01 says each field is 0 or 1, 75 01 95 01 makes it one bit wide and one field long, then a one-byte Usage item (0x09), because 0x91 fits in one byte names Media Select CD, 81 02 declares it as a variable input bit, 95 07 81 03 pads the byte out with seven constant bits, and C0 closes the collection. Paste it into the decoder below and it comes back as exactly that. If you have the hardware, /hid-inspector/ reads the descriptor straight off the device over WebHID and decodes live reports, which is Chromium-only and has to start from a button you press. The decoder on this page is not: it runs offline, in any browser, with no device and no permission prompt, and it highlights Media Select CD wherever it appears in whatever you paste.
Traps
Reading the id without the page is the classic mistake — 0x91 on 0x0C is Media Select CD, and 0x91 on any other page is an unrelated control. A one-byte Usage item is not interchangeable with a two-byte one: the size lives in the item prefix, and a descriptor that declares 0x0091 in one byte when it does not fit silently names a different usage. Multi-byte item data is little-endian, low byte first, which is the other half of the same bug. And the control type is not decoration: this one is Sel, so a host that treats it as some other type will be wrong about whether a held key repeats, latches or does nothing. A descriptor is also free to declare a usage the device never actually sends; the tables say what a number means, not that a device implements it.
What to do next
/hid-inspector/ is the live tool: paste a descriptor or read one off a device over WebHID, walk the collections, and decode incoming reports field by field. The overview for this page is at /hid-inspector/usages/0c/ and the full page index at /hid-inspector/usages/. /usb-device-info/ identifies the device behind a descriptor by vendor and product id, /gamepad-test/ covers pads reported through the Generic Desktop page, and /keyboard-test/ shows what the operating system finally did with a key. Nothing on any of them is uploaded.
Decode a descriptor (no device needed)
Paste report descriptor bytes as hex. This runs entirely in this tab, in any browser, with no device and no permission prompt — and any item that names this usage is highlighted.
1 item(s) name this usage — highlighted below.
| Offset | Bytes | Item |
|---|---|---|
| 0 | 05 0C | Usage Page (Consumer) |
| 2 | 09 01 | Usage (Consumer Control) |
| 4 | A1 01 | Collection (Application) |
| 6 | 15 00 | Logical Minimum (0) |
| 8 | 25 01 | Logical Maximum (1) |
| 10 | 75 01 | Report Size (1) |
| 12 | 95 01 | Report Count (1) |
| 14 | 09 91 | Usage (Media Select CD) |
| 16 | 81 02 | Input (Data, Variable, Absolute) |
| 18 | 95 07 | Report Count (7) |
| 20 | 81 03 | Input (Constant, Variable, Absolute) |
| 22 | C0 | End Collection |
Check your own device
Chrome or Edge only, and the connection has to start from this button. The device's report descriptor is read and searched for this usage; nothing is opened for writing and nothing is uploaded.
Browser Support Matrix
WebHID is currently supported in Chromium-based desktop browsers. Learn more about WebHID support
| Feature | Chrome | Edge | Firefox | Safari |
|---|---|---|---|---|
| navigator.hid device pickerChromium desktop browsers only. | Supported | Supported | Not supported | Not supported |
| Live input reportsReceives live input reports via WebHID. | Supported | Supported | Not supported | Not supported |
| Connecting a device on AndroidWe have not tested this on Android. Firefox ships no WebHID on any platform, and Safari does not exist on Android. | Untested | Untested | Not supported | Not applicable |
| Paste-a-descriptor decodingPure computation — works in all browsers, no device attached. | Supported | Supported | Supported | Supported |
| Opening a keyboard or mouseWindows blocks top-level keyboard and mouse collections from WebHID entirely; macOS and Linux generally allow them. | Partial support | Partial support | Not supported | Not supported |
Detected browser capabilities
- navigator.hid …
- Secure Context (HTTPS) …