snd_hda_override_pin_caps(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the snd_hda_override_pin_caps(9) page in the Kernel API Manual β€” this is the override-the-pin-capabilities moment, and yes the manual name is right there so you can cite it in the group chat πŸ’…βœ¨

🌸 NAME 🌸

snd_hda_override_pin_caps β€” override the pin capabilities. that's the name, and it's giving exactly what it says on the tin πŸŽ€

✨ SYNOPSIS ✨

int snd_hda_override_pin_caps (struct hda_codec *codec , hda_nid_t nid ,
unsigned int caps );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • codec β€” the CODEC. like, the codec in question πŸ’–
  • nid β€” the NID to override 🎯
  • caps β€” the capability bits to set ✨

πŸ”₯ DESCRIPTION πŸ”₯

Override the cached PIN capabilitiy bits value by the given one. lowkey that's the whole vibe, bestie: you hand it a caps value and it becomes the cached PIN capabilitiy bits value πŸ’…

Returns zero if successful or a negative error code. so: success gives you zero, anything negative is the error-code ick 😭

πŸ‘‘ SEE ALSO πŸ‘‘

check out the kernel file ./sound/hda/common/hda_local.h, plus the besties snd_hda_set_pin_ctl(9), snd_hda_set_pin_ctl_cache(9), and snd_hda_query_pin_caps(9) 🫢


mwah πŸ’– source/version: ./sound/hda/common Β· date: October 2026 β€” that's the footer, bestie, we're done ✨

πŸ“¦ where this page comes from