On Thu, Apr 27, 2017 at 4:46 PM, William Hermans <[email protected]> wrote:
> By the way, I think the small amount I talked about udev, and permissions on
> my git for bonejs. I pretty much got most of that information from rPI
> content all over the web. I did have to make several modifications though .

if only they had a pwm udev rule. ;)

still no go with v4.9.x-ti

debian@beaglebone:/sys/class/pwm$ ls -lha
total 0
drwxrwxr-x  2 root pwm  0 Apr 27 21:39 .
drwxr-xr-x 61 root root 0 Apr 27 21:39 ..
lrwxrwxrwx  1 root pwm  0 Apr 27 21:39 pwmchip0 ->
../../devices/platform/ocp/48300000.epwmss/48300100.ecap/pwm/pwmchip0
lrwxrwxrwx  1 root pwm  0 Apr 27 21:39 pwmchip1 ->
../../devices/platform/ocp/48300000.epwmss/48300200.pwm/pwm/pwmchip1
lrwxrwxrwx  1 root pwm  0 Apr 27 21:39 pwmchip3 ->
../../devices/platform/ocp/48302000.epwmss/48302200.pwm/pwm/pwmchip3
lrwxrwxrwx  1 root pwm  0 Apr 27 21:39 pwmchip5 ->
../../devices/platform/ocp/48304000.epwmss/48304100.ecap/pwm/pwmchip5
lrwxrwxrwx  1 root pwm  0 Apr 27 21:39 pwmchip6 ->
../../devices/platform/ocp/48304000.epwmss/48304200.pwm/pwm/pwmchip6

debian@beaglebone:/sys/class/pwm/pwmchip3$ ls -lha
total 0
drwxrwxr-x 4 root pwm     0 Apr 27 21:48 .
drwxr-xr-x 3 root root    0 Apr 27 21:38 ..
lrwxrwxrwx 1 root pwm     0 Apr 27 21:39 device -> ../../../48302200.pwm
-rw-rw---- 1 root pwm  4.0K Apr 27 21:39 export
-rw-rw-r-- 1 root pwm  4.0K Apr 27 21:39 npwm
drwxrwxr-x 2 root pwm     0 Apr 27 21:39 power
drwxr-xr-x 3 root root    0 Apr 27 21:48 pwm0
lrwxrwxrwx 1 root pwm     0 Apr 27 21:39 subsystem ->
../../../../../../../class/pwm
-rw-rw-r-- 1 root pwm  4.0K Apr 27 21:39 uevent
-rw-rw---- 1 root pwm  4.0K Apr 27 21:39 unexport

debian@beaglebone:/sys/class/pwm/pwmchip3/pwm0$ ls -lha
total 0
drwxr-xr-x 3 root root    0 Apr 27 21:49 .
drwxrwxr-x 4 root pwm     0 Apr 27 21:48 ..
-r--r--r-- 1 root root 4.0K Apr 27 21:50 capture
-rw-r--r-- 1 root root 4.0K Apr 27 21:50 duty_cycle
-rw-r--r-- 1 root root 4.0K Apr 27 21:48 enable
-rw-r--r-- 1 root root 4.0K Apr 27 21:50 period
-rw-r--r-- 1 root root 4.0K Apr 27 21:50 polarity
drwxr-xr-x 2 root root    0 Apr 27 21:50 power
-rw-r--r-- 1 root root 4.0K Apr 27 21:50 uevent

the "pwm0" node always comes up root:root..

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/CAOCHtYhZ5xr2zV5dESoW%2BA6cC040oJ%3D%3DxhC0MQFXb39ZevnHfQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to