-
Notifications
You must be signed in to change notification settings - Fork 17
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
Comments
Thanks! I'll try these out on a VM shortly and add it to the repo. |
todbot
added a commit
that referenced
this issue
Jun 12, 2024
todbot
added a commit
that referenced
this issue
Jun 12, 2024
todbot
added a commit
that referenced
this issue
Jun 12, 2024
Added and verified it works on FreeBSD 14.1. Thanks so much! |
Hi, Tod,
Thank you! Although I have set up several FreeBSD systems, I do not
consider myself a FreeBSD expert, and every time, I have to figure out how
devd rules work again. Having them added will save me from re-educating
myself each time.
Best regards,
Lynn
…On Wed, Jun 12, 2024 at 1:16 PM Tod Kurt ***@***.***> wrote:
Added and verified it works on FreeBSD 14.1. Thanks so much!
—
Reply to this email directly, view it on GitHub
<#74 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAC3LWID376QPVI4SX4XRC3ZHCNBTAVCNFSM6AAAAABJFZLCQSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRTG4ZTKMBWHA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
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.
The text was updated successfully, but these errors were encountered: