From: Takashi Iwai Subject: Re: alsactl adds volume controls? Date: Mon, 30 Aug 2010 10:01:44 +0200 Message-ID: References: <4C77CE1D.2070501@canonical.com> <4C77DD09.3060909@ladisch.de> <4C78059B.50801@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 mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 8E9412437B for ; Mon, 30 Aug 2010 10:01:44 +0200 (CEST) Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.221.2]) by mx2.suse.de (Postfix) with ESMTP id 688858726A for ; Mon, 30 Aug 2010 10:01:44 +0200 (CEST) In-Reply-To: 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: ALSA Development Mailing List List-Id: alsa-devel@alsa-project.org At Sat, 28 Aug 2010 06:58:20 +0800, Raymond Yau wrote: > > 2010/8/28 David Henningsson > > > 2010-08-27 17:43, Clemens Ladisch skrev: > > > David Henningsson wrote: > > >> So I've discovered that my sound card has a "PCM Playback Volume" > > >> control, but changing that control does not alter the volume. > > >> > > >> Interestingly enough, this control does not come from the HDA parser, it > > >> is added by alsactl at boot time...! > > > > > > This control was created by the software volume plugin. When not using > > > this plugin, the control does not have any effect. > > > > > > To get rid of it, delete its entry from /etc/asound.state. > > > > Hmm, I wonder if this is an Ubuntu-specific bug then? Because when I run > > Maverick (the upcoming Ubuntu release) from a Live-CD, the "PCM Playback > > Volume" control is still there (and there is no asound.state, neither in > > /etc or in /var/lib/alsa). > > When I use the plughw interface, the "PCM Playback Volume" does not > > affect volume output. Should I use another device string to test the > > softvol plugin, to see if it's there or not? > > > > The softvol plugin it is defined in "front" device in > /usr/share/alsa/cards/HDA-Intel.conf > > reason is some HDA codec does not has any hardware volume control (analog) > > this user-defined control only effective when the application use "front" > device Hm, but if PA opens the device with SND_PCM_NO_SOFTVOL flag, the softvol should be skipped. Takashi