Closed ulitiy closed 6 years ago
This patch:
or v4.11.x-bone+ kernel or later:
Regards,
@RobertCNelson can you tell me where can I find a usable kernel-bonescript pair, please?
I've installed "testing" kernel, 4.13.4-bone1, and apparently pwm paths are not compatible with this kernel.
As for the patch http://elinux.org/BeagleBoardLinuxKernel looks a bit complicated, I'd better go for an older version with root-env but the one that works. Debian 8.7 2017-03-19 4GB SD LXQT
can you tell me please if this version is reliable?
@ulitiy and you see why i haven't backported that patch to v4.4.x/v4.9.x..
bonescript needs to be patched. (and also the adafruit library), you'll notice in the pwm patch it's only 3 more characters. creating issue here:
https://github.com/jadonk/bonescript/issues/156
Regards,
I get
Error: EACCES: permission denied, open '/sys/devices/platform/ocp/48300000.epwmss/48300200.pwm/pwm/pwmchip0/pwm0/enable'
when trying toanalogWrite
so I've added rulesbut it doesn't persist after reboot. How can I fix that permanently?