ir_xmp_decode(9)
β¨ NAME β¨
okay so bestie, welcome to ir_xmp_decode(9) from the Kernel API Manual β this is the function that decodes one XMP pulse or space. literally one. iconic little job π
β¨
π SYNOPSIS π
int ir_xmp_decode (struct rc_dev *dev , struct ir_raw_event ev );
π ARGUMENTS π
devβ thestruct rc_devdescriptor of the device. it's giving βwhich device are we even talking aboutβ energy π«Άevβ thestruct ir_raw_eventdescriptor of the pulse/space. the actual pulse-or-space moment in question πΈ
π¦ DESCRIPTION π¦
so here's the tea, bestie: this function returns -EINVAL if the pulse violates the state machine. that's the vibe. no cap π
lowkey important: the specific return to watch for is -EINVAL, and it happens when the pulse violates the state machine. periodt π
π₯ SEE ALSO π₯
- Kernel file
./drivers/media/rc/ir-xmp-decoder.cβ go read the source, it's right there πβ¨
mwah π β from ./drivers/media/rc, October 2026, ir_xmp_decode(9). byeee π¦π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms