Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Feb 2019 14:10:43 +0100
From:      Emmanuel Vadot <manu@bidouilliste.com>
To:        ticso@cicely.de
Cc:        Bernd Walter <ticso@cicely7.cicely.de>, freebsd-arm@freebsd.org
Subject:   Re: Battery support on Pine64-LTS and power button
Message-ID:  <20190210141043.039850d3d27528c87eae9f3c@bidouilliste.com>
In-Reply-To: <20190210120633.GE54799@cicely7.cicely.de>
References:  <20190210120633.GE54799@cicely7.cicely.de>

next in thread | previous in thread | raw e-mail | index | archive | help

 Hi,

On Sun, 10 Feb 2019 13:06:34 +0100
Bernd Walter <ticso@cicely7.cicely.de> wrote:

> The Pine64-LTS runs perfectly with the battery pack in addition to mains
> supply.
> But I don't see any way to see the remaining charge left, e.g. for
> a clean shuttdown.

 It's not available right now. thj@ added some non-acpi battery support
and ganbold@ said he will add support for battery status for the
pinebook. Both pinebook and pine64-lts uses the same PMIC
(AXP803/AXP813) so it will work on both.

> Also how is the power button integrated in the OS that is triggers a clean
> shutdown?

 It's done at the PMIC level, see
https://svnweb.freebsd.org/base/head/sys/arm/allwinner/axp81x.c?revision=343952&view=markup#l834

> I'm asking if we have ready available support to trigger a shuttdown
> via GPIO on other boards, or if such a support has to be done individually?
> It wouldn't be a big deal to poll a GPIO though.
> 
> -- 
> B.Walter <bernd@bwct.de> http://www.bwct.de
> Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.
> _______________________________________________
> freebsd-arm@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"


-- 
Emmanuel Vadot <manu@bidouilliste.com> <manu@freebsd.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190210141043.039850d3d27528c87eae9f3c>