We do have a better solution, which utilizes udev, but I haven't back ported that to v4.9/v4.4 yet. (It requires fixes for bonescript still.. I fixed adafruit library last week)
Regards,
Andy Bushnell
unread,
Oct 18, 2017, 10:45:08 PM10/18/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Robert Nelson, Beagle Board
Thanks!
Andy
Rusty Haddock
unread,
Nov 7, 2017, 1:41:47 PM11/7/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to BeagleBoard
If you need to use 'sudo' just prefixing it to your command won't affect the redirection. Best to do this:
echo 20000 | sudo tee ${ocp}/48300000.epwmss/48300200.pwm/pwm/pwmchip*/pwm0/period