img_ir_enable_wake(9)
π img_ir_enable_wake π
okay so this is a page straight out of the Kernel API Manual (yes bestie, the Kernel API Manual, we're fancy now β¨) and honestly? it's a little one but it's lowkey iconic. it's the img_ir_enable_wake function and it does exactly one thing: it flips the IR hardware into wake mode so your system can get yanked out of sleep by an IR signal. main character energy fr fr π
β¨ NAME β¨
img_ir_enable_wake β switch to wake mode, periodt π
π¦ SYNOPSIS π¦
int img_ir_enable_wake (struct img_ir_priv *priv );
that's it, that's the whole signature. one argument, one int coming back at you πΈ
π ARGUMENTS π
privβ the IR private data. that's the lil bundle of state for this IR device, and it's what you hand over so the function knows which IR thing we're switching into wake mode π
β RETURN β
it gives you back a non-zero value if the IR can wake the system π like, that's the tea β non-zero means "yes bestie, this thing can wake you up", and you should treat that as the win condition π«Ά
ngl, the return is the whole point of calling this β you're basically asking "can this IR wake the system?" and it answers with non-zero for yes π₯
π SEE ALSO π
the source lives in the kernel file ./drivers/media/rc/img-ir/img-ir-hw.c β go say hi to it, it's the home of all this π and here's the whole friend group of related pages, not one of them skipped because we don't do that here π
img_ir_control(9)img_ir_timing_range_convert(9)img_ir_symbol_timing(9)img_ir_free_timing(9)img_ir_free_timing_dynamic(9)img_ir_timings_convert(9)img_ir_decoder_preprocess(9)img_ir_decoder_convert(9)img_ir_write_timings(9)img_ir_set_decoder(9)img_ir_decoder_compatible(9)img_ir_allowed_protos(9)img_ir_disable_wake(9)β the literal opposite vibe, the "go back to sleep" bestie πimg_ir_probe_hw_caps(9)
and that's the whole page!! short and sweet, just like a good group chat message π this came out of ./drivers/media/rc/img-ir, dated October 2026, and it's titled img_ir_enable_wake(9) β slay, go wake something up π
β¨
π¦ 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