On the console image if you want the power button to function you install acpid It will shutdown the bbb on power button press AND if a battery is connected will shutdown the bbb as well
As far as spi goes have you tried BB-SPIDEV1-00A0.dtbo or BB-SPIDEV0-00A0.dtbo? On 4/29/2016 9:08 AM, Grzesiek Stawik wrote: > So i had this other issue where the power button would not trigger > poweroff, and from time to time i try new kernel versions to see if it > works, and i have recently switched to 4.1.22 because it does work there. > > But. > > Strange things happen with SPI in 4.1.22, spidev is now created as > /dev/spidev2.X instead /dev/spidev1.X, or, when using "cape-universal" > overlay, i get both /dev/spidev1.X and /dev/spidev2.X but none of them > are working. > > What i mean by " SPI not working". > > I can get the kernel to create /dev/spidevX.X, i can open it, write to > it, read from it etc, however, it does not trigger ANY electrical > change on physical SPI bus pins, none. I have been fiddling with > device tree overlay sources, without success. > > I have my oscilloscope connected and MISO/MOSI lines are not even > hoing high during transmision ( they are suppose to go high as soon as > /dev/spidevX.X is created ). > > So i am swapping uname_r value in uEnv.txt to switch between kernels > and compare the results, and so far in 4.1.1 spi is working fine, and > in 4.1.22 spi is a black hole, pretending to work, and has absolutely > no effect on physical spi pins on the cpu. > > I HAVE TRIED 4.1.22 kernel from diffrent pre-builds and from sources. > > TL;DR > On kernel 4.1.22, spi bus pins are always low. > -- > 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] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beagleboard/cd4384e6-16eb-496e-a71c-cdaac43795da%40googlegroups.com > <https://groups.google.com/d/msgid/beagleboard/cd4384e6-16eb-496e-a71c-cdaac43795da%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout. --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus -- 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/357f2925-6a46-b24b-d525-3dfed5730e82%40gmail.com. For more options, visit https://groups.google.com/d/optout.
