[alsa-devel] getting the sound to work on my asus m6s00v
Hui Wang
hui.wang at canonical.com
Fri Mar 27 05:00:29 CET 2015
On 03/27/2015 05:27 AM, Christian Gleerup wrote:
> I have done a couple of things
> First I left the laptop off with no power connected;
> This made the laptop awake in the non functional state regarding the soundcard.
> I then used this opportunity to update to the latest kernel.
>
> With the latest kernel, the sound is still not working.
> Unmuting the S/PDIF in alsamixer turn on red light in the headphone jack.
>
> also, using 3stack-digout option doesn't bring back sound.
>
> This is the output from the alsa information tool
> http://www.alsa-project.org/db/?f=df46a9ee01e04dde11b194e0278c9f22594540d0
>
> after updating this is the output from various commands
>
> [
> Nothing plugged in:
> ./hdajacksensetest -a
> Pin 0x14 (Green Headphone, Rear side): present = No
> Pin 0x15 (Not connected): present = No
> Pin 0x16 (Not connected): present = No
> Pin 0x17 (Not connected): present = No
> Pin 0x18 (Internal Mic): present = Yes
> Pin 0x19 (Not connected): present = No
> Pin 0x1a (Not connected): present = Yes
> Pin 0x1b (Not connected): present = No
> Pin 0x1c (Not connected): present = No
> Pin 0x1d (Not connected): present = No
> Pin 0x1e (Internal SPDIF Out, Mobile-In): present = No
> Pin 0x1f (Not connected): present = No
>
> ./hda-verb /dev/snd/hwC0D0 0x1{4,5,8} SET_PIN_SENSE 0 nid
> nid = 0x14, verb = 0x709, param = 0x0
> value = 0x0
>
> nid = 0x15, verb = 0x709, param = 0x0
> value = 0x0
>
> nid = 0x18, verb = 0x709, param = 0x0
> value = 0x0
>
> ./hda-verb /dev/snd/hwC0D0 0x1{4,5,8} GET_PIN_SENSE 0 nid
> nid = 0x14, verb = 0xf09, param = 0x0
> value = 0x80001f41
>
> nid = 0x15, verb = 0xf09, param = 0x0
> value = 0x80001f41
>
> nid = 0x18, verb = 0xf09, param = 0x0
> value = 0x7fffffff
> ]
>
> [
> With headphone plugged in
> ./hdajacksensetest/hdajacksensetest -a
> Pin 0x14 (Green Headphone, Rear side): present = No
> Pin 0x15 (Not connected): present = Yes
> Pin 0x16 (Not connected): present = No
> Pin 0x17 (Not connected): present = No
> Pin 0x18 (Internal Mic): present = Yes
> Pin 0x19 (Not connected): present = No
> Pin 0x1a (Not connected): present = Yes
> Pin 0x1b (Not connected): present = No
> Pin 0x1c (Not connected): present = No
> Pin 0x1d (Not connected): present = No
> Pin 0x1e (Internal SPDIF Out, Mobile-In): present = No
> Pin 0x1f (Not connected): present = No
>
> // and also ecact same output for hda-verb as with nothing plugged in
> ]
>
> [
> with Mic plugged in, the following items changed
>
> ./hdajacksensetest/hdajacksensetest -a
> Pin 0x14 (Green Headphone, Rear side): present = Yes
> Pin 0x15 (Not connected): present = Yes
> Pin 0x16 (Not connected): present = No
> Pin 0x17 (Not connected): present = No
> Pin 0x18 (Internal Mic): present = Yes
> Pin 0x19 (Not connected): present = No
> Pin 0x1a (Not connected): present = Yes
> Pin 0x1b (Not connected): present = No
> Pin 0x1c (Not connected): present = No
> Pin 0x1d (Not connected): present = No
> Pin 0x1e (Internal SPDIF Out, Mobile-In): present = No
> Pin 0x1f (Not connected): present = No
>
> ./hda-verb /dev/snd/hwC0D0 0x15 GET_PIN_SENSE 0 nid
> nid = 0x15, verb = 0xf09, param = 0x0
> value = 0x7fffffff
>
> ./hda-verb /dev/snd/hwC0D0 0x18 GET_PIN_SENSE 0 nid
> nid = 0x18, verb = 0xf09, param = 0x0
> value = 0x80001f41
> ]
>
It looks like the pin connection map as below:
0x14: external mic in jack
0x15: external headphone jack
0x18: internal mic
0x1a: internal speaker
0x1e: internal SPDIF Out
More information about the Alsa-devel
mailing list