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

Enable non-root user access #4

Open
harryhaaren opened this issue May 18, 2017 · 4 comments
Open

Enable non-root user access #4

harryhaaren opened this issue May 18, 2017 · 4 comments

Comments

@harryhaaren
Copy link
Member

Ensure that a good UX is provided for users who are not running as root. This probably involves writing udev rules to enable non-root user access to the USB devices that are supported by ctlra.

@harryhaaren harryhaaren added this to the Future Release milestone May 18, 2017
@harryhaaren
Copy link
Member Author

Thanks Robin for mentioning Ardour's udev rule for the machine2:
https://github.com/Ardour/ardour/blob/850b0d3e0940df07edaafed30e6517ec3f6f309c/tools/udev/99-maschine2.rules

@Be-ing
Copy link

Be-ing commented Jun 24, 2017

Mixxx uses a udev rule that whitelists known USB vendor IDs. I think this is a better approach than whitelisting combinations of vendor and product IDs because then everyone implementing support for a new controller would have to make a new udev rule for it. However, there are only a few companies making HID controllers that people would be interested in using with Ctrla, so whitelisting a few vendors should make it so few people have to care about this issue.

It will be important for a good user experience to communicate to packagers that the udev rule needs to be installed in the appropriate place for the distribution.

@harryhaaren
Copy link
Member Author

Ah thanks for the input here - Udev rules it is, Thanks for the note to investigate the existing rules that Mixxx puts in place for USBHID controller devices .

@Be-ing
Copy link

Be-ing commented Jun 24, 2017

Ableton's USB vendor ID is apparently 2982.

@harryhaaren harryhaaren removed this from the Future Release milestone Nov 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants