Vitor last time I checked (early April) The default device tree that comes with the 3.13 kernel registered 3 PWM channels on P9_14, P9_16 (ehprwm1a&b) & P9_42 (ecap0). But when i took a peek at the contents of the "/sys/devices /ocp.#/pwm_test_P9_14.#/" directory I do not see the 'period', 'duty', 'run' or 'polarity' files needed to control the PWM channels. Its been 2 months since I checked so it might be worth having a look at it again at this point...
As root, 'cd' & 'ls' into "/sys/devices/ocp.#/pwm_test_P9_14.#/", "/sys/ devices/ocp.#/pwm_test_P9_16.#/" and "/sys/devices/ocp.#/pwm_test_P9_42.#/" do you see 'period', 'duty' files ? if so then PWM is supported....but I highly doubt it I very much prefer the approach of editing the device tree file directly instead of using the cape manager or even device tree overlays. It's more complicated to pick up, but is portable across kernel versions. The cape manager is hard to support across kernel versions and is probably the main reason why BBB users stick with the 3.8 Kernel. On Tuesday, May 6, 2014 3:18:02 PM UTC-4, vitor de miranda henrique wrote: > > Thanks Robert! > > I'll take a look on the power management as soon as i get back home. > > For the 3.13 i guess i wont be able to use adafruit python library on the > new kernel right? > > Vitor Henrique > > Em terça-feira, 6 de maio de 2014 13h49min22s UTC-5, RobertCNelson > escreveu: >> >> On Tue, May 6, 2014 at 1:42 PM, vitor de miranda henrique >> <[email protected]> wrote: >> > I'll try to disable power management, already used usb powered hub and >> a >> > extension cable without success. >> >> /sbin/iwconfig wlan0 power off >> >> > And i could not get the PWM working on 3.13. Do i need to compile it >> with a >> > special module? >> >> First, "capemgr" hasn't been ported past v3.8. So what you did in v3.8 >> will not work in v3.13/v3.14. That said in v3.13/v3.14 i did enable >> the pwm used by the "proto-cape" >> http://elinux.org/CircuitCo:Basic_Proto_Cape >> >> I have no idea if they work in v3.13/v3.14.. >> >> Regards, >> >> -- >> Robert Nelson >> http://www.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]. For more options, visit https://groups.google.com/d/optout.
