On Thu, Apr 27, 2017 at 5:15 PM, William Hermans <[email protected]> wrote: > > > On Thu, Apr 27, 2017 at 3:12 PM, Robert Nelson <[email protected]> > wrote: >> >> >> https://lkml.org/lkml/2016/6/14/967 >> > > Ouch, so sounds like a boot script hack is the only way right now ?
Yay! That patch did it. now to figure out where it is in the patchqueue.. Sorry Jason/Drew/Mark, looks like i'm breaking pwm in bonescript/adafruit/etc.. "pwm0" -> "pwm-0:0" debian@beaglebone:/sys/class/pwm/pwmchip0$ ls -lha total 0 drwxrwxr-x 3 root pwm 0 Apr 27 22:16 . drwxr-xr-x 3 root root 0 Apr 27 22:12 .. lrwxrwxrwx 1 root pwm 0 Apr 27 22:16 device -> ../../../48300100.ecap -rw-rw---- 1 root pwm 4.0K Apr 27 22:16 export -rw-rw-r-- 1 root pwm 4.0K Apr 27 22:16 npwm drwxrwxr-x 2 root pwm 0 Apr 27 22:16 power lrwxrwxrwx 1 root pwm 0 Apr 27 22:16 subsystem -> ../../../../../../../class/pwm -rw-rw-r-- 1 root pwm 4.0K Apr 27 22:16 uevent -rw-rw---- 1 root pwm 4.0K Apr 27 22:16 unexport debian@beaglebone:/sys/class/pwm/pwmchip0$ echo 0 > export debian@beaglebone:/sys/class/pwm/pwmchip0$ ls -lha total 0 drwxrwxr-x 4 root pwm 0 Apr 27 22:16 . drwxr-xr-x 3 root root 0 Apr 27 22:16 .. lrwxrwxrwx 1 root pwm 0 Apr 27 22:16 device -> ../../../48300100.ecap -rw-rw---- 1 root pwm 4.0K Apr 27 22:16 export -rw-rw-r-- 1 root pwm 4.0K Apr 27 22:16 npwm drwxrwxr-x 2 root pwm 0 Apr 27 22:16 power drwxrwxr-x 3 root pwm 0 Apr 27 22:16 pwm-0:0 lrwxrwxrwx 1 root pwm 0 Apr 27 22:16 subsystem -> ../../../../../../../class/pwm -rw-rw-r-- 1 root pwm 4.0K Apr 27 22:16 uevent -rw-rw---- 1 root pwm 4.0K Apr 27 22:16 unexport debian@beaglebone:/sys/class/pwm/pwmchip0$ cd pwm-0\:0/ debian@beaglebone:/sys/class/pwm/pwmchip0/pwm-0:0$ ls -lha total 0 drwxrwxr-x 3 root pwm 0 Apr 27 22:16 . drwxrwxr-x 4 root pwm 0 Apr 27 22:16 .. -rw-rw-r-- 1 root pwm 4.0K Apr 27 22:16 capture lrwxrwxrwx 1 root pwm 0 Apr 27 22:16 device -> ../../pwmchip0 -rw-rw-r-- 1 root pwm 4.0K Apr 27 22:16 duty_cycle -rw-rw-r-- 1 root pwm 4.0K Apr 27 22:16 enable -rw-rw-r-- 1 root pwm 4.0K Apr 27 22:16 period -rw-rw-r-- 1 root pwm 4.0K Apr 27 22:16 polarity drwxrwxr-x 2 root pwm 0 Apr 27 22:16 power lrwxrwxrwx 1 root pwm 0 Apr 27 22:16 subsystem -> ../../../../../../../../class/pwm -rw-rw-r-- 1 root pwm 4.0K Apr 27 22:16 uevent 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/CAOCHtYg_wVWF5GW1%3DdtEDb1ao4kwZ2Zwt4X86hDJqYgw_w2fsQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
