This is what the analog.js application shows: https://i.imgur.com/4ifEFBQ.png
if i manually do: debian@test-bbb-2:/sys/class/pwm/pwmchip4$ sudo /bin/chown -R root:pwm ./pwm0/ debian@test-bbb-2:/sys/class/pwm/pwmchip4$ sudo /bin/chmod -R ug+rw ./pwm0/ debian@test-bbb-2:/sys/class/pwm/pwmchip4$ ls -lha total 0 drwxrwxr-x 4 root pwm 0 Apr 22 02:30 . drwxr-xr-x 3 root root 0 Apr 22 02:31 .. lrwxrwxrwx 1 root pwm 0 Apr 22 02:26 device -> ../../../48302200.pwm -rw-rw---- 1 root pwm 4.0K Apr 22 02:26 export -rw-rw-r-- 1 root pwm 4.0K Apr 22 02:26 npwm drwxrwxr-x 2 root pwm 0 Apr 22 02:26 power drwxrwxr-x 3 root pwm 0 Apr 22 02:30 pwm0 lrwxrwxrwx 1 root pwm 0 Apr 22 02:26 subsystem -> ../../../../../../../class/pwm -rw-rw-r-- 1 root pwm 4.0K Apr 22 02:26 uevent -rw-rw---- 1 root pwm 4.0K Apr 22 02:26 unexport debian@test-bbb-2:/sys/class/pwm/pwmchip4$ cd pwm0/ debian@test-bbb-2:/sys/class/pwm/pwmchip4/pwm0$ ls -lha total 0 drwxrwxr-x 3 root pwm 0 Apr 22 02:30 . drwxrwxr-x 4 root pwm 0 Apr 22 02:30 .. -rw-rw-r-- 1 root pwm 4.0K Apr 22 02:32 duty_cycle -rw-rw-r-- 1 root pwm 4.0K Apr 22 02:32 enable -rw-rw-r-- 1 root pwm 4.0K Apr 22 02:32 period -rw-rw-r-- 1 root pwm 4.0K Apr 22 02:32 polarity drwxrwxr-x 2 root pwm 0 Apr 22 02:32 power -rw-rw-r-- 1 root pwm 4.0K Apr 22 02:32 uevent it looks like it works: https://i.imgur.com/z4AztWJ.png (board's in a box in the basement, so i'm assuming P9_14 has a pwm output ;) debian@test-bbb-2:/sys/class/pwm/pwmchip4/pwm0$ cat ./* 259585 1 500000 normal cat: ./power: Is a directory Regards, -- Robert Nelson https://rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYitRfEpOa-mrU%2B0XZFXJBVTouqYQ9aXFkn3TfCnA2MYkQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
