You are not logged in.

#1 2024-07-23 05:30:45

pradtf
Member
Registered: 2009-06-10
Posts: 149

JabNecter USB Headset with Microphone - volume control not working

JabNecter USB Headset with Microphone for PC Laptop, 3.5mm Headphone

it works with good sound, but i can't control the volume with the buttons on the controller, though i can mute the mic. the volume buttons do work though on windows, so there is nothing wrong with the unit. it does say that the thing is designed to work with windows and mac, but perhaps there is a way to get it to work on archlinux?

i'm using pipewire btw.


in friendship,
prad

Offline

#2 2024-08-27 15:46:08

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,451

Re: JabNecter USB Headset with Microphone - volume control not working

Do you run something that's expected to react to those butttons? Run xev and/or libinput debug-events do you get events from the button? Post the output you get.

Whoops, didn't notice this is a necro and a half, but maybe the problem is still relevant

Last edited by V1del (2024-08-27 15:46:54)

Offline

#3 2024-08-27 20:38:22

pradtf
Member
Registered: 2009-06-10
Posts: 149

Re: JabNecter USB Headset with Microphone - volume control not working

thx for replying v1del!
appreciate your input as always!

i have solved the issue for myself by setting some keyboard shortcuts to pipewire wpctl in leftwm:

[[keybind]]
command = "Execute"
value = "wpctl set-volume @DEFAULT_SINK@ .1+"
modifier = ["Control", "Shift"]
key = "KP_Add"

[[keybind]]
command = "Execute"
value = "wpctl set-volume @DEFAULT_SINK@ .1-"
modifier = ["Control", "Shift"]
key = "KP_Subtract"

[[keybind]]
command = "Execute"
value = "wpctl set-volume @DEFAULT_SINK@ .80"
modifier = ["Control", "Shift"]
key = "KP_End"

[[keybind]]
command = "Execute"
value = "wpctl set-volume @DEFAULT_SINK@ .40"
modifier = ["Control", "Shift"]
key = "KP_Insert"

which works very nicely for my requirements - better than having the buttons on the set cluttering up my workspace.


however, i hadn't thought of your idea with xev:

xev -1 > tmp

gives the following which shows the keycodes 123, 122, 121 (which does mute). the former two though they are attached to the correct XF86AudioRaiseVolume and XF86AudioLowerVolume, don't work likely because i have not tied them to the pipewire raise/lower volumes. possibly, the mute works because it is tied in by default.

KeyPress event, serial 34, synthetic NO, window 0x1a00001, root 0x3f0, subw 0x0, time 23729341, (476,172), 
root:(1439,903), state 0x10, keycode 123 (keysym 0x1008ff13, XF86AudioRaiseVolume), same_screen YES, XLookupString gives 0 bytes:  XmbLookupString gives 0 bytes:  XFilterEvent returns: False

KeyRelease event, serial 35, synthetic NO, window 0x1a00001, root 0x3f0, subw 0x0, time 23729565, (476,172), 
root:(1439,903), state 0x10, keycode 123 (keysym 0x1008ff13, XF86AudioRaiseVolume), same_screen YES, XLookupString gives 0 bytes:  XFilterEvent returns: False

KeyPress event, serial 35, synthetic NO, window 0x1a00001, root 0x3f0, subw 0x0, time 23731357, (476,172), 
root:(1439,903), state 0x10, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES, XLookupString gives 0 bytes:  XmbLookupString gives 0 bytes:  XFilterEvent returns: False

KeyRelease event, serial 35, synthetic NO, window 0x1a00001, root 0x3f0, subw 0x0, time 23731549, (476,172), 
root:(1439,903), state 0x10, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES, XLookupString gives 0 bytes:  XFilterEvent returns: False

KeyPress event, serial 35, synthetic NO, window 0x1a00001, root 0x3f0, subw 0x0, time 23733245, (476,172), 
oot:(1439,903), state 0x10, keycode 121 (keysym 0x1008ff12, XF86AudioMute), same_screen YES, XLookupString gives 0 bytes:  XmbLookupString gives 0 bytes:  XFilterEvent returns: False

KeyRelease event, serial 35, synthetic NO, window 0x1a00001, root 0x3f0, subw 0x0, time 23733245, (476,172), 
root:(1439,903), state 0x10, keycode 121 (keysym 0x1008ff12, XF86AudioMute), same_screen YES, XLookupString gives 0 bytes:  XFilterEvent returns: False

in friendship,
prad

Offline

Board footer

Powered by FluxBB