snd_hda_jack..._gating_jack(9)
okay so bestie, welcome to snd_hda_jack..._gating_jack(9) from the Kernel API Manual β yes the name is a whole mouthful, and we love that for us π
. This page is short, sweet, and literally about setting a gating jack. No cap.
π NAME π
snd_hda_jack_set_gating_jack β Set gating jack. That's the function, that's the mission, that's the vibe. β¨
β¨ SYNOPSIS β¨
Here's the signature, copied exactly so nobody has to guess:
int snd_hda_jack_set_gating_jack (struct hda_codec *codec , hda_nid_t
gated_nid , hda_nid_t gating_nid );
π ARGUMENTS π
Three args, bestie, and they're all doing their little job:
codecβ the HDA codec. That's literally the HDA codec, periodt.gated_nidβ gated pin NID.gating_nidβ gating pin NID.
π¦ DESCRIPTION π¦
Here's the tea π«: this indicates the gated jack is only valid when the gating jack is plugged in. So like, gated jack = valid only if gating jack is plugged. That's the whole rule, no extra lore, fr fr.
π SEE ALSO π
Kernel file ./sound/hda/common/jack.c is the source spot, and the SEE ALSO squad is:
is_jack_detectable(9)snd_hda_jack_tbl_get_mst(9)snd_hda_jack_tbl_get_from_tag(9)snd_hda_jack_tbl_new(9)snd_hda_jack_set_dirty_all(9)snd_hda_jack_pin_sense(9)snd_hda_jack_detect_state_mst(9)snd_hda_jack_detect_enable_callback_mst(9)snd_hda_jack_detect_enable(9)snd_hda_jack_bind_keymap(9)snd_hda_jack_set_button_state(9)snd_hda_jack_report_sync(9)snd_hda_jack_add_kctl_mst(9)snd_hda_jack_add_kctls(9)snd_hda_jack_unsol_event(9)snd_hda_jack_poll_all(9)
okay that's the page, bestie π β source/version: ./sound/hda/common; date: October 2026; manual-page name: snd_hda_jack..._gating_jack(9). bye and 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