snd_hdac_set_codec_wakeup(9)
π snd_hdac_set_codec_wakeup(9) β Kernel API Manual, section 9, bestie
okay so real talk, this is a page from the Kernel API Manual, section 9 β aka the big-girl kernel dev section, not your cute little userland commands. sit down, hydrate, and let's get into it π«Ά
β¨ NAME β¨
snd_hdac_set_codec_wakeup β turn the HDMI/DP codec wakeup on or off, that's the whole gig π
πΈ SYNOPSIS πΈ
int snd_hdac_set_codec_wakeup (struct hdac_bus *bus , bool enable );
π ARGUMENTS π
busβ the HDA core bus. yeah. that one. the bus bestie πenableβ literally just says whether you're enabling or disabling the wakeup. on or off. no in-between, no vibes-based middle ground π
π¦ DESCRIPTION π¦
so this function has a very specific lane, okay? it's supposed to be used only by a HD-audio controller driver that needs to interact with the graphics driver. like, it's not for everybody. it's giving exclusive. it's giving invite-only π§
and when do you call it? during the chip reset β which, fun fact, also gets called at resume for updating the STATESTS register read π₯ so yeah, reset energy and resume energy both.
returns zero for success, or a negative error code if it went sideways π (classic kernel move).
π SEE ALSO π
- Kernel file
./sound/hda/core/component.c snd_hdac_display_power(9)snd_hdac_sync_audio_rate(9)snd_hdac_acomp_get_eld(9)snd_hdac_acomp_register_notifier(9)snd_hdac_acomp_init(9)snd_hdac_acomp_exit(9)
all of these are the friend group, go say hi π
ngl if you're here it's because you're writing an HD-audio controller driver and you need to talk to the graphics driver. main character energy. good luck bestie π
β and that's the page!! brought to you by ./sound/hda/core, dated October 2026 β mwah, ily, go reset a chip responsibly ππ
π¦ 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