There is a kernel module
hid_apple, and I need to set its option
fnmode to 2.
So, I've created
/etc/modprobe.d/hid_apple.conf file with such content
options hid_apple fnmode=2
dracut -f /boot/initramfs-$(uname -r).img $(uname -r)
As I understood now, the value in
/sys/module/hid_apple/parameters/fnmode should be 2, but there is still default value (1). It still there even after reboot.
What is wrong, and how could I fix it?