snd_hda_override_pin_caps(9)
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
- 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