ir_raw_event_store_edge(9)
πΈ ir_raw_event_store_edge(9) πΈ
okay so bestie, welcome to the Kernel API Manual π this one's a lil function from the Linux kernel, and honestly? it's giving "quietly iconic middle-management energy" β nobody claps for it, but the whole raw IR decoding situation would simply collapse without it. no cap.
β¨ NAME β¨
ir_raw_event_store_edge β the lil messenger that tells the raw ir decoders "hey babe, a pulse/space just STARTED" π«Ά
π SYNOPSIS π
int ir_raw_event_store_edge (struct rc_dev *dev , bool pulse );
π¦ ARGUMENTS π¦
devβ thestruct rc_devdevice descriptor π like, the actual remote-control device we're talking about here.pulseβtruefor pulse,falsefor space β¨ that's it, that's the whole mood. pulse = light on, space = light off, we love a binary queen.
π DESCRIPTION π
so this routine literally stores the beginning of an ir pulse or space β or the start/end of ir reception β so the raw ir decoding state machines can do their thing π§ it's the "mark the timestamp-ish moment, the decoders will handle the rest" vibe.
and bestie, read this part twice: this routine may be called from an interrupt context ππ so like, behave accordingly, okay?
it's specifically for hardware that doesn't hand you durations directly β those ones that only fire interrupts (or similar events) on a state change π so the driver's like "idk how long it's been, but something CHANGED" and this function is the one that takes that info and feeds it into the raw decoding machinery. no durations? no problem, we work with what we have π
π SEE ALSO π
- Kernel file
./drivers/media/rc/rc-ir-raw.cπ ir_raw_event_store(9)ir_raw_event_store_with_filter(9)ir_raw_event_set_idle(9)ir_raw_event_handle(9)ir_raw_gen_manchester(9)ir_raw_gen_pd(9)ir_raw_gen_pl(9)ir_raw_encode_scancode(9)ir_raw_edge_handle(9)ir_raw_encode_carrier(9)
π reminder bestie:devis thestruct rc_devdescriptor,pulseistruefor pulse /falsefor space. don't get it twisted, iykyk.
and that's the whole page, periodt π
tysm for reading, ily π«Ά this lil gem lives in ./drivers/media/rc, dated October 2026, and it's filed under Kernel API Manual as ir_raw_event_store_edge(9) β go forth and decode, main character ππ
π¦ 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