snd_hda_jack_tbl_new(9)
β¨ 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 β¨:
is_jack_detectable(9)snd_hda_jack_tbl_get_mst(9)snd_hda_jack_tbl_get_from_tag(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_set_gating_jack(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)
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
- 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