Skip to content
New issue

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

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

Already on GitHub? # to your account

Could you supply FreeBSD devd rules for making the Blink(1) device available to non-root users? #74

Closed
lgrant-cdg opened this issue Jun 12, 2024 · 3 comments

Comments

@lgrant-cdg
Copy link

A set of udev rules are supplied for making the Blink(1) device available to non-root users on Linux systems.

FreeBSD does not use udev, but instead uses devd rules, which have a completely different format.

Here is an example of the rules for FreeBSD:

blink1.conf

notify 51 {
match "system" "USB";
match "subsystem" "DEVICE";
match "type" "ATTACH";
match "vendor" "0x27b8";
match "product" "0x01ed";
action "chmod 666 /dev/$cdev";

The file goes in the /usr/local/etc/devd directory, and you should do a "service devd restart" and unplug/replug your Blink(1) device.

@todbot
Copy link
Owner

todbot commented Jun 12, 2024

Thanks! I'll try these out on a VM shortly and add it to the repo.

@todbot
Copy link
Owner

todbot commented Jun 12, 2024

Added and verified it works on FreeBSD 14.1. Thanks so much!

@todbot todbot closed this as completed Jun 12, 2024
@lgrant-cdg
Copy link
Author

lgrant-cdg commented Jun 12, 2024 via email

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants