Rii K22 keyboard reset for Linux

I bought a cheap-but-nice wireless keyboard for occasional use. It works great in the system BIOS (with 2.4GHz) and Windows, but not in Linux. It d connect but not let me type. Whether connected via 2.4Ghz or Bluetooth. Turns out this is a known problem with a workaround. Apparently in this state the keyboard is basically [ ]