From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oleksij Rempel Subject: Re: [PATCH] ALSA: hda - limit mic boost on Asus UX31[A, E] Date: Sun, 15 Dec 2013 18:13:06 +0100 Message-ID: <52ADE322.1040700@rempel-privat.de> 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by alsa0.perex.cz (Postfix) with ESMTP id 9AB6C261B05 for ; Sun, 15 Dec 2013 18:13:07 +0100 (CET) Received: from [192.168.1.138] ([93.218.116.213]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MS0c2-1VzIXR0Nnm-00THQ8 for ; Sun, 15 Dec 2013 18:13:07 +0100 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: Takashi Iwai Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org Am 28.11.2013 16:37, schrieb Takashi Iwai: > 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. Finally i got alsa-info for this one: http://www.alsa-project.org/db/?f=5da9b10d890dddf611389dc0b297bb130a57a4d1 > thanks, > > Takashi > -- Regards, Oleksij