Ok the examples work now. I was missing the pruss driver kit. At the moment I don't need the am335x-pru-package package.
2014-11-15 10:20 GMT+01:00 Tux Leonard <[email protected]>: > Thanks for the hint. I am now using root so that I don't need this work > around anymore. > > I think now I need the am335x-pru-package package > > apt-get install am335x-pru-package > > E: Unable to locate package am335x-pru-package > > > I try to use git to install this package but I don't see what to do with > this? > > 2014-11-15 0:43 GMT+01:00 William Hermans <[email protected]>: > >> 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. >> > > -- 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.
