From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hui Wang Subject: Re: getting the sound to work on my asus m6s00v Date: Fri, 27 Mar 2015 12:00:29 +0800 Message-ID: <5514D5DD.1020002@canonical.com> References: <5a713868662bb9ea47f5a30bd1849ce8@swn.nu> <5508DD4D.3040901@canonical.com> <64443a816660f3098fc300c7d7b5a01f@swn.nu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from youngberry.canonical.com (youngberry.canonical.com [91.189.89.112]) by alsa0.perex.cz (Postfix) with ESMTP id E7D252604A6 for ; Fri, 27 Mar 2015 05:00:41 +0100 (CET) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Christian Gleerup , Raymond Yau Cc: ALSA Development Mailing List , nb List-Id: alsa-devel@alsa-project.org 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