Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation on how to use the WebUSB DMX512 controller on Linux #11

Open
TimPietrusky opened this issue Sep 8, 2019 · 1 comment
Open
Assignees
Labels
enhancement New feature or request

Comments

@TimPietrusky
Copy link
Member

TimPietrusky commented Sep 8, 2019

When you want to use the controller on Linux, you have to add a custom udev rule in order to give the browser permission to use the USB device.

@lezsakdomi can you please post the udev rules you added in the workshop?

During the workshop we tried the stuff that was written in webusb/arduino#29, but I'm not sure anymore which steps exactly we took and what helped in the end.

Also take a look at https://web.dev/usb/#tips

@TimPietrusky TimPietrusky added the enhancement New feature or request label Sep 8, 2019
@TimPietrusky TimPietrusky self-assigned this Sep 8, 2019
@TimPietrusky TimPietrusky changed the title Documentation on how to use this on Linux Documentation on how to use the WebUSB DMX512 controller on Linux Sep 8, 2019
@TimPietrusky
Copy link
Member Author

TimPietrusky commented Jun 25, 2021

The steps are:

# Create a file for the Arduino-access rights
sudo nano /etc/udev/rules.d/50-arduino.rules

# With this content
SUBSYSTEM=="usb", ATTR{idVendor}=="2341", MODE="0664", GROUP="plugdev"

# Check if your user is part of the plugdev group
groups <username>

Then reconnect your device!

Note: Instead of 2341 for the idVendor, it could be a different one depending on the Arduino you are using. A list of supported devices can be found https://github.com/NERDDISCO/webusb-dmx512-controller/blob/master/controller.js#L27-L38

You can check your device in Chrome via chrome://device-log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant