From: Takashi Iwai Subject: Re: No recording on hda-intel (AD1981HD) Date: Tue, 12 Feb 2008 11:49:11 +0100 Message-ID: References: <200802032017.38614.grzegorz.chwesewicz@chilan.com> <200802081951.40111.grzegorz.chwesewicz@chilan.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 337891038B9 for ; Tue, 12 Feb 2008 11:49:14 +0100 (CET) In-Reply-To: <200802081951.40111.grzegorz.chwesewicz@chilan.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Grzegorz Chwesewicz Cc: alsa-devel@alsa-project.org, chilek@chilan.com List-Id: alsa-devel@alsa-project.org At Fri, 8 Feb 2008 19:51:39 +0100, Grzegorz Chwesewicz wrote: > = > Friday 08 of February 2008 16:57:37 Takashi Iwai napisa=B3(a): > > At Fri, 08 Feb 2008 13:24:52 +0100, > > > > I wrote: > > > BTW, do you have problems found in below? > > > https://bugzilla.novell.com/show_bug.cgi?id=3D297703 > > > > > > According to the reporter, nc6400 with AD1981 has a problem with > > > headphone jack auto-muting and with the non-linear master volume. > > > > > > I supplied two test patches there. > > > > For convenience, I attach patches here. > = > Hi, I had no time to test your first patch (this one which check if irq = > handler is called), I've only tested it for a while (working on MSI turne= d = > on, sometimes hard locks my laptop). > = > I also have similiar problems with automute, and non-linear master volume = > control. = > = > Without automute patch, automute works from time to time. With your patch = > applied to latest git it works all the time, until the recording breaks. = When = > it happens I have sound only in headphones, but not in internal speaker. = > Pluging and unpluging HP doesn't help, only reloading hda-intel fixes = > problem. = > Assuming, your automute patch is ok, but it helps me only until mic break= s. OK, this patch is now on HG tree. > Without ad1981-hp-master-amp-fix muting (muting=3Ddisabling it, not makin= g it's = > value equal 0) "Master" and "PCM" control works ok. Decrementing Master a= nd = > PCM controls to 0 is possible, but after that I can hear very quiet outpu= t = > from internal speakers. > With your patch (ad1981-hp-master-amp-fix) applied to latest git I can't = > decrement Master control to 0 (I can do that with PCM, but behavior is sa= me = > as described upper). I can only decrement it to value 3, and when I press = > down key (in alsamixer) to step to lower level of loudness, it's switchin= g to = > value 103. When Master has 103 value I can hear very quiet output from = > internal speakers and HP (if plugged). The patch will change only the behavior of Master control. PCM should be as same as before. What "value" are you referring in the above context? Is it a raw mixer value, percent or dB, or the codec amp value? Maybe we need to make clear how the master volume control behaves. According to the original bug reporter, the master volume behaves like below: - from 0% to 49% sounds are still audible, and the volume doesn't change at all - from 50% to 100% sounds get louder normally How about yours? Takashi