You are not logged in.

#1 2022-06-19 02:50:31

eru_lawliet
Member
Registered: 2022-06-03
Posts: 4

Arch Linux suddenly can not recognize X86Audio key

Hi everyone, I am having some problem with how my system react when X86Audio keys (including XF86AudioRaiseVolume, XF86AudioLowerVolume, XF86AudioMute), basically mean my keyboard has key specifically for controlling volume.

So I installed pulseaudio and pamixer to control volume with command line, and then installed xbindkeys to bind my volume keys and volnoti to show visual volume notification.

Here is my ~/.xbindkeysrc file

# Increase volume
"pamixer --increase 5 && volnoti-show $(pamixer --get-volume)"
   XF86AudioRaiseVolume

# Decrease volume
"pamixer --decrease 5 && volnoti-show $(pamixer --get-volume)"
   XF86AudioLowerVolume

# Toggle volume
"pamixer --toggle-mute && volnoti-show 0"
   XF86AudioMute

I am using a Keychron K8 key board which have my volume key at the same position as F10, F11 and F12 (mute, decrease and increase volume) and if I am using this keyboard with layout that was intended to use on a mac, linux and windows will not recognize F1, F2, ..., F12 keys.

So everything worked just find (well, without F1, F3, etc ... is somewhat a loss) with my volume keys. Everything work just as intended at first (for the past week) until this morning, when suddenly Arch Linux recognize my keyboard differently.

Suddenly my system recognize my volume keys as F10, F11 and F12 even though this has never happened before.

Commands like

pamixer --decrease 5 && volnoti-show $(pamixer --get-volume)

still worked if I executed using a terminal.

Oh, remember what I said about the other F keys (F1, F2, F3, etc ...) ?

Now they are also recognize as F keys ...

To test if my volume keys still work, I plugged it in my macbook and try, and it worked just fine. So I tried borrow a different keyboard from my friend (not designed for mac) that also have volume keys and it worked on my arch linux PC.

At this point I am pretty sure something is wrong with my keyboard, but I still want to ask if there is something I can check on arch system just to be absolutely sure.

Thank you for your time.

Last edited by eru_lawliet (2022-06-19 03:07:32)

Offline

#2 2022-06-19 04:12:08

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Arch Linux suddenly can not recognize X86Audio key


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2022-06-19 06:50:15

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,573

Re: Arch Linux suddenly can not recognize X86Audio key

I am using a Keychron K8 keyboard …
Suddenly my system recognize my volume keys as F10, F11 and F12

Sounds like some sort of Fn lock.
- Is there a parallel windows installation?
- Did you alter the keyboard mode w/ the side switch?

https://www.reddit.com/r/Keychron/comme … and_f1f12/
https://www.reddit.com/r/MechanicalKeyb … keys_when/
https://mikeshade.com/posts/keychron-li … tion-keys/

Offline

Board footer

Powered by FluxBB