snd_hda_jack_pin_sense(9)
β¨ snd_hda_jack_pin_sense(9) β¨
okay so bestie, we're in the Kernel API Manual today and this page is literally all about snd_hda_jack_pin_sense β like, the whole entire function π
buckle up.
πΈ NAME πΈ
snd_hda_jack_pin_sense β execute pin sense measurement β¨
π SYNOPSIS π
u32 snd_hda_jack_pin_sense (struct hda_codec *codec , hda_nid_t nid ,
int dev_id );
π ARGUMENTS π
codecβ the CODEC to sense π like, the one we're actually checking outnidβ the pin NID to sense π― the specific pin we're putting under the microscopedev_idβ pin device entry id π·οΈ the little id tag for the pin's device entry
π¦ DESCRIPTION π¦
So what this does is: it executes the necessary pin sense measurement π«Ά and then returns its status bits β that's the Presence Detect, Impedance, ELD Valid etc. status bits π (yes, all of them, "etc." included, no cap).
β SEE ALSO β
Kernel file ./sound/hda/common/jack.c is where the whole friend group lives, iykyk:
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_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)
okay that's the whole vibe π this icon of a page came out of the ./sound/hda/common crew and it's dated October 2026 β go off, bestie, you ate πβ¨
π¦ 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