wm8350_mic_jack_detect(9)
π wm8350_mic_jack_detect(9) π
okay so bestie, welcome to the Kernel API Manual β this one's a lil function from the kernel side of things and honestly? she's lowkey iconic. let's get into it β¨
πΈ NAME πΈ
wm8350_mic_jack_detect β literally just enable microphone jack detection. that's the whole vibe. π€β¨
π SYNOPSIS π
int wm8350_mic_jack_detect (struct snd_soc_component *component , struct
snd_soc_jack *jack , int detect_report , int short_report );
like yes she returns an int, and yes she takes four whole arguments. we love a function that knows what she wants π
π¦ ARGUMENTS π¦
componentβ the WM8350 component itself π§ like, the actual star of the showjackβ the jack you wanna report detection events on. this is where the gossip gets delivered π¬detect_reportβ the value to report when presence is detected π like "hey bestie, something's plugged in"short_reportβ the value to report when a microphone short is detected π short circuit moment fr fr
π DESCRIPTION π
so what she does is enable the microphone jack detection of the WM8350. that's it, that's the job. π€π
but here's the important part, and i need you to pay attention because this is giving plot twist: if both reports are specified as zero then detection is disabled. π like if detect_report and short_report are both 0, she's not detecting anything, she's just vibing. so don't come crying to me when nothing gets reported, okay? π«Ά
β SEE ALSO β
- Kernel file
./sound/soc/codecs/wm8350.cπ wm8350_hp_jack_detect(9)β her sibling, the headphone one π§π
π reminder bestie: zero + zero = detection OFF. no cap. don't forget it π
and that's the whole page!! π source/version is ./sound/soc/codecs, dated October 2026, and she's filed under wm8350_mic_jack_detect(9) β mwah, bye bestie π
ππ§
π¦ 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