google "privileged commands" for linux. You need root, or us an additional "switch" with sudo. sudo -sh <command> I believe. Also, you can fix this in the sudoers file by having that user set to use roots user:passwd
On Fri, Nov 14, 2014 at 4:35 PM, Tux Leonard <[email protected]> wrote: > Thanks. > Now I got the capemgr but no permission to write to the slots > > sudo echo BB-BONE-PRU-01 > /sys/devices/bone_capemgr.9/slots > > -bash: /sys/devices/bone_capemgr.9/slots: Permission denied > > > 2014-11-14 22:32 GMT+01:00 Robert Nelson <[email protected]>: > >> >> On Nov 14, 2014 3:24 PM, "Tux Leonard" <[email protected]> wrote: >> > >> > This libpruio looks good. The problem is that I can't get it running. >> > I think this is related tu the kernel (3.14.x or 3.17.x) version I am >> using. There is no capemgr any more. >> > Could you suggest me a linux image or kernel version I should use? >> >> sudo apt-get update >> sudo apt-get install linux-image-3.8.13-bone67 >> sudo reboot >> >> >> > >> > 2014-11-08 19:12 GMT+01:00 TJF <[email protected]>: >> >> >> >> >> >> Hello Roy, >> >> >> >> there's an alternative way to fetch ADC data on the BBB. The library >> libpruio provides several functions to fetch analog input, much faster and >> more flexible than sysfs. It also allows to configure the ADC subsystem >> steps. And furthermore it supports digital IO (GPIO, PWM and CAP). >> >> >> >> -- >> >> 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. >> >> -- >> 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. > -- 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.
