I have an Asus X412 and I've been trying to get my function-key shortcuts working on Linux (Ubuntu 20.04). As I see it, the UEFI allows me to select two states for the function keys:
- Enable by default: Where in the boot-up state is to use the original F1-F12 buttons.
- Disable by default: Where in the boot-up state is to use the hotkeys.
Fn-Esc will then allow you to toggle it for the duration of your runtime for both states.
In my case, (1) works but I cannot use Fn-Esc to toggle the hotkeys. I have to keep using the Fn+FX keys to use them. As for (2), when I boot up, it's always toggled by default - i.e., I have to use Fn-Esc to disable Fn keys and everything works fine.
Currently, I'm using (2) but I'm not sure how I can get it working to how I want it (boot up and get the hotkeys working by default).
I'm not sure I require the usage of the acpi_oci= boot arg to get this working but it didn't work when I tried it a few months ago.