Problems with audio volume + media/volume keys

Hello everyone, I am sorry this post is being reuploaded but I noticed late I put it in the wrong catergory
I recently moved from Fedora KDE to EndeavourOS (still with plasma6)

The experience has been fine but I have encountered two problems I couldn’t find a fix yet, and I was hoping someone could give me some directions for a fix

I am on a desktop pc

  1. Speakers (and only speakers) start at 100% volume every time I start the system
  2. Media keys and volume controls don’t work on my keyboard (despite being detected I believe)

First problem:

Problem: when I start the pc, the audio is at 100% until changed (even if the last session was at lower values)
Testing done:

  • Starting PC and playing a generic youtube video, audio from system is very high
  • Hovering on the audio icon on the system tray, it is displayed as 20% (as last session)
  • Lowering volume to 15% and back to 20% the volume is now normally at 20%
  • Checking on my headphones, this behavior does not happen: starting the session and checking the headphones is behaving as normal, switching back to speakers, it still start at 100% (displayed as 20% somehow) and on change it goes back to 20%

On system settings, both devices are set as Analog Stereo Output


Second Problem:

Media and Volume keys simply don’t work. This behavior did not occur on my previous install of Fedora KDE

Keyboard: Keychron K5 Pro (Wired USB), keys accessed with FN+ F7 to F12

Testing done:

  • Tried manually setting shortcuts in system settings, not even binding to the keys
  • Headphone controls DO work with the knob on it
  • Tried debuggin with sudo libinput debug-events --show-keycodes, output as follows
-event1   DEVICE_ADDED            Power Button                      seat0 default group1  cap:k
-event0   DEVICE_ADDED            Power Button                      seat0 default group2  cap:k
-event2   DEVICE_ADDED            ACTIONS Pebble V3                 seat0 default group3  cap:k
-event3   DEVICE_ADDED            Logitech G703 LIGHTSPEED Wireless Gaming Mouse w/ HERO seat0 default group4  cap:p left scroll-nat scroll-button
-event4   DEVICE_ADDED            Logitech G703 LIGHTSPEED Wireless Gaming Mouse w/ HERO seat0 default group4  cap:kp scroll-nat
-event6   DEVICE_ADDED            Logitech G733 Gaming Headset Consumer Control seat0 default group5  cap:k
-event8   DEVICE_ADDED            Logitech G733 Gaming Headset      seat0 default group5  cap:k
-event5   DEVICE_ADDED            Keychron Keychron K5 Pro          seat0 default group6  cap:k
-event7   DEVICE_ADDED            Keychron Keychron K5 Pro Mouse    seat0 default group6  cap:p left scroll-nat scroll-button
-event9   DEVICE_ADDED            Keychron Keychron K5 Pro System Control seat0 default group6  cap:k
-event11  DEVICE_ADDED            Keychron Keychron K5 Pro Consumer Control seat0 default group6  cap:kp scroll-nat
-event12  DEVICE_ADDED            Keychron Keychron K5 Pro Keyboard seat0 default group6  cap:k
-event14  DEVICE_ADDED            Eee PC WMI hotkeys                seat0 default group7  cap:k
-event11  KEYBOARD_KEY            +0.000s       KEY_VOLUMEUP (115) pressed
 event11  KEYBOARD_KEY            +0.120s       KEY_VOLUMEUP (115) released
 event11  KEYBOARD_KEY            +0.305s       KEY_VOLUMEUP (115) pressed
 event11  KEYBOARD_KEY            +0.430s       KEY_VOLUMEUP (115) released
 event11  KEYBOARD_KEY            +1.194s       KEY_VOLUMEDOWN (114) pressed
 event11  KEYBOARD_KEY            +1.348s       KEY_VOLUMEDOWN (114) released
 event11  KEYBOARD_KEY            +1.618s       KEY_VOLUMEDOWN (114) pressed
 event11  KEYBOARD_KEY            +1.720s       KEY_VOLUMEDOWN (114) released
 event11  KEYBOARD_KEY            +3.061s       KEY_PLAYPAUSE (164) pressed
 event11  KEYBOARD_KEY            +3.210s       KEY_PLAYPAUSE (164) released
 event11  KEYBOARD_KEY            +3.552s       KEY_PLAYPAUSE (164) pressed
 event11  KEYBOARD_KEY            +3.691s       KEY_PLAYPAUSE (164) released
-event6   KEYBOARD_KEY            +6.091s       KEY_VOLUMEUP (115) pressed
 event6   KEYBOARD_KEY            +6.123s       KEY_VOLUMEUP (115) released
 event6   KEYBOARD_KEY            +6.132s       KEY_VOLUMEUP (115) pressed
 event6   KEYBOARD_KEY            +6.154s       KEY_VOLUMEUP (115) released
 event6   KEYBOARD_KEY            +6.182s       KEY_VOLUMEUP (115) pressed
 event6   KEYBOARD_KEY            +6.228s       KEY_VOLUMEUP (115) released
 event6   KEYBOARD_KEY            +6.277s       KEY_VOLUMEUP (115) pressed
 event6   KEYBOARD_KEY            +6.295s       KEY_VOLUMEUP (115) released
 event6   KEYBOARD_KEY            +6.354s       KEY_VOLUMEUP (115) pressed
 event6   KEYBOARD_KEY            +6.381s       KEY_VOLUMEUP (115) released
 event6   KEYBOARD_KEY            +6.436s       KEY_VOLUMEUP (115) pressed
 event6   KEYBOARD_KEY            +6.481s       KEY_VOLUMEUP (115) released
 event6   KEYBOARD_KEY            +7.299s       KEY_VOLUMEDOWN (114) pressed
 event6   KEYBOARD_KEY            +7.326s       KEY_VOLUMEDOWN (114) released
 event6   KEYBOARD_KEY            +7.335s       KEY_VOLUMEDOWN (114) pressed
 event6   KEYBOARD_KEY            +7.484s       KEY_VOLUMEDOWN (114) released
-event5   KEYBOARD_KEY            +10.223s      KEY_LEFTCTRL (29) pressed
 event5   KEYBOARD_KEY            +10.339s      KEY_C (46) pressed
^C

event11 are the keyboard key presses, those don’t change volume or trigger the media controls
event6 is the headset, knob controls volume as expected


Does anyone know a fix?