You are not logged in.

#1 2012-10-09 10:43:02

weirddan455
Member
Registered: 2012-04-15
Posts: 192

[SOLVED] How to make the volume knob on my headset work

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)

Offline

#2 2012-10-09 12:48:44

2ManyDogs
Member
Registered: 2012-01-15
Posts: 1,688

Re: [SOLVED] How to make the volume knob on my headset work

Does xev report any events when you adjust the knob? Run this in a terminal:

xev

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)

Offline

#3 2012-10-09 13:11:00

weirddan455
Member
Registered: 2012-04-15
Posts: 192

Re: [SOLVED] How to make the volume knob on my headset work

bash: xev: command not found

Which package do I need?

Offline

#4 2012-10-09 13:44:09

weirddan455
Member
Registered: 2012-04-15
Posts: 192

Re: [SOLVED] How to make the volume knob on my headset work

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)

Offline

#5 2012-10-09 13:56:02

brebs
Member
Registered: 2007-04-03
Posts: 3,439

Re: [SOLVED] How to make the volume knob on my headset work

You can use xbindkeys.

Offline

#6 2012-10-09 14:41:47

2ManyDogs
Member
Registered: 2012-01-15
Posts: 1,688

Re: [SOLVED] How to make the volume knob on my headset work

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)

Offline

#7 2012-10-09 20:06:03

weirddan455
Member
Registered: 2012-04-15
Posts: 192

Re: [SOLVED] How to make the volume knob on my headset work

^^

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 smile

Offline

#8 2012-10-09 20:07:15

2ManyDogs
Member
Registered: 2012-01-15
Posts: 1,688

Re: [SOLVED] How to make the volume knob on my headset work

You're welcome.

Last edited by 2ManyDogs (2012-10-09 20:07:25)

Offline

#9 2013-05-11 09:17:59

zarniwoop
Member
From: Vancouver, BC, Canada
Registered: 2013-05-05
Posts: 3
Website

Re: [SOLVED] How to make the volume knob on my headset work

Thanks guys, I just ran into this problem using Openbox with my G930. big_smile


"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

Offline

Board footer

Powered by FluxBB