From patchwork Wed Mar 18 02:05:01 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hui Wang X-Patchwork-Id: 6036021 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E598D9F2A9 for ; Wed, 18 Mar 2015 02:05:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1B0F8204E4 for ; Wed, 18 Mar 2015 02:05:29 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 9B7112041D for ; Wed, 18 Mar 2015 02:05:27 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 07C6F260438; Wed, 18 Mar 2015 03:05:26 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NO_DNS_FOR_FROM, UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 5CF07260418; Wed, 18 Mar 2015 03:05:17 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 5AF9726041D; Wed, 18 Mar 2015 03:05:15 +0100 (CET) Received: from youngberry.canonical.com (youngberry.canonical.com [91.189.89.112]) by alsa0.perex.cz (Postfix) with ESMTP id 56ED1260418 for ; Wed, 18 Mar 2015 03:05:09 +0100 (CET) Received: from [123.123.250.98] (helo=[192.168.1.103]) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1YY3M4-0001C6-8q; Wed, 18 Mar 2015 02:05:08 +0000 Message-ID: <5508DD4D.3040901@canonical.com> Date: Wed, 18 Mar 2015 10:05:01 +0800 From: Hui Wang User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Christian Gleerup , alsa-devel@alsa-project.org References: <5a713868662bb9ea47f5a30bd1849ce8@swn.nu> In-Reply-To: <5a713868662bb9ea47f5a30bd1849ce8@swn.nu> Subject: Re: [alsa-devel] getting the sound to work on my asus m6s00v X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" 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 X-Virus-Scanned: ClamAV using ClamSMTP On 03/18/2015 05:45 AM, Christian Gleerup wrote: > I had some problems getting the sound to work on my asus m6s00v > (I think that is the model, it is a bit worn so I can't really read it) > > the symptoms was > * on the integrated speakers, no sound at all > * on the headphone speakers, sound for a very very short period that faded into nothing. > > with help from debianuser on freenode#alsa we managed to get it working. > the option that i had to load the module with is the following: > sudo modprobe snd-hda-intel model=3stack-digout > the status now (perfect)... > * sound on integrated speaker. > * sound in headphones (disables integrated speaker output which is fine) > * mic works, both for direct playback and recording > * when recording it is the 'digital' channel that controls the volume of the recording level, all others > > Notice: > I don't have OSS or pulseaudio installed. > > I am thinking it would be really nice if the driver automatically could detect that this option is required. > > this is the output from the alsa-info script > http://www.alsa-project.org/db/?f=28b98a3bd1efc6a80dbd5c54b52c4472d8ea5496 > > let me know if I can do anything to help with this. It seems the latest kernel already had a fixup for this machine, but the fixup is ALC880_FIXUP_ASUS_W5A instead of ALC880_FIXUP_3ST_DIG. Probably you should use latest upstream kernel without "model=3stack-digout" to test again, if it can't fix your problem, maybe the patch below can work. ALC880_FIXUP_6ST_AUTOMUTE), > Regards. > > > _______________________________________________ > Alsa-devel mailing list > Alsa-devel@alsa-project.org > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel > --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -1349,7 +1349,7 @@ static const struct hda_fixup alc880_fixups[] = { static const struct snd_pci_quirk alc880_fixup_tbl[] = { SND_PCI_QUIRK(0x1019, 0x0f69, "Coeus G610P", ALC880_FIXUP_W810), - SND_PCI_QUIRK(0x1043, 0x10c3, "ASUS W5A", ALC880_FIXUP_ASUS_W5A), + SND_PCI_QUIRK(0x1043, 0x10c3, "ASUS W5A", ALC880_FIXUP_3ST_DIG), SND_PCI_QUIRK(0x1043, 0x1964, "ASUS Z71V", ALC880_FIXUP_Z71V), SND_PCI_QUIRK_VENDOR(0x1043, "ASUS", ALC880_FIXUP_GPIO1), SND_PCI_QUIRK(0x147b, 0x1045, "ABit AA8XE",