ir_jvc_decode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” the struct rc_dev descriptor of the device. it's giving "who am i and what hardware am i attached to" main character energy πŸ’…
  • ev β€” the struct ir_raw_event descriptor 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