From: Takashi Iwai Subject: Re: Muting of the "Front" mixer control Date: Thu, 05 Aug 2010 12:37:11 +0200 Message-ID: References: <4C597C6A.3070300@canonical.com> 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 mx1.suse.de (cantor.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id 8581A24557 for ; Thu, 5 Aug 2010 12:37:11 +0200 (CEST) In-Reply-To: <4C597C6A.3070300@canonical.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: David Henningsson Cc: "alsa-devel@alsa-project.org" List-Id: alsa-devel@alsa-project.org At Wed, 04 Aug 2010 16:42:50 +0200, David Henningsson wrote: > > Here's an interesting problem which I'm not sure whether it should be > fixed in PulseAudio or the driver, but I'm starting here. > > I have a laptop with a HDA VIA VT1708 chip and would like auto-muting. > VIA advertises auto-muting by changing the "Front Playback Switch" (see > sound/pci/hda/patch_via.c:2023, via_hp_automute). > > Now PulseAudio's default mixer path, "analog-output", treats "Front" as > part of the volume merge chain, which in this case is incorrect, and so > when the switch gets muted, PA thinks that the chain is muted and gets > confused (as in: no sound output, and PA advertises to g-v-c and others > that it is now muted). > > It seems to me like from PA's perspective the name should have been > "Speaker Playback Switch" instead, but VIA does not seem to use > "Speaker" at all, and BIOS seems to have set up my caps for Speaker as > "Line out", so I'm not sure if this is the right way to do it. > > For reference, here's my alsa-info: > http://launchpadlibrarian.net/53047763/alsa-info.txt.JUhgxH8rDZ The current implementation of VIA HD-audio codecs are somehow messy and I hope someone will really clean up the stuff there to follow other standards. Takashi