ir_rcmm_decode(9)
π ir_rcmm_decode β the RCMM decoder era π
okay so real talk, this page is ir_rcmm_decode(9) from the Kernel API Manual, and bestie, if you're poking at RCMM infrared decoding in the kernel, you're gonna want this one. it's giving "niche but iconic" β¨
π NAME π
ir_rcmm_decode β decode exactly one RCMM pulse or space, that's it, that's the whole job π«Ά
β¨ SYNOPSIS β¨
int ir_rcmm_decode (struct rc_dev *dev , struct ir_raw_event ev );
like, yes, that spacing is literally how it's written, don't come for me π
πΈ ARGUMENTS πΈ
devβ thestruct rc_devdescriptor of the device π so we know whose vibe we're decoding.evβ thestruct ir_raw_eventdescriptor of the pulse/space β the actual little blip of IR we're looking at.
π¦ DESCRIPTION π¦
so what does it do? it decodes one RCMM pulse or space, periodt. π
but here's the important part, no cap: this function returns -EINVAL if the pulse violates the state machine π₯ like if the incoming pulse doesn't fit the rules the decoder is following, you get -EINVAL back. that's the whole warning, bestie, don't ignore it π
lowkey reminder: "violates the state machine" is the exact condition from the manpage β not me being dramatic, it's fr fr what it says π
π§ SEE ALSO π§
- Kernel file
./drivers/media/rc/ir-rcmm-decoder.cβ go read the source, iykyk π
and that's the page!! π cute little sign-off for you: this gem lives under ./drivers/media/rc and the date on it is October 2026 π so yeah, timestamped and everything, slay πβ¨
π¦ 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