Keychron K2 or C1 Funtion and Multimedia Keys (Fedora)
Keyboard Mode Switch
On the left hand side of the keyboard there are two switches. Slide the switch closest to the USB port to "Win/Android". The writing can be very difficult to read because of the small letters. The "Win/Android" position on the switch is closest to the USB port.
Keyboard Mode for Function and Multimedia Keys
Set the keyboard to "Windows" for the multimedia and function keys.
Hold [fn
] + [X
] + [L
] for 4 seconds.
The keyboard LEDs will also blink when "Windows" is enabled.
Disable Apple Keyboard Top Row
Set the Apple keyboard top row key's mode to disabled (0).
echo 0 | sudo tee /sys/module/hid_apple/parameters/fnmode
Mode 2
is normally function keys that switch to multimedia keys by holdings the Fn key.
Add Kernel Module Option for Apple Keyboard Function Keys
Add a option to the kernel to set the mode on a boot to disabled (0).
echo "options hid_apple fnmode=0" | sudo tee -a /etc/modprobe.d/hid_apple.conf
Regenerate intramfs
To set the fnmode in the early user space the initramfs needs to be regenerated.
dracut --regenerate-all --force
This requires a reboot.
It works with the Keychron C1. Thank you so much!