From: Takashi Iwai Subject: Re: [patch] Fix headphone automute on Asus G50Vt laptops Date: Mon, 26 Apr 2010 18:32:58 +0200 Message-ID: References: <20100423200814.GA18620@shaftnet.org> <20100426152028.GA6550@shaftnet.org> <20100426162152.GB6550@shaftnet.org> 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 9BD7124614 for ; Mon, 26 Apr 2010 18:32:58 +0200 (CEST) In-Reply-To: <20100426162152.GB6550@shaftnet.org> 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: Solomon Peachy Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Mon, 26 Apr 2010 12:21:52 -0400, Solomon Peachy wrote: > > On Mon, Apr 26, 2010 at 05:33:15PM +0200, Takashi Iwai wrote: > > > > > > There's still the problem that the 'speaker' and the 'headphone' playback > > > mixer switch affecting both outputs instead of just the one, and I'm not > > > sure why -- If I toggle the 'OUT' pin on node 0x14 (speaker) and 0x21 > > > (headphone) it only affects that particular output. Same for their mute > > > controls. > > > > That's weird. So, changing the amp of only one of NIDs 0x02 or 0x03 > > influences really on both outputs...? > > That's just it -- there's something going on here that I don't > understand -- The mute swiches are defined as: > > HDA_CODEC_MUTE("Speaker Playback Switch", 0x14, 0x0, HDA_OUTPUT), > HDA_CODEC_MUTE("Headphone Playback Switch", 0x21, 0x0, HDA_OUTPUT), > > If manually toggle these pins using hda-analyzer, only that specifc > output is disabled/enabled. But if I use alsamixer to toggle these > switches, both outputs are disabled/enabled. I don't know enough about > the bowels of the ALSA codebase to even theorize why this could be > happening (though I am using the v1.0.22 userspace stuff against a > 1.0.23 kernel stack -- or maybe pulseaudio is mucking with something?) Hm, this doesn't appear on emulator, so I can't say what could be wrong. Try a naked system without PA once, just to be sure. > > Another thing you can try is to just use model=auto. > > With the latest version, it should work relatively well. > > I've never specified a model=xxxx argument. Leaving model=xxxx off > should be the same thing as model=auto, right? > (and by latest do you mean git head?) No, in your case, the specific model quirk is chosen. You need to pass model=auto explicitly. > In any case, the 'take3' patch is such an improvement over the former > state of affairs that in my opinion it should be applied -- we can > always apply another patch once the mute wonkiness is figued out. Yes. thanks, Takashi