How can I connect my Operator device on Linux under a non-root user?

The Operator devices are USB CDC ACM devices, so in order to properly access them you should have read/write access to the serial device on your Linux computer.

 

For Debian/Ubuntu users:

sudo usermod -a -G dialout $USER
sudo usermod -a -G plugdev $USER

Then logout of your user and log back in. Now you should have access to the USB device as a non-root user. This command adds your user to the dialout group and to the plugdev group.

The dialout group is needed for ACM devices and the plugdev is to mount (only with the options nodev and nosuid, for security reasons) and umount removable devices through pmount.

 

In addition to this, create a file in /etc/udev/rules.d/99-epilogue.rules with the following contents (thanks to Tim Boalch and Horia for submitting this):

# GB Operator
SUBSYSTEM=="usb", ATTR{idVendor}=="1d50", ATTR{idProduct}=="6018", MODE="0666", GROUP="plugdev"

# Epilogue DFU
SUBSYSTEM=="usb", ATTR{idVendor}=="1209", ATTR{idProduct}=="db42", MODE="0666", GROUP="plugdev"

 

For Arch/Manjaro users

Thanks to u/CrayolaFanfic from Reddit for submitting these!

sudo pacman -S glibc
sudo pacman -S qt5-base (might not be necessary)
sudo usermod -a -G uucp $USER

Then restart your computer.

 

Note:

We do not recommend running the application using superuser privileges as we use pulseaudio to output audio. If you run the application using `sudo` the Operator software might not be able to connect to the pulseaudio daemon properly and you might not have audio while playing.

Was this article helpful?
9 out of 10 found this helpful

Comments

2 comments
  • On my Linux system (Ubuntu 20.04 LTS) I also needed to create a udev rules file before my GB Operator could be detected. Posting this here in case it's useful info for anyone else.

    Rules file contents:

    SUBSYSTEM=="usb", ATTR{idVendor}=="1d50", ATTR{idProduct}=="6018", MODE="0666", GROUP="plugdev"

    (Note: You can use the lsusb command to confirm the vendor and product IDs)

    I saved this as:

    /etc/udev/rules.d/63-epilogue.rules

    After restarting my system, the Operator software was able to detect my GB Operator with no problems :)

    1
  • Thanks Tim! Just added this to the official article. Make sure you also add the DFU interface as well to your rules.

    0

Please sign in to leave a comment.