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

config/99-glasgow.rules should maybe set ENV{ID_MAKER_TOOL} #163

Closed
emilazy opened this issue Sep 29, 2019 · 3 comments
Closed

config/99-glasgow.rules should maybe set ENV{ID_MAKER_TOOL} #163

emilazy opened this issue Sep 29, 2019 · 3 comments
Labels
question Meta: question / support issue

Comments

@emilazy
Copy link
Contributor

emilazy commented Sep 29, 2019

...or something of the sort, rather than doing group tests and assigning uaccess directly. udev ships with rules like these:

# software-defined radio communication devices
ENV{ID_SOFTWARE_RADIO}=="?*", TAG+="uaccess"

# 3D printers, CNC machines, laser cutters, 3D scanners, etc.
ENV{ID_MAKER_TOOL}=="?*", TAG+="uaccess"
@electroniceel
Copy link
Member

hmm, I'm not so sure if Glasgow fits their idea of a "maker tool". The examples they give hint more in the direction of making physical stuff than being used for electronics debugging and rev engineering.

Also this would tighten the dependencies for Glasgow: this ID_MAKER_TOOL was introduced with systemd 230, released 2016-05-21.

I'm not sure we gain anything by declaring being a maker tool. systemd will just give us the same uaccess. I actually like the GROUP="plugdev", TAG+="uaccess" approach, as it gives maximum compatibility with older and newer systems, be they systemd-based or something else.

@marcan
Copy link
Member

marcan commented Sep 30, 2019

Just as a datapoint, eudev does not ship with such rules as far as I can tell.

@whitequark whitequark added the question Meta: question / support issue label Sep 30, 2019
@whitequark
Copy link
Member

I'm not sure we gain anything by declaring being a maker tool. systemd will just give us the same uaccess. I actually like the GROUP="plugdev", TAG+="uaccess" approach, as it gives maximum compatibility with older and newer systems, be they systemd-based or something else.

I agree with this. I also don't find "maker tool" a convincing classification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Meta: question / support issue
Projects
None yet
Development

No branches or pull requests

4 participants