From: Takashi Iwai Subject: Re: [PATCH] ALSA: hda - limit mic boost on Asus UX31[A, E] Date: Thu, 28 Nov 2013 16:37:32 +0100 Message-ID: References: <1385568723-4412-1-git-send-email-linux@rempel-privat.de> <52963308.9090400@rempel-privat.de> <52971181.9050306@rempel-privat.de> <52975FE8.4070307@rempel-privat.de> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 5149D261A2B for ; Thu, 28 Nov 2013 16:37:32 +0100 (CET) In-Reply-To: <52975FE8.4070307@rempel-privat.de> 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: Oleksij Rempel Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Thu, 28 Nov 2013 16:23:20 +0100, Oleksij Rempel wrote: > > Am 28.11.2013 11:22, schrieb Takashi Iwai: > > At Thu, 28 Nov 2013 10:48:49 +0100, > > Oleksij Rempel wrote: > >> > >> Am 27.11.2013 18:59, schrieb Oleksij Rempel: > >>> Am 27.11.2013 17:18, schrieb Takashi Iwai: > >>>> At Wed, 27 Nov 2013 17:12:03 +0100, > >>>> Oleksij Rempel wrote: > >>>>> > >>>>> This both devices need limit for internal dmic. > >>>>> > >>>>> Signed-off-by: Oleksij Rempel > >>>> > >>>> Ah, you have this Zenbook. While I'll take your patch, yet a > >>>> counter-question to you: > >>>> > >>>> I got a bug report complaining that the output level on this (or > >>>> similar) machine is too low compared with Windows. Is it so on yours, > >>>> too? > >>> > >>> I'll check it ASAP ;) > >>> > >>>> If so, does the patch below make the level equivalent? > >>>> The reporter isn't responsive, so need more better testing... > >>>> > >>>> BTW, I'd suggest to name the new fixup in your patch as > >>>> ALC269VB_FIXUP_ZENBOOK (or ALC269VB_FIXUP_ASUS_ZENBOOK) as my patch > >>>> does. > >> > >> Hi right now i did only one test: > >> On sender and reciver i use audacity to generate 1000Hz signal and to > >> capture it for measuring. > >> For microphone i use logitech c905 webcam. Distance between right > >> speaker and mic is 24cm. > >> > >> Windows and Linux was configured for maximal volume. On linux i use > >> maximal alsa volume, not pulse. On windows no plugins are used. > >> Windwos 7 64bit, latest realtek driver. > >> Ubuntu Linux 13.10, kernel 3.12.0-031200rc6-generic. > >> > >> Both Windows and Linux have same volume. Check attachment in audacity. > >> > >> Reported issue may be result of enabled compressor plugin on windows. > >> > >> I will need some more time to test in on UX31A, there is no windows on > >> this machine. > > > > Thanks, that's really helpful! So, we don't need the pre-amp verbs. > > > > I'll likely keep these verbs applied only when a special model option > > is given. > > Hi Takashi, > > we found by one of our LUG users same MIC_LIMIT issue. Reported codec is > ALC269VB, but subsystem pci_id overlap with some other device. Or may be > i misinterpreted some thing. Can you please take a look on it (it is > Lenovo 43308HG): > > 00:1b.0 0403: 8086:3b56 (rev 05) > Subsystem: 17aa:38af > Flags: bus master, fast devsel, latency 0, IRQ 43 > Memory at f2800000 (64-bit, non-prefetchable) [size=16K] > Capabilities: > Kernel driver in use: snd_hda_intel > Kernel modules: snd-hda-intel > > Lenovo-B560:~$ sudo dmidecode | grep Prod > Product Name: 43308HG > Product Name: MoutCook Could you give alsa-info.sh output on this machine? It's likely just to add a new entry in alc269_fixup_tbl[] with ALC269_FIXUP_LIMIT_INT_MIC_BOOST, but the comprehensive information would be better. BTW, I already applied your patch in for-linus branch. thanks, Takashi