-
Notifications
You must be signed in to change notification settings - Fork 68
Live training on Linux
While low-level device communication is handled by the kernel, device-related events are managed in userspace by udevd
. Custom .rules
files can be defined in order to get access to those events without elevated privileges.In order to use live training on Linux, follow these instructions:
In /etc/udev/rules.d/
create a file named 50-oryx.rules
:
sudo touch /etc/udev/rules.d/50-oryx.rules
And paste the following configuration inside:
# Rule for the Ergodox EZ Original / Shine / Glow
SUBSYSTEM=="usb", ATTR{idVendor}=="feed", ATTR{idProduct}=="1307", GROUP="plugdev"
# Rule for the Planck EZ Standard / Glow
SUBSYSTEM=="usb", ATTR{idVendor}=="feed", ATTR{idProduct}=="6060", GROUP="plugdev"
Make sure your user is part of the plugdev group (it might not be the default on some distros):
$> sudo groupadd plugdev
$> sudo usermod -aG plugdev $USER
Make sure to logout once after that.
Note: The snippet above defines rules for both the Ergodox EZ and the Planck EZ. Feel free to only copy the block relevant to you.
WARNING: On Ubuntu and its derivatives, browsers are installed via snapd. In the Sofware Package gui, find your browser's page and click the "Permissions button", then tick the toggle "Access USB hardware directly" on