The /sys/class/pwm folder is empty after updating to the 3.2.14 kernel that was delivered via opkg. I restored a backed-up copy of the 3.2.13 kernel, and /sys/class/pwm is populated again.
same here with BeagleBone. I just upgraded. Damn! is this a screw up or have files moved ?
`
root@beaglebone:/sys/class/pwm# uname -a
Linux beaglebone 3.2.14 #1 Thu Apr 19 12:35:12 CEST 2012 armv7l GNU/Linux
root@beaglebone:/sys/class/pwm# ls
root@beaglebone:/sys/class/pwm#
Can you shed some light on the problem? Is /sys/class/pwm still the correct location for the PWM file system? Should the file system be automatically created during the boot process?
I noticed that kernel 3.2.18 was delivered when I ran opkg update today, and with that kernel the /sys/class/pwm folder is now being populated again. (This is with the 2012.05 image from http://downloads.angstrom-distribution.org/demo/beaglebone/ – looks like that kernel version isn’t available for earlier images).
On the down side, the analog in ports have disappeared. They aren’t in /sys/devices/platform/tsc anymore (the tsc directory no longer exists). In fact, the ainN files aren’t anywhere in the /sys tree.
I believe that a change to the analog input handling was in the kernel roadmap. Has the analog input file system changed?
I noticed that kernel 3.2.18 was delivered when I ran opkg update today, and with that kernel the /sys/class/pwm folder is now being populated again. (This is with the 2012.05 image from http://downloads.angstrom-distribution.org/demo/beaglebone/ – looks like that kernel version isn’t available for earlier images).
On the down side, the analog in ports have disappeared. They aren’t in /sys/devices/platform/tsc anymore (the tsc directory no longer exists). In fact, the ainN files aren’t anywhere in the /sys tree.
Have you looked in /sys/devices/platform/omap/tsc ? I found them there with the kernel I’m using.
No, they aren’t in /sys/devices/platform/omap/tsc either – actually, the tsc directory is no longer there. I think they moved to this directory in 3.2.14, but it looks like they’ve moved again.
I also checked the analog in directory used by bonescript, /sys/bus/platform/devices/tsc: again, no tsc directory.
No, they aren’t in /sys/devices/platform/omap/tsc either – actually, the tsc directory is no longer there. I think they moved to this directory in 3.2.14, but it looks like they’ve moved again.
I also checked the analog in directory used by bonescript, /sys/bus/platform/devices/tsc: again, no tsc directory.
No, they aren't in /sys/devices/platform/omap/tsc either -- actually, the tsc directory is no longer there. I think they moved to this directory in 3.2.14, but it looks like they've moved again.
Make sure you have at least 3.2.18-r12c, the previous ones only give you AIN nodes with a specfic arangement of cape addresses, 12c fixed that. It should online in the feeds in a few minutes
I build image from ti-sdk-am335x-evm-05.07.00.00 with and PWM support enable in menuconfig. /sys/class/pwm folder is empty to…
How I can set PWM support in this sdk?