Can you provide info about the kernel your using? On 18 July 2016 at 13:02, <[email protected]> wrote:
> Hello all, I am new to BBB and using it to flash the ROM on my Lenovo > Thinkpad T400 with Libreboot, using these > <http://elinux.org/BeagleBone_Black_Enable_SPIDEV#SPI0> instructions on > eLinux. > > I disabled HDMI on the Beaglebone by opening vi and removing the comment > from the line that says it disables HDMI. > > I couldn't locate the uEnv.txt file at first, because there isn't a /lib/ > directory. It was found in /boot/ > > But when I did this, ie reboot and look, it seems that the HDMI is still > there: > > root@beaglebone:/var/lib/cloud9# cat /sys/devices/bone_capemgr.*/slots > 0: 54:PF--- > 1: 55:PF--- > 2: 56:PF--- > 3: 57:PF--- > 4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G > 5: ff:P-O-- Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI > 6: ff:P-O-- Bone-Black-HDMIN,00A0,Texas Instrument,BB-BONELT-HDMIN > root@beaglebone:/var/lib/cloud9# > > ==== > > I have now tried the advice of Vinay: > > > Another solution is also simple, just include the line "CAPE=ADAFRUIT-SP0" > in /etc/default/capemgr file. Then reboot and all should work fine. > > ======== > > > This did not work. I still get the same slots listing. > > I then followed this advice also from vinay: > ============ > > Re: [beagleboard] Re: Issues with Enabling SPIDev on Beaglebone Black > Other recipients: [email protected], [email protected] > Step 1 : Go to root@beaglebone: /boot# > Step 2 : Open uEnv.txt file > Step 3 : Inside the file > > You will find these lines, so do the following: In case If you dont find > these lines for your kernel, then just append the line > "cape_enable=bone_capemgr.enable_partno=BB-SPIDEV0" to the end of the file. > > ##Example v4.1.x > #cape_disable=bone_capemgr.disable_partno= > cape_enable=bone_capemgr.enable_partno=BB-SPIDEV0 > > Step 4 : Reboot your BBB > Step 5 : Go to /sys/devices/platform/bone_capemgr# cat slots or dmesg to > check. > > Then check if your SPI device has been loaded. > > This works with Linux beaglebone kernel 4.1.18-ti-r53 > > =============== > > This didn't work. there is no /sys/devices/platform/bone_capemgr. > > > I would be very grateful for any help with this. With thanks, Will > > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAL4GkmMFUH2%3DLTTbzmMexzCwkf9wdsJsjhwWf37_k5gqXxs8uw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
