snd_hda_jack_pin_sense(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 out
  • nid β€” the pin NID to sense 🎯 the specific pin we're putting under the microscope
  • dev_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:


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