How to fix via configuration error in Ubuntu

When I tried to edit keys using via like I did in Windows, an error occurred.

NotAllowedError: Failed to open the device.
Device: Keychron Keychron Q11
Vid: 0x3434
Pid: 0x01E0

So I solved it like this:

$ sudo vi /etc/udev/rules.d/99-vial.rules

I entered it like this:

# Keychron Q11
KERNEL=="hidraw*", KERNELS=="*3434:01E0*", MODE="0660", TAG+="uaccess"
KERNEL=="hidraw*", ATTRS{idVendor}=="3434", ATTRS{idProduct}=="01e0", MODE="0660", TAG+="uaccess"

And I also did chown ubuntu:ubuntu && chmod 660, but it may not be necessary.

Apply

$ sudo udevadm control --reload-rules
$ sudo udevadm trigger

Try, Again. Good !

Reference

https://issues.chromium.org/issues/40287262

https://www.reddit.com/r/Keychron/comments/144dj1c/keychronvia_support_and_linux/