From:  Colin Bester <bester.co...@gmail.com>
Reply-To:  "beagleboard@googlegroups.com" <beagleboard@googlegroups.com>
Date:  Monday, June 23, 2014 at 2:51 PM
To:  "beagleboard@googlegroups.com" <beagleboard@googlegroups.com>
Subject:  Re: [beagleboard] Power down a battery backed up BeagleBone Black

> I haven't tried halt command but have tried shutdown -h -P now, I assume these
> are the same.
> 
> I am able to shut the board down but the LCD4 Cape that I am using (from
> CircuitCo) stills lit which is besides the power drain is not desired as a
> device that is shutdown should be shut down as far the as end user is
> concerned - now it just looks broken.
> 
> I suspect that shutdown is not 'OFF' and am hoping that using settings
> described will work - I was actually hoping for a quick proof of concept to
> check as I am not sure that this will work - I suspect it will as this is what
> I understand pushing the power down button essentially does - sadly in my
> case, the power button is not exposed to end user.
Power Button is also on P9 Pin 9. BTW, sudo halt powers off all power rails
and is functionally equivalent to holding the power button for 10 seconds.
If your LCD backlight is still on, then it is powered from the 5V rail
because all other power rails are off.

Regards,
John
> 
> 
> 
> On Monday, June 23, 2014 4:30:16 PM UTC-5, RobertCNelson wrote:
>> On Mon, Jun 23, 2014 at 4:24 PM, Colin Bester <bester...@gmail.com
>> <javascript:> > wrote:
>>> > I am looking to fully power down a battery backed beaglebone black running
>>> > debian distro.
>>> > 
>>> > Looking through the TRM and TPS65217 document it appears that I can power
>>> > device OFF (as opposed to SLEEP) by setting bit 7 in TPS65217 Status
>>> > register and then causing PWE_EN pin to go low.
>>> > 
>>> > Only way (under software control) that I can see to do this is via setting
>>> > ALARM2 in RTC registers and setting POWER_ENABLE_EN bit (also referred to
>>> in 
>>> > thread 
>>> > 
>>> https://groups.google.com/forum/#!searchin/beagleboard/PMIC_POWER_EN/beagleb
>>> oard/K7DuusrJ6G4/ln4so6f0Vj4J)
>>> > 
>>> > Makes sense, i2c control of TPS65217 is easy but I don't see how to write
>>> to 
>>> > RTC registers from user space.
>>> > 
>>> > I'd appreciate any pointers - is it possible using device tree overlay, as
>>> I 
>>> > see promising looking end points in /sys/devices/ocp.3/44e3e000.rtc/power
>> 
>> Any reason you just can't call "sudo halt"?  As that will shutdown the
>> board completely including having the pmic shut things down.
>> 
>> 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 beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.


-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to