I use a Keychron C2 mechanical keyboard. It has a well know Linux issue - the function keys are on by default, so this fix is necessary (it works fine on my Linux system):
In dom0 I did:
echo 0 | sudo tee /sys/module/hid_apple/parameters/fnmode echo "options hid_apple fnmode=0" | sudo tee -a /etc/modprobe.d/hid_apple.conf sudo dracut --regenerate-all --force
Shutdown and restart.
cat /sys/module/hid_apple/parameters/fnmode 1
This has to be 0 though. Even the temporary change (the first command) seems to have no effect.
Then I repeated the same thing in sys-usb. The temporary change worked fine. The persistent one (second command) did not though. After reboot fnmode is still 1. Something more: after the reboot ‘history’ does not even show the 3 commands I typed before rebooting which is really weird.
How to make this work in Qubes OS, please?