RE: [beagleboard] where is capemgr?
Robert, Thanks. I have spent a good bit of time with the robotics cape through working with James Strawson. He has constructed a very good set of aps and library for newbies to use. Those are his main constituents, IMHO. I have been using his board without his code base with his help. He and I differ on certain value judgements, like using mmap for I/O access. So... If I'm not using his libraries and want to start capemgr and manually export and use BBB I/O and robotics cape I/O, how to do that? I tried using systemctl to start capemgr.service but don't see any results but don't know where its gripes would get posted. Clark -Original Message- From: Robert Nelson [mailto:robertcnel...@gmail.com] Sent: Tuesday, July 11, 2017 12:37 PM To: Beagle Board <beagleboard@googlegroups.com> Cc: Clark Briggs <clark.bri...@ata-e.com> Subject: Re: [beagleboard] where is capemgr? On Tue, Jul 11, 2017 at 2:28 PM, <clarkbriggs...@gmail.com> wrote: > After watching the great progress, I started in. I have the 3/19/2017 > latest image with apt-get upgrades running on a Rev C BBB with a Rev C > Robotics Cape. All in all, the process worked well. But I can't find > capemgr. I went looking for it because I want to access analog I/O and > other stuff. Recent emails from here-ish say capemgr is supposed to be > in /sys/devices/platform but not. To get analog I/O, I put > "cape_enable=bone_capemgr.enable_partno=BB-ADC" in uEnv.txt, but no > /sys/bus/iio. > some info > debian@sim15:~$ uname -a > Linux sim15 4.4.54-ti-r93 #1 SMP Fri Mar 17 13:08:22 UTC 2017 armv7l > GNU/Linux debian@sim15:~$ cat /etc/dogtag BeagleBoard.org Debian Image > 2017-03-19 debian@sim15:~$ systemctl status capemgr.service ● > capemgr.service - Cape Manager Service >Loaded: loaded (/lib/systemd/system/capemgr.service; enabled; > vendor > preset: enabled) >Active: inactive (dead) since Tue 2017-07-11 18:46:54 UTC; 32min ago > Process: 4598 ExecStart=/bin/sh /opt/scripts/boot/capemgr.sh > (code=exited, > status=0/SUCCESS) > Main PID: 4598 (code=exited, status=0/SUCCESS) Jul 11 18:46:53 sim15 > systemd[1]: Starting Cape Manager Service... > Jul 11 18:46:54 sim15 systemd[1]: Started Cape Manager Service. The BB + Robotic Cape boots a special device tree binary, thus capemgr is disabled. the librobotic library expects this combination to have things setup a certain way, as it utilzes /dev/mem to access the gpio/adc/etc. As I don't have that cape, and it's still not listed for sale, this isn't going to change anytime soon. 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 beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/feb4a96ffe914b3e93c5e1e1d1328e0b%40Exchange1.ata-engineering.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] where is capemgr?
On Tue, Jul 11, 2017 at 2:49 PM, Clark Briggswrote: > Robert, > Thanks. > I have spent a good bit of time with the robotics cape through working with > James Strawson. He has constructed a very good set of aps and library for > newbies to use. Those are his main constituents, IMHO. > I have been using his board without his code base with his help. He and I > differ on certain value judgements, like using mmap for I/O access. So... Yeah, i'd like to rip all those mmap calls out of the library, and just access them thru kernel userspace. ;) > If I'm not using his libraries and want to start capemgr and manually export > and use BBB I/O and robotics cape I/O, how to do that? > I tried using systemctl to start capemgr.service but don't see any results > but don't know where its gripes would get posted. It's not a service file, it's the device tree binary: https://github.com/RobertCNelson/dtb-rebuilder/blob/4.4-ti/src/arm/am335x-boneblack-roboticscape.dts#L19 Change: #include "am335x-bone-common-no-capemgr.dtsi" to: #include "am335x-bone-common.dtsi" 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 beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYiqjiKbzv%2BAXCADFanFu74dd1a9A50G%2BmqncC3ZJ5WHxA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] where is capemgr?
On Tue, Jul 11, 2017 at 2:28 PM,wrote: > After watching the great progress, I started in. I have the 3/19/2017 latest > image with apt-get upgrades running on a Rev C BBB with a Rev C Robotics > Cape. All in all, the process worked well. But I can't find capemgr. I went > looking for it because I want to access analog I/O and other stuff. Recent > emails from here-ish say capemgr is supposed to be in /sys/devices/platform > but not. To get analog I/O, I put > "cape_enable=bone_capemgr.enable_partno=BB-ADC" in uEnv.txt, but no > /sys/bus/iio. > some info > debian@sim15:~$ uname -a > Linux sim15 4.4.54-ti-r93 #1 SMP Fri Mar 17 13:08:22 UTC 2017 armv7l > GNU/Linux > debian@sim15:~$ cat /etc/dogtag > BeagleBoard.org Debian Image 2017-03-19 > debian@sim15:~$ systemctl status capemgr.service > ● capemgr.service - Cape Manager Service >Loaded: loaded (/lib/systemd/system/capemgr.service; enabled; vendor > preset: enabled) >Active: inactive (dead) since Tue 2017-07-11 18:46:54 UTC; 32min ago > Process: 4598 ExecStart=/bin/sh /opt/scripts/boot/capemgr.sh (code=exited, > status=0/SUCCESS) > Main PID: 4598 (code=exited, status=0/SUCCESS) > Jul 11 18:46:53 sim15 systemd[1]: Starting Cape Manager Service... > Jul 11 18:46:54 sim15 systemd[1]: Started Cape Manager Service. The BB + Robotic Cape boots a special device tree binary, thus capemgr is disabled. the librobotic library expects this combination to have things setup a certain way, as it utilzes /dev/mem to access the gpio/adc/etc. As I don't have that cape, and it's still not listed for sale, this isn't going to change anytime soon. 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 beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYiZBCje6EnxtZQYxjDeZP1QXCRhpzfno%3DvWrNv%2BcQ8sLw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.