bone_capemgr.9 disappeared

Hi, I've updated my Debian Wheezy BBB kernel to Robert Nelson
3.13.10-bone9 kernel .

Previously I had in my /etc/rc.local file this line:
echo BB-SPI0-01 > /sys/devices/bone_capemgr.9/slots

to enable SPI0. Now the line is failing because
/sys/devices/bone_capemgr.* doesn't exist.

I wouldn't care because /dev/spidev1.0 is appearing automagically, but
when I try to use Adafruit BBB Python library, it's failing with:
IOError: [Errno 2] No such file or directory: '/slots'

So, is there any way to make this directory appear?, I've read in this
group somebody was working in a new cape manager, but I haven't found
how to use or get it.

Before updating, with my 3.8 kernel it worked perfectly. But I'd like
to keep 3.13 because wifi is working much better now.

Thanks.
José L.

So with v3.13/v3.14 we don't have capemgr. No one has successfully
reported that from 3.8. We are hopeing when overlay's finally get
mainlined, we may have a future capemgr.

For right now, if you want spi, you need to edit the dtb file. For
those that don't want to udpate, here is the default "pinmux" which
includes SPI0 enabled.

http://elinux.org/CircuitCo:Basic_Proto_Cape

Regards,

Thanks for the information Robert, the funny thing is that SPI is
enabled and working, I've tested it. There is an available
/dev/spidev1.0, even if bone_capemgr.9 does not exist. I've switched
from Adafruit library (which needs the 'slots' directory) to another
python spi library ( https://github.com/doceme/py-spidev) and it works
perfectly.

Regards
José L.

Thanks for the information Robert, the funny thing is that SPI is
enabled and working, I've tested it. There is an available
/dev/spidev1.0, even if bone_capemgr.9 does not exist. I've switched
from Adafruit library (which needs the 'slots' directory) to another
python spi library ( https://github.com/doceme/py-spidev) and it works
perfectly.

Correct, by default I've setup the pinmux to match..

http://elinux.org/CircuitCo:Basic_Proto_Cape

That's why /dev/spidev1.0 works. :wink:

Regards,

Great, please keep it in future releases, you've saved me a lot of work :smiley:

That's my plan! Might have to tweak the pwm pinmux settings, as i'm
not sure the pwm actually works in v3.13/v3.14

Regards,