ir_jvc_decode(9)
π ir_jvc_decode(9) β the kernel API manual, but make it make sense π
okay so bestie, welcome to ir_jvc_decode(9), straight out of the Kernel API Manual β¨ this is the whole page, no skips, no "you'll figure it out" energy. let's go π¦
πΈ NAME πΈ
ir_jvc_decode β decode one JVC pulse or space π«
like, one. singular. one pulse, or one space. that's the whole job. icon behavior honestly π
β¨ SYNOPSIS β¨
int ir_jvc_decode (struct rc_dev *dev , struct ir_raw_event ev );
that's it, that's the signature, copy it exactly, don't @ me π«Ά
π ARGUMENTS π
devβ thestruct rc_devdescriptor of the device. it's giving "who am i and what hardware am i attached to" main character energy πevβ thestruct ir_raw_eventdescriptor of the pulse/space. literally the one pulse-slash-space being fed in π
π DESCRIPTION π
so here's the vibe check: this function returns -EINVAL if the pulse violates the state machine π
β οΈ no cap β if the pulse breaks the state machine rules, you get -EINVAL back. that's the documented behavior, periodt. don't come crying to me, come crying to the state machine π
π₯ SEE ALSO π₯
./drivers/media/rc/ir-jvc-decoder.cβ the kernel file where all the magic lives, go read it bestie πir_jvc_encode(9)β the other half of the duo, the encode to this decode π§β
and that's the page!! π ngl this one's short but she's efficient π
sign-off time, and it's so cute: this glorious little doc comes from ./drivers/media/rc πΈ dated October 2026 π slay, stay decoding, iykyk π¦π
π¦ 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