ir_sanyo_decode(9)
π ir_sanyo_decode(9) β Kernel API Manual
okay so bestie, welcome to ir_sanyo_decode, straight out of the Kernel API Manual β¨ β this is the SANYO decoder page and it's short but she serves.
πΈ NAME πΈ
ir_sanyo_decode β decode one SANYO pulse or space π
Like, literally one. One single pulse. Or one single space. That's her whole job and she does it flawlessly π
β¨ SYNOPSIS β¨
int ir_sanyo_decode (struct rc_dev *dev , struct ir_raw_event ev );
that's it. that's the whole signature. she takes two things and returns an int, periodt π«Ά
π¦ ARGUMENTS π¦
devβ thestruct rc_devdescriptor of the device π this is the main character β the remote-control device struct she's decoding for, iykyk.evβ thestruct ir_raw_eventdescriptor of the pulse/space β this is the actual pulse or space being handed over, one at a time, no cap.
π DESCRIPTION π
So the way that this works is: she takes one SANYO pulse or space, feeds it through, and if the pulse violates the state machine she returns -EINVAL π
That's the whole vibe check β the state machine is the queen and if you break her rules you get -EINVAL, end of story π
no cap, that's literally the only documented return behaviour here: -EINVAL on a state machine violation. don't come for her, she's doing her best π
π SEE ALSO π
- Kernel file
./drivers/media/rc/ir-sanyo-decoder.cπ¦ β go read her source, she's iconic ir_sanyo_encode(9)π₯ β the other half of the duo, the encoder bestie
and that's the page!! π brought to you by ./drivers/media/rc, dated October 2026, titled ir_sanyo_decode(9) β mwah, sending you a forehead kiss, go decode some pulses πππ§
π¦ 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