Public bug reported:

Binary package hint: gnome-settings-daemon

Hello! I'm running up-to-date Jaunty. (Although I'm pretty sure this
happens with all Ubuntu releases, I haven't tried it yet.)

I have a desktop computer that has an integrated sound card, and I
bought recently a USB-connected wireless headset from Logitech. My
keyboard has separate keys for volume control (volume up/down and mute)
in a corner, and the headset has two buttons on one of the headphones
for the same purpose. As far as I can tell, the headset registers itself
as a Human Interface Device and simply sends key-presses like a USB
keyboard would.

First of all, everything works more or less as expected: I can use
Pulseaudio to route sound from any application to either my speakers or
my headset* (or both), and pavucontrol can individually control the
volume** of the sound card and the headset.

(*: except that Skype doesn't seem to work at all with Pulseaudio, which
is sort of why I bought the headset, but that's another bug and it has
nothing to do with what I'm reporting here.)

(**: except that AFAIK it doesn't control the hardware volume of the
sound card, it only scales the samples sent to it. Which sucks, but it's
a different bug and reported elsewhere.)

Also, both the volume keys on my keyboard and the buttons on the headset
work. I have XF86Audio{Raise|Lower}Volume set as "Shortcuts" for volume
up/down in the Keyboard Shortcuts applet, and they both work. The
problem is that they both work on the same volume control; as far as I
know that's the "master volume slider" that is picked through one of the
settings applets (I can't find it right now; I think something changed
recently in Ubuntu's settings applets, unrelated to this).

I'd like a way to have either pair of volume buttons control a different
slider. Ideally, I'd like the keyboard to control the _hardware_ volume
control of my sound card (but software's OK) and the buttons on the
headset to control the headset's volume (I'm not sure if that one has a
hardware volume slider, but that's less important).

It's not absolutely necessary to have a very pretty interface* for all
this, I can handle a few config files, but I'm not aware of any
reasonable way of getting the same keysym from two different input
devices to do different things.**

(*: Although, if it were technically doable, my particular case could be
very intuitively handled by a single check-box and a bit of logic: if
there's any USB device that exposes both Audio and HID interfaces, watch
them. Intercept any volume/mute key presses from their HID part and use
them to control the Audio part's volume. Also add a single check-box for
them that says "X controls master volume control" and leave it unchecked
by default, in the eventuality that someone doesn't want this.)

(**: Actually, I'd like to be able to do this in general. For instance,
I'd like to have two keyboards with two different layouts instead of
switching layouts using the applet.)

Let me know if you need any hardware/other information for this. I'll
attach this to gnome-settings-daemon because I think this actually
controls the volume when the keys are pressed. (By the way, I volunteer
to implement whatever changes are needed, if a little mentoring is
offered.)

** Affects: gnome-settings-daemon (Ubuntu)
     Importance: Undecided
         Status: New

-- 
volume keys on different devices can't set different volume sliders
https://bugs.launchpad.net/bugs/315162
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to