ir_sharp_decode(9)
π NAME π
Okay so welcome to the ir_sharp_decode(9) manual page, bestie β todayβs main character is ir_sharp_decode, and she decodes one Sharp pulse or space. β¨
π SYNOPSIS π
int ir_sharp_decode (struct rc_dev *dev , struct ir_raw_event ev );
π¦ ARGUMENTS π¦
devβ thestruct rc_devdescriptor of the device π«Άevβ thestruct ir_raw_eventdescriptor of the pulse/space π
β¨ DESCRIPTION β¨
So hereβs the tea: this function returns -EINVAL if the pulse violates the state machine. Thatβs the whole vibe β pulse acts up, state machine says βnot today,β and you get -EINVAL back. No cap. π
π SEE ALSO π
- Kernel file
./drivers/media/rc/ir-sharp-decoder.cπ§ ir_sharp_encode(9)β
mwah π thatβs the whole page β source/version: ./drivers/media/rc, dated October 2026. Byeee! π
π¦ 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