Skip to content

Instantly share code, notes, and snippets.

@xopez
Last active March 10, 2026 12:45
Show Gist options
  • Select an option

  • Save xopez/849a39ae7b3d0b587efbe947e0e19eb2 to your computer and use it in GitHub Desktop.

Select an option

Save xopez/849a39ae7b3d0b587efbe947e0e19eb2 to your computer and use it in GitHub Desktop.
/etc/udev/rules.d/92-viia.rules
#ID 3434:d028 Keychron Keychron Ultra-Link 8K
#ID 3434:d048 Keychron Keychron M5 8K
#ID 3434:0163 Keychron Keychron Q6
KERNEL=="hidraw*", ATTRS{idVendor}=="3434", ATTRS{idProduct}=="d028", MODE="0666", GROUP="input"
KERNEL=="hidraw*", ATTRS{idVendor}=="3434", ATTRS{idProduct}=="d048", MODE="0666", GROUP="input"
KERNEL=="hidraw*", ATTRS{idVendor}=="3434", ATTRS{idProduct}=="0163", MODE="0666", GROUP="input"
@xopez
Copy link
Author

xopez commented Jan 31, 2026

sudo udevadm control --reload-rules && sudo udevadm trigger

@xopez
Copy link
Author

xopez commented Mar 10, 2026

One Liner:

printf '%s\n' '#ID 3434:d028 Keychron Keychron Ultra-Link 8K' '#ID 3434:d048 Keychron Keychron M5 8K' '#ID 3434:0163 Keychron Keychron Q6' 'KERNEL=="hidraw*", ATTRS{idVendor}=="3434", ATTRS{idProduct}=="d028", MODE="0666", GROUP="input"' 'KERNEL=="hidraw*", ATTRS{idVendor}=="3434", ATTRS{idProduct}=="d048", MODE="0666", GROUP="input"' 'KERNEL=="hidraw*", ATTRS{idVendor}=="3434", ATTRS{idProduct}=="0163", MODE="0666", GROUP="input"' | sudo tee /etc/udev/rules.d/92-viia.rules >/dev/null; sudo udevadm control --reload-rules; sudo udevadm trigger

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment