-
Notifications
You must be signed in to change notification settings - Fork 158
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
PWM: changes for udev permissions #156
Comments
Here's the details: CC @pdp7 pwmX -> pwm-(pwmchipW):X in v4.4.x: (pwmchip1)
in v4.11.x+ (pwmchip1)
In v4.4.x
in v4.11.x+
|
thanks @RobertCNelson |
@RobertCNelson as far as I can tell, I'm already accessing the correct 4.4 file and the code should find the right locations on other kernels as you've described. Note that BoneScript uses the addresses, not the indexes for the search. This makes it more generic. To test, I got super lazy and updated the udev rules to update all permissions any time any of the pwm drivers is loaded. There are so many events that the file was starting to be a pain otherwise. The ecap files will also need updates, but I didn't have them enabled on PocketBeagle to test. I tried pointlessly to hack the udev rules to respond to export/unexport and I finally really know about beagleboard/linux#124. Anyway, if you update the permissions, the head of BoneScript works.
|
@jadonk we are closer, just rebuild bonescript for buster: (bonescript-0.6.2-beta3-08f082b-v8.9.3) https://rcn-ee.net/rootfs/bb.org/testing/2017-12-21/buster-iot/ There still an issue with v4.14.x (root and debian), udev permissions are correct for "debian", but considering root is failing, something else causing an issue. v4.4.x: (as root = works)
v4.14.x (as root)
v4.14.x (as debian)
v4.14.x udev:
Regards, |
Newer kernels require enable to be *after* frequency update. #156 (comment)
See: RobertCNelson/omap-image-builder#109
can be tested with any bone kernel later then v4.11.x
The text was updated successfully, but these errors were encountered: