Fixing Linux VIA-Keyboard ERROR in VIA-Configuration-Software

Not much to say. I got to try out a keyboard that supports via configuration. I knew there was is a open source keyboard firmware (QMK), but I had never used a keyboard that supported it. The problem on Linux is that a security feature prevents the configuration page from accessing and communicating with the keyboard directly. I got it to work using Chromium because it supports WebHID (native, NOT flatpack, idk. what prevents flatpack from working with this workaround) thanks to a thread on the Arch Wiki. We need to allow the browser to access the software on the keyboard. Open "chrome://device-log" in Chromium, then open the/your VIA page and try to connect. Now check the output of the log tap in Chromium. You should be able to find a line like "Failed to open '/dev/hidraw7': FILE_ERROR_ACCESS_DENIED". Open a terminal and run the following command with your ID:

sudo chmod a+rw /dev/hidraw9

The ID WILL change with each reboot/reconnect to the PC. Just find the ID again and run the command again. With a simple reload of the VIA window and allowing access to the keyboard, it should work. It is annoying to do all the extra steps on Linux, but how often do you need to change the layout of your keyboard xD? This command allows everyone and anything on the PC to read and write to the device, this can be dangerous. A reboot will reset it.

Also, because no one else on the Internet knows it for some reason: The screen of the "EPOMAKER CIDOO ABM066 Alice" has a resolution of "96x160px" and/or only accepts images in that resolution.


Sources: