On Sat, May 10, 2014 at 4:09 PM, cecco <[email protected]> wrote: > Hi Robert, > this is my file: > ubuntu@arm:~$ cat /etc/default/capemgr > # Default settings for capemgr. This file is sourced by /bin/sh from > # /etc/init.d/capemgr.sh > > # Options to pass to capemgr > CAPE=BB-BONE-BRT-Tdl2 > #CAPE=cape-universal > > this is my dmesg report (partial) > ubuntu@arm:~$ dmesg | grep cape > [ 1.535953] bone-capemgr bone_capemgr.8: Baseboard: > 'A335BONE,00A6,0613BB001068' > [ 1.543752] bone-capemgr bone_capemgr.8: > compatible-baseboard=ti,beaglebone > [ 1.582245] bone-capemgr bone_capemgr.8: slot #0: No cape found > [ 1.619351] bone-capemgr bone_capemgr.8: slot #1: No cape found > [ 1.656459] bone-capemgr bone_capemgr.8: slot #2: No cape found > [ 1.693569] bone-capemgr bone_capemgr.8: slot #3: No cape found > [ 1.699944] bone-capemgr bone_capemgr.8: initialized OK. > > after boot: > ubuntu@arm:~$ cat /sys/devices/bone_capemgr.8/slots > > 0: 54:PF--- > 1: 55:PF--- > 2: 56:PF--- > 3: 57:PF--- > > command line execution: > ubuntu@arm:~$ sudo sh -c "echo BB-BONE-BRT-Tdl2 > > /sys/devices/bone_capemgr.8/slots" > [sudo] password for ubuntu: > > then: > ubuntu@arm:~$ cat /sys/devices/bone_capemgr.8/slots > > 0: 54:PF--- > 1: 55:PF--- > 2: 56:PF--- > 3: 57:PF--- > 4: ff:P-O-L Override Board Name,00A0,Override Manuf,BB-BONE-BRT-Tdl2 > > and my capes work! > I seems not load /etc/default/capemgr ... > > Any suggestion is welcome! (remember that I'm VERY newbie!)
Okay, final option, I'd just put the CAPE variable in: /etc/init/capemgr.sh Looks like for some reason upstart doesn't want to source the file for a variable. Will debug later. Regards, -- Robert Nelson http://www.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 [email protected]. For more options, visit https://groups.google.com/d/optout.
