snd_hda_jack..._gating_jack(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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:

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