-
Notifications
You must be signed in to change notification settings - Fork 30
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
bb-customizations: overlap between generic-board-startup and /etc/udev/rules.d/*gpio*.rules #40
Comments
I have also a confusion about |
@turmary do you have any hints/patches for speed up? |
Yes, I have a patch which tested on PocketBeagle Linux v4.9.X. It will speed up the startup one minute time approximately. I also noticed that keywords OWNER/GROUP/MODE in rules file doesn't take effect. |
@turmary can you do a github pull request against current master? |
@amilcarlucas gpio permissions are no longer done in generic-startup.sh, it should all be taken by the udev rules: https://github.com/beagleboard/customizations/tree/master/etc/udev/rules.d Regards, |
The
/etc/udev/rules.d/*gpio*.rules
files changes the owner/group of the gpio device files toroot:gpio
, but this is also done in/opt/scripts/boot/generic-startup.sh
so there seems to be a redundancy here. Also a race condition between udev andgeneric-statup.sh
will manifest if you add your own udev rules files to set the gpio device files owner/group to be run after thebb-customizations
ones with another user/group, breaking what you expect from an udev based system. Probably it will be better to remove thechown
's fromgeneric-startup.sh
Besides this, I think the
*.rules
files must useRUN+=
instead ofPROGRAM=
to callchown
.The text was updated successfully, but these errors were encountered: