<p><br>
2012-10-21 下午6:12 於 "Takashi Iwai" <<a href="mailto:tiwai@suse.de">tiwai@suse.de</a>> 寫道:<br>
><br>
> At Sun, 21 Oct 2012 17:51:00 +0800,<br>
> Raymond Yau wrote:<br>
> ><br>
> > [1  <text/plain; UTF-8 (quoted-printable)>]<br>
> > 2012-10-21 下午4:42 於 "Takashi Iwai" <<a href="mailto:tiwai@suse.de">tiwai@suse.de</a>> 寫道:<br>
> > ><br>
> > > At Fri, 19 Oct 2012 11:15:29 +0800,<br>
> > > Raymond Yau wrote:<br>
> > > ><br>
> > > > does softvol plugin "master" has any preference over vmaster in amixer ?<br>
> > ><br>
> > > No, it shouldn't.<br>
> ><br>
> > Simple mixer control 'Master',0 Capabilities: pvolume pswitch<br>
> > pswitch-joined penum Playback channels: Front Left - Front Right Limits:<br>
> > Playback 0 - 255 Mono: Front Left: Playback 255 [100%] [191.00dB] [on]<br>
> > Front Right: Playback 255 [100%] [191.00dB] [on]<br>
> ><br>
> > the dB value change to 191dB<br>
> ><br>
> > it seem that alsa-lib is unable to find the correct tlv<br>
><br>
> Something wild is merged in his system.  It has a wrong "Master"<br>
> control without suffix.  Also a strange "Pre-Amp" control is found<br>
> there, too.  The string doesn't fix in kernel or alsa-lib codes at<br>
> all.<br>
></p>
<p>the softvol plugin allow user to define the name of the control and dB range</p>
<p><a href="https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1066814">https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1066814</a><br></p>
<p>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<br></p>
<p>Oct 15 11:55:24 xaser pulseaudio[1606]: (   0.111|   0.006) [alsa-sink] alsa-sink.c: Requested volume: 0: 21450% 1: 21450%<br>
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<br>
Oct 15 11:55:24 xaser pulseaudio[1606]: (   0.111|   0.000) [alsa-sink] alsa-sink.c: Got hardware volume: 0: 100% 1: 100%<br>
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<br>
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)<br>
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<br>
  </p>
<p>did pulseaudio limited the sofware volume to some reasonable value or warned about the extra ordinary large dB of the hardware volume<br></p>
<p>> ><br>
> > ><br>
> > > ><br>
> > > ><br>
> > <a href="http://www.alsa-project.org/db/?f=44b26f5cd37f33bfef2871ff1fd250301bdb5364">http://www.alsa-project.org/db/?f=44b26f5cd37f33bfef2871ff1fd250301bdb5364</a><br>
> > > ><br>
> > > > control.32 {<br>
> > > > iface MIXER<br>
> > > > name 'Master Playback Volume'<br>
> > > > value 64<br>
> > > > comment {<br>
> > > > access 'read write'<br>
> > > > type INTEGER<br>
> > > > count 1<br>
> > > > range '0 - 64'<br>
> > > > dbmin -6400<br>
> > > > dbmax 0<br>
> > > > dbvalue.0 0<br>
> > > > }<br>
> > > > }<br>
> > > ><br>
> > > > control.42 {<br>
> > > > iface MIXER<br>
> > > > name Master<br>
> > > > value.0 255<br>
> > > > value.1 255<br>
> > > > comment {<br>
> > > > access 'read write user'<br>
> > > > type INTEGER<br>
> > > > count 2<br>
> > > > range '0 - 255'<br>
> > > > tlv '0000000100000008ffffec1400000014'<br>
> > > > dbmin -5100<br>
> > > > dbmax 0<br>
> > > > dbvalue.0 0<br>
> > > > dbvalue.1 0<br>
> > > > }<br>
> > > ><br>
> > > > Card hw:0 'Intel'/'HDA Intel at 0xfeaf8000 irq 43'<br>
> > > >   Mixer name: 'Realtek ALC887-VD'<br>
> > > >   Components: 'HDA:10ec0887,10438445,00100302'<br>
> > > >   Controls      : 42<br>
> > > >   Simple ctrls  : 22<br>
> > > > Simple mixer control 'Master',0<br>
> > > >   Capabilities: pvolume pswitch pswitch-joined penum<br>
> > > >   Playback channels: Front Left - Front Right<br>
> > > >   Limits: Playback 0 - 255<br>
> > > >   Mono:<br>
> > > >   Front Left: Playback 255 [100%] [191.00dB] [on]<br>
> > > >   Front Right: Playback 255 [100%] [191.00dB] [on]</p>