I have a Turtle Beach PX3. It's a USB wireless headset. I got the sound working and everything and I can control the volume through the XFCE mixer or the ALSA mixer but I would like to be able to use the physical knob. On Windows 7, it just sends a signal to bump up the volume in the software mixer much like the volume controls on a keyboard would. For the short time I used Xubuntu 12.04 it recognized that I was moving the knob (it popped up a volume bar) but it seemed to be adjusting the wrong thing because the volume didn't actually change. On Arch, it doesn't do anything. I'm just did a fresh install and I'm running XFCE with just straight ALSA but I wouldn't be objecting to trying out PulseAudio or something if it would help (though I've never set this up in Arch so I may need a little help).
Last edited by weirddan455 (2012-10-09 20:07:10)
Does xev report any events when you adjust the knob? Run this in a terminal:
and then move the headset knob and see if any events are displayed. Stop xev with ctrl-c.
Last edited by 2ManyDogs (2012-10-09 12:49:07)
bash: xev: command not found
Which package do I need?
Nevermind, got my Google-fu on and the package was xorg-xev. It recognized when I moved the knob.
Here's the volume raise code:
KeyPress event, serial 38, synthetic NO, window 0x1600001, root 0xc6, subw 0x0, time 8056414, (56,97), root:(540,575), state 0x0, keycode 123 (keysym 0x1008ff13, XF86AudioRaiseVolume), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False
And the volume lower:
KeyRelease event, serial 38, synthetic NO, window 0x1600001, root 0xc6, subw 0x0, time 8054284, (56,97), root:(540,575), state 0x0, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False
Last edited by weirddan455 (2012-10-09 13:45:12)
Because you are using Xfce, you might also find the Xfce topic in the wiki useful, especially this section: https://wiki.archlinux.org/index.php/Xf … me_buttons
xfconf-query -c xfce4-keyboard-shortcuts -p /commands/custom/XF86AudioRaiseVolume -n -t string -s "amixer set Master 5%+ unmute" xfconf-query -c xfce4-keyboard-shortcuts -p /commands/custom/XF86AudioLowerVolume -n -t string -s "amixer set Master 5%- unmute"
Last edited by 2ManyDogs (2012-10-09 14:43:30)
Perfect, thanks for that link. Only thing I had to change was from "Master" to "PCM" and I used 2% instead of 5%. Master didn't do anything at all for whatever reason but PCM works fine like it says in the wiki to do is Master fails
Last edited by 2ManyDogs (2012-10-09 20:07:25)
Thanks guys, I just ran into this problem using Openbox with my G930.
"Most people are other people. Their thoughts are someone else's opinions, their lives a mimicry, their passions a quotation." – Oscar Wilde, De Profundis, 1905