Currently BeagleBone-IO requires root privileges for:
Writing the slots files to enable ADC if it's not already enabled
Writing the files to control PWM
The slots file is deprecated on v4.4+ kernels so the code accessing it can be removed. ADC can be enabled/disabled in /boot/uEnx.txt. ADC is enabled by default.
On v4.11+ the files used to control PWM can be written without root privileges. Note that udev is used to set permissions here so it will be necessary to wait for udev to complete its work before accessing the PWM files. See https://github.com/jadonk/bonescript/issues/161.
Resolving this issue would mean that BeagleBone-IO could be used without root privileges which would be an excellent enhancement.
Currently BeagleBone-IO requires root privileges for:
slots
files to enable ADC if it's not already enabledThe
slots
file is deprecated on v4.4+ kernels so the code accessing it can be removed. ADC can be enabled/disabled in/boot/uEnx.txt
. ADC is enabled by default.On v4.11+ the files used to control PWM can be written without root privileges. Note that udev is used to set permissions here so it will be necessary to wait for udev to complete its work before accessing the PWM files. See https://github.com/jadonk/bonescript/issues/161.
Resolving this issue would mean that BeagleBone-IO could be used without root privileges which would be an excellent enhancement.