I just installed Ubuntu 20.04 on my new ASUS Zenbook 13 OLED UM325S.

Keyboard is not working after a cold boot. Keyboard will start working on the next boot, if the device is rebooted at Cryptsetup stage or later. Cryptsetup is affected as well, so encrypted installations are impossible to enter without an external keyboard.

My grub entry; `GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"`

Discoveries made
----------------

1. `serio_raw` kernel module does not load when you do a cold boot. Discovery made in this [gist](https://gist.github.com/dennorske/ae5f96d36b367f3bc874889c8a8a6c5b/revisions#diff-9025194bc67b0b297fd6bd585ea504ec71c275c9d94654d14bc3c30115b010fb).
2. `AT Translated Set 2 keyboard` is the laptop keyboard. This is not visible after a cold boot, but is after a reboot. [Gist here.](https://gist.github.com/dennorske/f9ed4abbd435f7cdda09133c25d1ac63)
3. I am unable to use xinput to manage the properties of the device as suggested by @Sancho.s in his answer below. Sometimes xinput does not show any of the keyboards attached, it only shows virtual devices. `libinput` on the other hand, shows all devices properly.
4. WMI ASUS Hotkeys are working, so occasionally I see that brightness adjustments work, sound, etc when F1-F12 is used in combination with the `fn` key.

Attempts to make it work
------------------------

1. I have force loaded `serio_raw` both using `initramfs` and `load-modules.d` without success. Module loads, but does not affect keyboard problem.
2. Tried running `xinput set-prop "AT Translated Set 2 keyboard" "Device Enabled" 1` however, xinput fails that the device is not found.

Workaround at the moment is to connect an external keyboard, wait for Cryptsetup to start, and then press `CTRL+ALT+DEL` and then boot normally. If I do reboot from GRUB, it has no effect.

Thanks