You are not logged in.

#1 2024-02-23 02:19:16

nova4x
Member
Registered: 2024-02-23
Posts: 4

Issue with Volume Keys KDE

I'm having a very strange issue with my volume keys / volume knob. The keypresses from the knob are visible when running libinput but are ignored by kde and don't affect my system volume.
My audio setup involves easyeffects with pipewire. Adding in a seperate widget for volume control besides what is in the system tray doesn't work either. My keyboard comes builtin with both a windows and a mac mode for whatever reason and the volume keys appear to work on mac mode. Annoyingly the firmware sucks and messes with the function keys as well making them requiring the press of the fn key to work normally. I can bite the bullet and deal with that but I want to figure out why it doesn't work. In both keyboard modes the volume up and down keys are received but only in the mac mode do they work in kde.

Offline

#2 2024-02-23 07:35:01

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,231

Re: Issue with Volume Keys KDE

What keys are received? Post an output of such a libinput debug trace and compare them between modes. It really sounds like a different key gets sent between the modes. You can btw freely choose which keys to assign to the relevant action in system settings. (Assuming you're using and have present somewhere a plasma-pa based volume widget)

Last edited by V1del (2024-02-23 07:36:49)

Offline

#3 2024-02-23 20:46:06

nova4x
Member
Registered: 2024-02-23
Posts: 4

Re: Issue with Volume Keys KDE

V1del wrote:

What keys are received? Post an output of such a libinput debug trace and compare them between modes. It really sounds like a different key gets sent between the modes. You can btw freely choose which keys to assign to the relevant action in system settings. (Assuming you're using and have present somewhere a plasma-pa based volume widget)

-event16  KEYBOARD_KEY            +23.955s      KEY_VOLUMEUP (115) pressed
event16  KEYBOARD_KEY            +23.956s      KEY_VOLUMEUP (115) released
event16  KEYBOARD_KEY            +24.024s      KEY_VOLUMEUP (115) pressed
event16  KEYBOARD_KEY            +24.027s      KEY_VOLUMEUP (115) released
event16  KEYBOARD_KEY            +24.322s      KEY_VOLUMEUP (115) pressed
event16  KEYBOARD_KEY            +24.325s      KEY_VOLUMEUP (115) released
event16  KEYBOARD_KEY            +24.515s      KEY_VOLUMEUP (115) pressed
event16  KEYBOARD_KEY            +24.517s      KEY_VOLUMEUP (115) released
event16  KEYBOARD_KEY            +25.290s      KEY_VOLUMEDOWN (114) pressed
event16  KEYBOARD_KEY            +25.293s      KEY_VOLUMEDOWN (114) released
event16  KEYBOARD_KEY            +25.383s      KEY_VOLUMEDOWN (114) pressed
event16  KEYBOARD_KEY            +25.385s      KEY_VOLUMEDOWN (114) released
event16  KEYBOARD_KEY            +25.559s      KEY_VOLUMEDOWN (114) pressed
event16  KEYBOARD_KEY            +25.561s      KEY_VOLUMEDOWN (114) released
event16  KEYBOARD_KEY            +25.813s      KEY_VOLUMEDOWN (114) pressed
event16  KEYBOARD_KEY            +25.816s      KEY_VOLUMEDOWN (114) released
-event15  DEVICE_REMOVED          Drunkdeer Drunkdeer A75 US        seat0 default group7  cap:k
-event16  DEVICE_REMOVED          Drunkdeer Drunkdeer A75 US Keyboard seat0 default group7  cap:kp
-event17  DEVICE_REMOVED          Drunkdeer Drunkdeer A75 US Mouse  seat0 default group7  cap:p
-event15  DEVICE_ADDED            Drunkdeer Drunkdeer A75 US        seat0 default group8  cap:k
-event16  DEVICE_ADDED            Drunkdeer Drunkdeer A75 US        seat0 default group8  cap:kp left scroll-nat scroll-button
event16  KEYBOARD_KEY            +29.292s      KEY_VOLUMEUP (115) pressed
event16  KEYBOARD_KEY            +29.294s      KEY_VOLUMEUP (115) released
event16  KEYBOARD_KEY            +29.799s      KEY_VOLUMEUP (115) pressed
event16  KEYBOARD_KEY            +29.801s      KEY_VOLUMEUP (115) released
event16  KEYBOARD_KEY            +30.235s      KEY_VOLUMEUP (115) pressed
event16  KEYBOARD_KEY            +30.237s      KEY_VOLUMEUP (115) released
event16  KEYBOARD_KEY            +31.010s      KEY_VOLUMEDOWN (114) pressed
event16  KEYBOARD_KEY            +31.012s      KEY_VOLUMEDOWN (114) released
event16  KEYBOARD_KEY            +31.338s      KEY_VOLUMEDOWN (114) pressed
event16  KEYBOARD_KEY            +31.341s      KEY_VOLUMEDOWN (114) released
event16  KEYBOARD_KEY            +31.948s      KEY_VOLUMEDOWN (114) pressed
event16  KEYBOARD_KEY            +31.951s      KEY_VOLUMEDOWN (114) released
-event15  KEYBOARD_KEY            +32.960s      *** (-1) pressed
event15  KEYBOARD_KEY            +33.354s      *** (-1) pressed

The split is where i toggle between modes. I am unable to do any form of rebind in mys system settings. It just ignores the volume knob and doesn't bind anything. Rebinding works when on mac mode which yet again has weird firmware behavior on the fn keys.

Offline

#4 2024-03-05 23:02:13

nova4x
Member
Registered: 2024-02-23
Posts: 4

Re: Issue with Volume Keys KDE

Still trying to find the cause of this to no avail

Offline

#5 2024-03-11 14:41:44

nova4x
Member
Registered: 2024-02-23
Posts: 4

Re: Issue with Volume Keys KDE

Update, I found the cause. Not sure if this is a KDE thing, a keyboard thing or a mix of both. KDE recognizes part of the keyboard as a mouse for some reason and the device corresponding to that "mouse" got disabled. This for some god unknown reason made the volume knob and media keys dis-functional. This is probably a unique issue with my keyboard (Drunkdeer A75) but still very strange nonetheless.

Offline

Board footer

Powered by FluxBB