Lenovo Legion 5 (2021) keyboard permanently stopped working after USB keyboard plugged in

I can see the system detects the keyboards but the internal one stopped working after a USB one was plugged in.

sudo libinput list-devices | grep -i keyboard | grep -i device
Device: ITE Tech. Inc. ITE Device(8910) Keyboard
Device: ITE Tech. Inc. ITE Device(8295) Keyboard
Device: AT Translated Set 2 keyboard

I’m using a virtual keyboard now with Fcitx5 Wayland Experimental for language switching but this problem was there before the virtual keyboard was installed.

The Fn+Q combo on the laptop for mode switching still works somehow.

I am using KDE plasma 6. Latest cachy os update via pacman.

There are no udev rules I am seeing that might be interfering.