# HID Usage 0x0C/0x0030 — Power

> 0x0C/0x0030 is the HID Consumer usage Power. Usage Type OOC. Decode a report descriptor in the browser. Also written 0x000C0030, decimal 48.

- URL: https://bytescope.dev/en/hid-inspector/usages/0c/30/
- Locale: en · Also: [ja](https://bytescope.dev/ja/hid-inspector/usages/0c/30.md) · [zh-Hant](https://bytescope.dev/zh-Hant/hid-inspector/usages/0c/30.md)
- Runs: Everything runs locally in your browser — nothing is uploaded.
- Requires: Chrome, Edge or Opera on desktop (WebHID). Not Firefox, Safari or mobile.
- Updated: 2026-09-08

## What it does

### What this is

The soft power key on a media device — an On/Off Control, so what the host receives is the *state* the user selected rather than an edge. Generic Desktop has its own `System Power Down`; this one is the appliance's power button, and a media-key handler should not treat it as a shutdown request. `Power` is the name the HID Usage Tables give usage 0x30 on the Consumer page, and it is a proper noun that is not translated anywhere on this site. Usage Type: `OOC`. On/Off Control — the device reports a **state**, not a keypress. Read it as 'this is currently on' rather than as 'someone pressed the key', or a host that toggles on every report will end up disagreeing with the hardware about which way round things are. The source is the Usage Type column of the HID Usage Tables' own Consumer page, not this site's inference.

### 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 0x30. The spellings you will meet are `0x0C/0x30` in a datasheet, the padded `0x000C/0x0030` in a table, the flattened 32-bit `0x000C0030` that a four-byte `Usage` item encodes and that `hidrd` and Windows tools print, and decimal — page 12, usage 48 — which is what a few libraries hand you. Written out the way a bug report usually says it: usage page 0x0c usage 30. All of those are this one control. Hardware that sends it: TV and receiver remotes, monitor power buttons routed over HID, some laptop media rows.

### 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 30 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 0x30 fits in one byte names Power, `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 Power wherever it appears in whatever you paste.

### Traps

Reading the id without the page is the classic mistake — 0x30 on 0x0C is Power, and 0x30 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 0x0030 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 `OOC`, 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.

## Limits

Does not write feature reports or remap devices; it decodes report descriptors and shows live input reports.

## FAQ

### 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.
