From: Takashi Iwai Subject: Re: 1.0.15rc3 patch_analog.s bug + fix Date: Wed, 17 Oct 2007 09:34:40 +0200 Message-ID: References: <20071015025303.GA17664@jay.phy.queensu.ca> <200710161039.55191.anarsoul@gmail.com> <200710162130.51168.anarsoul@gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 03D352449F for ; Wed, 17 Oct 2007 10:14:39 +0200 (CEST) In-Reply-To: <200710162130.51168.anarsoul@gmail.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: Vasily Khoruzhick Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Tue, 16 Oct 2007 21:30:50 +0300, Vasily Khoruzhick wrote: > = > > At Tue, 16 Oct 2007 10:39:55 +0300, > > > > Vasily Khoruzhick wrote: > > > [1 ] > > > > > > On Monday 15 October 2007 23:34:21 Peter Skensved wrote: > > > > > Hmm, the code logic looks correct to me. =A0If HP jack is present= , the > > > > > internal speaker should be muted. =A0Otherwise it follows the sta= te of > > > > > HP jack (muted/unmuted, that acts as a master switch) > > > > > > Code logic is broken. > > > Internal speakers muted while jack unplugged and unmuted while it's > > > plugged. > > > > No, it's the wrong logic. The internal speaker should be unmuted when > > HP is unplugged, and muted when plugged. You don't want to hear from > > both at the same time. > > > = > Sorry, i've made mistake, of course internal speakers should be muted whe= n = > jack plugged. Patch that I've attached to previous message has exactly th= at = > logic. Well, the point is that the logic in your patch was a bit confusing. "present" should have been renamed as "not_present" or so... > > This implies rather that the jack detection itself is reversed from > > the standard. =A0Could you try the patch below? > = > Your patch works. Thanks for confirmation. Now applied to HG tree. > But it seems that there's another bug - i have loud click when i to play = > something or change mixer settings after not using audio for ~1min I guess it's likely the auto power-saving feature. Could you set the module option power_save=3D0 for snd-hda-intel? thanks, Takashi