Well.... /sys/class/pwm/pwmchip2/pwm0 worked! Thanks... So given the pin name (P9_14 for example) how do I find the pwm path? (I'm trying to port bonescript to Jessie.)
--Mark On Monday, February 8, 2016 at 5:41:27 PM UTC-5, William Hermans wrote: > > Have the pins "shifted" in this kernel again ? > > On Mon, Feb 8, 2016 at 3:34 PM, Mark A. Yoder <[email protected] > <javascript:>> wrote: > >> Sorry, I left that out. >> >> *config-pin -q P9_14* >> P9_14 Mode: pwm >> >> It appears to be set right. >> >> --Mark >> >> On Monday, February 8, 2016 at 5:27:42 PM UTC-5, RobertCNelson wrote: >> >>> On Mon, Feb 8, 2016 at 4:22 PM, Mark A. Yoder <[email protected]> >>> wrote: >>> > I'm have trouble reproducing this. I'm running >>> > >>> > cat /etc/dogtag >>> > BeagleBoard.org Debian Image 2016-01-24 >>> > cat $SLOTS >>> > 0: PF---- -1 >>> > 1: PF---- -1 >>> > 2: PF---- -1 >>> > 3: PF---- -1 >>> > 4: P-O-L- 0 Override Board Name,00A0,Override Manuf,cape-universaln >>> > >>> > Wire an LED to P9_14 and then: >>> > cd /sys/class/pwm/pwmchip3 >>> > echo 0 > export >>> > cd pwm0 >>> > echo 1 > enable >>> > echo 1000000000 > period >>> > echo 500000000 > duty_cycle >>> > >>> > No errors, but the LED doesn't flash. The LED does turn on when I >>> control >>> > via the GPIO. >>> > >>> > What am I missing? >>> >>> What's the status of P9_14? >>> >>> sudo config-pin -q P9.14 >>> >>> sudo config-pin P9.14 pwm >>> >>> then re-check: >>> >>> sudo config-pin -q P9.14 >>> >>> 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] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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.
