ir_sony_decode(9)
π ir_sony_decode(9) π
okay so bestie, welcome to the Kernel API Manual for ir_sony_decode β yes that's the manual name, we're in the kernel API manual section, and this little function is the moment. it's giving "one job, does it well" energy and honestly? obsessed. π
β¨ NAME β¨
ir_sony_decode β decode one Sony pulse or space π¦
like literally one. one pulse or one space. that's the whole gig. no cap.
β¨ SYNOPSIS β¨
int ir_sony_decode (struct rc_dev *dev , struct ir_raw_event ev );
yes the spacing is exactly like that, do not come for me, I'm just the messenger π
β¨ ARGUMENTS β¨
devβ thestruct rc_devdescriptor of the device. it's the main character of the remote-control universe, it holds the device info, and this function needs it π«Άevβ thestruct ir_raw_eventdescriptor of the pulse/space. this is the actual signal crumb being handed over for inspection πΈ
β¨ DESCRIPTION β¨
so here's the tea: this function returns -EINVAL if the pulse violates the state machine. π
that's it. that's the whole description. it's a state machine soldier and it does not tolerate pulses that break the rules. vibe check failed = -EINVAL. periodt. β
β¨ SEE ALSO β¨
- Kernel file
./drivers/media/rc/ir-sony-decoder.cβ the source, go read it, it's iconic π ir_sony_encode(9)β the other half of the duo, the encoder to this decoder, fr fr π₯
so yeah, that's the page π go forth and decode responsibly. sending you the best vibes, mwah π§
β with love, from ./drivers/media/rc, dated October 2026 ππ
π¦ 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