[alsa-devel] softvol master has preference over virtual master in amixer
Raymond Yau
superquad.vortex2 at gmail.com
Sun Oct 21 15:05:11 CEST 2012
2012-10-21 下午6:12 於 "Takashi Iwai" <tiwai at suse.de> 寫道:
>
> 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.
>
the softvol plugin allow user to define the name of the control and dB range
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1066814
the user has a fresh install of kbuntu 12.04 and found the volume too low
for his alc887vd as he mention that he tried some asound.rc config
Oct 15 11:55:24 xaser pulseaudio[1606]: ( 0.111| 0.006) [alsa-sink]
alsa-sink.c: Requested volume: 0: 21450% 1: 21450%
Oct 15 11:55:24 xaser pulseaudio[1606]: ( 0.111| 0.000) [alsa-sink]
alsa-sink.c: in dB: 0: 191.00 dB 1: 191.00 dB
Oct 15 11:55:24 xaser pulseaudio[1606]: ( 0.111| 0.000) [alsa-sink]
alsa-sink.c: Got hardware volume: 0: 100% 1: 100%
Oct 15 11:55:24 xaser pulseaudio[1606]: ( 0.111| 0.000) [alsa-sink]
alsa-sink.c: in dB: 0: 0.02 dB 1: 0.02 dB
Oct 15 11:55:24 xaser pulseaudio[1606]: ( 0.111| 0.000) [alsa-sink]
alsa-sink.c: Calculated software volume: 0: 21336% 1: 21336%
(accurate-enough=no)
Oct 15 11:55:24 xaser pulseaudio[1606]: ( 0.111| 0.000) [alsa-sink]
alsa-sink.c: in dB: 0: 190.98 dB 1: 190.98 dB
did pulseaudio limited the sofware volume to some reasonable value or
warned about the extra ordinary large dB of the hardware volume
> >
> > >
> > > >
> > > >
> >
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]
More information about the Alsa-devel
mailing list