[alsa-devel] Issues and/or possible bugs in alsa

Raymond Yau superquad.vortex2 at gmail.com
Sun Apr 12 08:30:00 CEST 2015


>
> Headphones unplugged.
> [11:10:44 | yomi at xana ~/software/alsa-tools/hdajacksensetest] » sudo
./hdajacksensetest -c 1
> [sudo] password for yomi:
> Pin 0x18 (Black Mic, Right side): present = No
> Pin 0x21 (Black Headphone, Right side): present = No
>
> Headphones plugged in.
> [11:10:50 | yomi at xana ~/software/alsa-tools/hdajacksensetest] » sudo
./hdajacksensetest -c 1
> Pin 0x18 (Black Mic, Right side): present = Yes
> Pin 0x21 (Black Headphone, Right side): present = No
>
> That's odd. It seems to detect my headphones as being plugged into the
Mic jack. It isn't. It is plugged into the headphone jack. I checked.
> Haha. If I plug my headphones into the Mic Jack...alsamixer correctly
mutes the speakers and raises the volume of the headphones output.
>
> Headphones plugged into Mic Jack.
> [11:11:08 | yomi at xana ~/software/alsa-tools/hdajacksensetest] » sudo
./hdajacksensetest -c 1
> [sudo] password for yomi:
> Pin 0x18 (Black Mic, Right side): present = Yes
> Pin 0x21 (Black Headphone, Right side): present = Yes

It is quite strange that jack state are exchanged since pincap of 0x18 does
not support HP and node 0x21 does not support IN , you cannot exchange the
usage of these two jacks by retasking

Did your laptop sound  work with previous version or other os ?

How about disable jack detect using hint jack_detect=0 ?

https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/tree/Documentation/sound/alsa/HD-Audio.txt

you have to select mic jack using capture source and manually mute the
speaket


More information about the Alsa-devel mailing list