HID-RECORDER(1)
π NAME π
hid-recorder β the HID input device recorder, bestie. That's it, that's the whole vibe.
β¨ SYNOPSIS β¨
hid-recorder [--output=output_file] [/dev/hidrawX] [[/dev/hidrawX] [...]]
π OPTIONS π
--output=path/to/fileβ sends the output into the file you name here instead of your terminal. Omit it andhid-recorderjust prints to stdout like a normal little icon. π«Ά
πΈ DESCRIPTION πΈ
okay so. hid-recorder captures report descriptors and hid reports (aka events) coming through the hidraw kernel module, then prints them all in a standardized format (scroll down, it's the next section, iykyk) so you can debug HID devices and replay them later. it's giving forensic girlboss energy fr fr.
run it with no arguments at all and it just shows you a list of the available devices β a little menu moment, we love to see it. π
heads up though: hid-recorder has to be able to read from the hidraw device. usually that means it must be run as root. no cap, the permissions check does not care about your feelings π
π¦ FILE FORMAT π¦
the output of hid-recorder follows this syntax, and these prefixes are exactly what the parser looks for, so don't get creative with them:
#β comment lines, ignored when parsing (your little margin notes, they see nothing)D:β the device index; only used when you're recording multiple devicesR:β the report descriptor length in bytes, followed by the report descriptor bytes in hexadecimalN:β the name of the deviceP:β physical pathI:β bus vendor_id product_idE:β timestamp size report in hexadecimal
π EXIT CODE π
hid-recorder returns 1 on error. that's the whole mood: chill when it works, 1 when it does not.
π₯ SEE ALSO π₯
hid-replay(1)β the other half of the duo, go say hi π
π COPYRIGHT π
Copyright 2012-2018, Benjamin Tissoires.
Copyright 2018, Red Hat, Inc.
π AUTHOR π
Benjamin Tissoires benjamin.tissoires@redhat.com
and that's the page bestie, go record some reports π β this one lives in the General Commands Manual, and the footer tag on it is literally just HID-RECORDER(1), signed off with the copyright years up above β¨π
π¦ where this page comes from
- arch rolling: hid-tools 0.12-2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms