<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:tanuk@iki.fi" title="Tanu Kaskinen <tanuk@iki.fi>"> <span class="fn">Tanu Kaskinen</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Can't change optical-out volume on Terratec Aureon DualUSB"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=81777">bug 81777</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Blocks</td>
           <td>
                
           </td>
           <td>75721
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Can't change optical-out volume on Terratec Aureon DualUSB"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=81777#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Can't change optical-out volume on Terratec Aureon DualUSB"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=81777">bug 81777</a>
              from <span class="vcard"><a class="email" href="mailto:tanuk@iki.fi" title="Tanu Kaskinen <tanuk@iki.fi>"> <span class="fn">Tanu Kaskinen</span></a>
</span></b>
        <pre>I agree that it would be good to make it possible to disable hardware volume
control. I think it's necessary anyway if we want to support volume fading for
device volumes some day. It would also serve as a workaround for this hardware
as you describe. However, I think a simpler and more user-friendly way to solve
this particular issue would be to write a special profile set configuration
file for this sound card that would provide two profiles, one for analog and
one for digital. The digital profile would be defined so that PulseAudio
wouldn't try to use any alsa mixer controls for volume.

It should be easy to write such configuration file for someone who knows how to
write profile set files. I happen to have this hardware myself, and I'll write
the configuration at some point before the 6.0 release. In the mean time, you
can apply this simple workaround:

In /usr/share/pulseaudio/alsa-mixer/paths/analog-output-speaker.conf there's
this:

[Element Speaker]
required-any = any
switch = mute
volume = merge
override-map.1 = all
override-map.2 = all-left,all-right

Change "volume = merge" to "volume = zero". That will set the Speaker element
to 0dB, and volume control will be done in software. This will also affect the
analog output, i.e. you won't have hardware volume control, but I suppose
that's OK.

Hmm, I guess muting the optical-out doesn't work either, so change "switch =
mute" to "switch = on". That will make the device to be always unmuted at
hardware level, and mute control will be done in software.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>