[alsa-devel] softvol master has preference over virtual master in amixer

Takashi Iwai tiwai at suse.de
Sun Oct 21 12:12:33 CEST 2012


At Sun, 21 Oct 2012 17:51:00 +0800,
Raymond Yau wrote:
> 
> [1  <text/plain; UTF-8 (quoted-printable)>]
> 2012-10-21 下午4:42 於 "Takashi Iwai" <tiwai at suse.de> 寫道:
> >
> > At Fri, 19 Oct 2012 11:15:29 +0800,
> > Raymond Yau wrote:
> > >
> > > does softvol plugin "master" has any preference over vmaster in amixer ?
> >
> > No, it shouldn't.
> 
> Simple mixer control 'Master',0 Capabilities: pvolume pswitch
> pswitch-joined penum Playback channels: Front Left - Front Right Limits:
> Playback 0 - 255 Mono: Front Left: Playback 255 [100%] [191.00dB] [on]
> Front Right: Playback 255 [100%] [191.00dB] [on]
> 
> the dB value change to 191dB
> 
> it seem that alsa-lib is unable to find the correct tlv

Something wild is merged in his system.  It has a wrong "Master"
control without suffix.  Also a strange "Pre-Amp" control is found
there, too.  The string doesn't fix in kernel or alsa-lib codes at
all.


Takashi

> 
> >
> > >
> > >
> http://www.alsa-project.org/db/?f=44b26f5cd37f33bfef2871ff1fd250301bdb5364
> > >
> > > control.32 {
> > > iface MIXER
> > > name 'Master Playback Volume'
> > > value 64
> > > comment {
> > > access 'read write'
> > > type INTEGER
> > > count 1
> > > range '0 - 64'
> > > dbmin -6400
> > > dbmax 0
> > > dbvalue.0 0
> > > }
> > > }
> > >
> > > control.42 {
> > > iface MIXER
> > > name Master
> > > value.0 255
> > > value.1 255
> > > comment {
> > > access 'read write user'
> > > type INTEGER
> > > count 2
> > > range '0 - 255'
> > > tlv '0000000100000008ffffec1400000014'
> > > dbmin -5100
> > > dbmax 0
> > > dbvalue.0 0
> > > dbvalue.1 0
> > > }
> > >
> > > Card hw:0 'Intel'/'HDA Intel at 0xfeaf8000 irq 43'
> > >   Mixer name: 'Realtek ALC887-VD'
> > >   Components: 'HDA:10ec0887,10438445,00100302'
> > >   Controls      : 42
> > >   Simple ctrls  : 22
> > > Simple mixer control 'Master',0
> > >   Capabilities: pvolume pswitch pswitch-joined penum
> > >   Playback channels: Front Left - Front Right
> > >   Limits: Playback 0 - 255
> > >   Mono:
> > >   Front Left: Playback 255 [100%] [191.00dB] [on]
> > >   Front Right: Playback 255 [100%] [191.00dB] [on]
> > > Simple mixer control 'Headphone',0
> > >   Capabilities: pvolume pswitch penum
> > >   Playback channels: Front Left - Front Right
> > >   Limits: Playback 0 - 64
> > >   Mono:
> > >   Front Left: Playback 64 [100%] [0.00dB] [on]
> > >   Front Right: Playback 64 [100%] [0.00dB] [on]
> > > Simple mixer control 'PCM',0
> > >   Capabilities: pvolume penum
> > >   Playback channels: Front Left - Front Right
> > >   Limits: Playback 0 - 255
> > >   Mono:
> > >   Front Left: Playback 255 [100%] [0.00dB]
> > >   Front Right: Playback 255 [100%] [0.00dB]
> > >
> > > https://launchpadlibrarian.net/119782219/Symptom_PulseAudioLog.txt
> > >
> > > Oct 15 10:49:11 xaser pulseaudio[1601]: [pulseaudio] alsa-util.c:
> Unable to
> > > load mixer: Invalid argument
> [2  <text/html; UTF-8 (quoted-printable)>]
> 


More information about the Alsa-devel mailing list