Pinebook Pro battery fuel-gauge driver..

Emmanuel Vadot manu at bidouilliste.com
Sun Aug 16 12:59:04 UTC 2020


On Sat, 15 Aug 2020 13:32:39 +0200
Bernd Walter <ticso at cicely7.cicely.de> wrote:

> On Fri, Aug 14, 2020 at 06:23:33PM +0200, Søren Schmidt wrote:
> > Hi
> > 
> > Now that we have display and all working I hacked up a driver for the cw2015 chip that can tell how much battery is left so I know when to seek an outlet :)
> 
> Cool - too bad this is different hardware to my older Allwinner based
> Pinebook.

axp81x driver supports battery status.

> > It consists of a patch to the dts (from linux) where all I need is the chiplocation but for compats sake, and the driver.
> > 
> > Access is via sysctl, as we have no real way of handling this info on ARM (no acpi, apm etc) AFAIK.
> > 
> > Enjoy!
> 
> -- 
> B.Walter <bernd at bwct.de> http://www.bwct.de
> Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.
> _______________________________________________
> freebsd-arm at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"


-- 
Emmanuel Vadot <manu at bidouilliste.com>


More information about the freebsd-arm mailing list