Created
December 1, 2021 18:46
Star
You must be signed in to star a gist
udev cleanups
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
debian@BeagleBone:~$ cat /etc/udev/rules.d/87-iio-noroot.rules | |
# /etc/udev/rules.d/87-iio-noroot.rules | |
# | |
KERNEL=="iio:device[0-9]*", SUBSYSTEM=="iio", GROUP="gpio" | |
#5.15.4-bone10 | |
#Startup finished in 10.453s (kernel) + 1min 32.782s (userspace) = 1min 43.236s | |
#graphical.target reached after 1min 32.174s in userspace | |
#DRIVER=="*", ACTION=="add", \ | |
# RUN+="/bin/chgrp -R gpio '/sys%p'", \ | |
# RUN+="/bin/chmod -R g=u '/sys%p'" | |
#5.15.4-bone10 | |
#Startup finished in 10.462s (kernel) + 38.112s (userspace) = 48.574s | |
#graphical.target reached after 35.484s in userspace | |
DRIVER=="TI-am335x-adc", ACTION=="add", \ | |
RUN+="/bin/chgrp -R gpio '/sys%p'", \ | |
RUN+="/bin/chmod -R g=u '/sys%p'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment