snd_hda_jack_tbl_new(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ snd_hda_jack_tbl_new(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’– this one's all about snd_hda_jack_tbl_new β€” and no, that's not a typo, that's the whole function name, she's long and she knows it πŸ’…


πŸŽ€ NAME πŸŽ€

snd_hda_jack_tbl_new β€” literally creates a jack-table entry for the given NID πŸ¦‹ no cap, that's the entire job.


🌸 SYNOPSIS 🌸

struct hda_jack_tbl * snd_hda_jack_tbl_new (struct hda_codec *codec ,
hda_nid_t nid , int dev_id );

(Yes, the formatting's like that. Not me, that's just how she was printed 😭)


πŸ’œ ARGUMENTS πŸ’œ

  • codec β€” the HDA codec πŸ’« that's your whole codec struct, the main character.
  • nid β€” the pin NID you're assigning to this entry 🎯 pin it, slay.
  • dev_id β€” the pin device entry id 🏷️ the little id number that tells you which device entry this is.

🫢 SEE ALSO 🫢

Okay this list is long so buckle up, bestie β€” the kernel file ./sound/hda/common/jack.c is the home base for all of these ✨:

the way that this is basically the entire jack.c friend group πŸ˜­πŸ’€ go read them, iykyk πŸ’…


fr fr bestie, if you're poking at HDA jacks, this whole list is your reading list. take notes πŸ“πŸ’–

✨ that's the whole page, you ate that ✨ and for the cute sign-off: this iconic piece of documentation lives under ./sound/hda/common and is dated October 2026 πŸŽ€ bye bestie, go make some jack-table entries πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from