[pulseaudio-tickets] [Bug 81777] Can't change optical-out volume on Terratec Aureon DualUSB

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jul 27 03:57:52 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=81777

Tanu Kaskinen <tanuk at iki.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |75721

--- Comment #1 from Tanu Kaskinen <tanuk at iki.fi> ---
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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20140727/36eb165e/attachment.html>


More information about the pulseaudio-bugs mailing list