snd_hda_jack_detect_mst(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

Okay bestie, welcome to the Kernel API Manual entry for snd_hda_jack_detect_mst(9) β€” yes, that whole (9) is the section vibe, and we're about to make jack detection make sense, fr fr. 🎧✨

🌸 NAME 🌸

snd_hda_jack_detect_mst β€” detect the jack πŸ’…

Like, the function's whole NAME-section job is literally β€œDetect the jack.” Short, iconic, no notes. πŸ‘‘

✨ SYNOPSIS ✨

Here's the signature, copied exactly because we do not mess with code, periodt:

bool snd_hda_jack_detect_mst (struct hda_codec *codec , hda_nid_t nid ,
int dev_id );

πŸŽ€ ARGUMENTS πŸŽ€

  • codec β€” the HDA codec. That's the codec in question, the main character of this audio situation 🎧
  • nid β€” pin NID to check jack detection. So this is the pin NID you're checking for jack detection, iykyk πŸ“
  • dev_id β€” pin device entry id. That's the pin device entry id, and yes, keep the lowercase id exactly as written πŸͺͺ

πŸ‘€ SEE ALSO πŸ‘€

Kernel file to peek at: ./sound/hda/common/hda_jack.h β€” and these related (9) pages are all linked in the original, so here they are, every single one πŸ’–

Signed off from ./sound/hda/common β€” October 2026, for the snd_hda_jack_detect_mst(9) page in the Kernel API Manual πŸ«ΆπŸ’œ

πŸ“¦ where this page comes from