ByteScope

0x0C/0x0005

HID Usage 0x0C/0x0005 — Headphone

CAConsumer

0x0C/0x0005 is the HID usage Headphone on the Consumer page — usage 5 in decimal, 0x000C0005 as a 32-bit extended usage.

Everything runs locally in your browser — nothing is uploaded.

Hex
0x05
Dec
5
Name
Headphone
Usage page
0x0C · Consumer
Page, padded
0x000C
Usage id
0x05 · 0x0005
32-bit usage
0x000C0005
Usage Type
CA
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

The collection wrapping the controls on a pair of headphones rather than the audio path: the inline remote, the earcup buttons, the surface a finger touches. A host reads it to know that the volume keys belong to the headset and not to the system. Headphone is the name the HID Usage Tables give usage 0x05 on the Consumer page, and it is a proper noun that is not translated anywhere on this site. Usage Type: CA. Application Collection — a wrapper, not a control. It tells the host what the report inside it is for, and it never carries a value of its own. 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 05 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 0x05. The spellings you will meet are 0x0C/0x05 in a datasheet, the padded 0x000C/0x0005 in a table, the flattened 32-bit 0x000C0005 that a four-byte Usage item encodes and that hidrd and Windows tools print, and decimal — page 12, usage 5 — which is what a few libraries hand you. Written out the way a bug report usually says it: usage page 0x0c usage 05. All of those are this one control. Hardware that sends it: USB-C headsets with inline remotes, gaming headsets with an earcup volume dial.

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 05 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 0x05 fits in one byte names Headphone, 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 Headphone wherever it appears in whatever you paste.

Traps

Reading the id without the page is the classic mistake — 0x05 on 0x0C is Headphone, and 0x05 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 0x0005 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 CA, 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.

OffsetBytesItem
005 0CUsage Page (Consumer)
209 01Usage (Consumer Control)
4A1 01Collection (Application)
615 00Logical Minimum (0)
825 01Logical Maximum (1)
1075 01Report Size (1)
1295 01Report Count (1)
1409 05Usage (Headphone)
1681 02Input (Data, Variable, Absolute)
1895 07Report Count (7)
2081 03Input (Constant, Variable, Absolute)
22C0End 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.

Not asked yet — press Connect to look for 0x0005

Browser Support Matrix

WebHID is currently supported in Chromium-based desktop browsers. Learn more about WebHID support

FeatureChromeEdgeFirefoxSafari
navigator.hid device pickerChromium desktop browsers only.SupportedSupportedNot supportedNot supported
Live input reportsReceives live input reports via WebHID.SupportedSupportedNot supportedNot 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.UntestedUntestedNot supportedNot applicable
Paste-a-descriptor decodingPure computation — works in all browsers, no device attached.SupportedSupportedSupportedSupported
Opening a keyboard or mouseWindows blocks top-level keyboard and mouse collections from WebHID entirely; macOS and Linux generally allow them.Partial supportPartial supportNot supportedNot supported

Detected browser capabilities

  • navigator.hid …
  • Secure Context (HTTPS) …

Frequently asked questions

The tables give a Usage Type — does the device have to honour it?

The type describes what the control *is*, and a device that declares the usage is saying it behaves that way. But a descriptor cannot enforce it, and firmware does get this wrong — a media key declared as an OSC that actually latches is a real thing you will meet. The type tells you what a host should expect; the reports tell you what the device did.

Why does my one-byte Usage item name the wrong control?

Because the size lives in the item prefix, and a usage above 0xFF does not fit in one byte. 09 E9 names usage 0xE9; naming 0x01E9 needs 0A E9 01, low byte first. A descriptor that writes the low byte alone silently names a different usage, and it still parses, which is what makes this bug hard to see.

Can I trust a decoded usage name to be the standard one?

The names here come from the HID Usage Tables, and where this site found the tables and a decoder disagreeing it fixed the tables — the AC Reply All and AC Forward Msg numbering was one slot out until this batch checked it against Linux's own mapping. Anything the site has no source for is printed as a number, never as a plausible guess.

Is anything uploaded when I paste a descriptor or connect a device?

No. The decoder runs in this tab and WebHID never leaves the browser. This site does not open a device for writing, does not claim it, and stores nothing: close the page and the bytes are gone.

Looking for a different usage? browse the page index.

USB-IF — HID Usage Tables