snd_hda_gen..._auto_config(9)
π snd_hda_gen..._auto_config(9) β like, the abbreviated page name, bestie
okay so real talk, you're reading a page out of the Kernel API Manual π«Ά and the full function name got a lil truncated in the header (it's snd_hda_gen_parse_auto_config, iykyk), but everything you need is right here, no cap.
β¨ NAME β¨
snd_hda_gen_parse_auto_config β parses the BIOS configuration you hand it and sets up the hda_gen_spec π
πΈ SYNOPSIS πΈ
int snd_hda_gen_parse_auto_config (struct hda_codec *codec , struct auto_pin_cfg *cfg );
π¦ ARGUMENTS π¦
codecβ the HDA codec, that's the main character right there πcfgβ the parsed pin configuration, literally the whole point π―
π DESCRIPTION π
so here's the vibe check: it returns 1 if it's successful β¨, returns 0 if the proper config is not found π, or returns a negative error code π.
that's it. that's the whole description. she's short but she ate. periodt. π
π SEE ALSO π
- kernel file
./sound/hda/codecs/generic.c snd_hda_gen_spec_init(9)snd_hda_gen_add_kctl(9)snd_hda_get_path_idx(9)snd_hda_get_path_from_idx(9)snd_hda_add_new_path(9)snd_hda_activate_path(9)snd_hda_gen_add_mute_led_cdev(9)snd_hda_gen_add_micmute_led_cdev(9)snd_hda_gen_fix_pin_power(9)snd_hda_gen_update_outputs(9)snd_hda_gen_hp_automute(9)snd_hda_gen_line_automute(9)snd_hda_gen_mic_autoswitch(9)snd_hda_gen_path_power_filter(9)snd_hda_gen_stream_pm(9)snd_hda_gen_shutup_speakers(9)snd_hda_gen_build_controls(9)snd_hda_gen_build_pcms(9)snd_hda_gen_init(9)snd_hda_gen_remove(9)snd_hda_gen_check_power_status(9)
this whole crew lives under ./sound/hda/codecs β go say hi to them, they're all iconic in their own way π§
and that's the page, bestie π sign-off time: this one comes to you from ./sound/hda/codecs, dated October 2026 β go forth and parse those configs, you're gonna slay πβ¨
π¦ 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