> On Nov 13, 2014, at 9:33 PM, Peter Gregory <[email protected]> wrote:
> 
> So, I can get config-pin to install by getting the universal-io from git
> 
> #apt-get install gcc g++ make device-tree-compiler
> #git clone https://github.com/cdsteinkuehler/beaglebone-universal-io
> #cd beaglebone-universal-io/
> #make
> #sudo make install
> 
> after that, I can change the mode of my pin 
> 
> PIN  8 - P8-19 gpio0[22] 22 0x820 EHRPWM2A
> 
> to PWM with:
> 
> #config-pin p8.19 pwm
> 
> it changes the configuration, I can verify it by checking with
> 
> #config-pin -q p8.19
> 
> however, I can't export the pin using:
> 
> sudo cat 2 > /sys/class/pwm/export

???
sudo echo 2 >  /sys/class/pwm/export
maybe?
"cat 2” would try to concatenate (or print) a file named “2” to stdout and then 
redirect it to a file named /sys/class/pwm/export

> 
> it always comes back with permission denied
> 
> also, the /sys/class/pwm directory is empty, there should be something in 
> there, right?
> 
> Any ideas what I need to do to get pwm working?
> 
> 
> 
> -- 
> 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.

-- 
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.

Reply via email to