Skip to content

Update udev rules during installation #114

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

Closed
mastrolinux opened this issue Aug 10, 2016 · 6 comments
Closed

Update udev rules during installation #114

mastrolinux opened this issue Aug 10, 2016 · 6 comments
Assignees
Labels
conclusion: stale Closed due to lack of activity status: waiting for information More information must be provided before work can proceed

Comments

@mastrolinux
Copy link
Contributor

mastrolinux commented Aug 10, 2016

To make the programming port of the Zero working we need to add the following on linux:

ACTION!="add|change", GOTO="openocd_rules_end"
SUBSYSTEM!="usb|tty|hidraw", GOTO="openocd_rules_end"
# CMSIS-DAP compatible adapters
ATTRS{product}=="*CMSIS-DAP*", MODE="664", GROUP="plugdev"
LABEL="openocd_rules_end"

I did that creating a file named /etc/udev/rules.d/61-openocd.rules with that content.

@facchinm
Copy link
Member

We should add a way similar to Windows' post_install.bat to overcome this in a standard way. Also, similar lines should be added to Linux installer so the user is directly added to dialout group and a warning emitted if modem-manager is running (the main problems for beginners in Linux right now)

@mastrolinux
Copy link
Contributor Author

I think the right group in this case is plugdev. I do agree on the post_install strategy. May I help you in some way?

@facchinm
Copy link
Member

The group depends on the distro, its existence should be checked by the install script. I believe that starting with a PR on https://github.com/arduino/ArduinoCore-samd is the right way to start 😉

@zmoog
Copy link
Contributor

zmoog commented Jan 26, 2021

@facchinm are you handling this configuration step in the core now?

@zmoog zmoog added the status: waiting for information More information must be provided before work can proceed label Feb 2, 2021
@github-actions
Copy link

This issue has been marked as stale because it has been open 14 days with no activity. Remove stale label or comment, otherwise it will be closed in 7 days

@github-actions github-actions bot added the Stale label Feb 22, 2021
@github-actions
Copy link

github-actions bot commented Mar 1, 2021

This issue has been closed becasue has been stale for 7 days. If you think this issue deserves some attention feel free to reopen it

@github-actions github-actions bot closed this as completed Mar 1, 2021
@rsora rsora added type: imperfection Perceived defect in any part of project conclusion: stale Closed due to lack of activity labels Sep 22, 2021
@per1234 per1234 added Stale and removed type: imperfection Perceived defect in any part of project Stale labels Oct 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: stale Closed due to lack of activity status: waiting for information More information must be provided before work can proceed
Projects
None yet
Development

No branches or pull requests

5 participants