Pinebook Pro battery fuel-gauge driver..
Bernd Walter
ticso at cicely7.cicely.de
Sat Aug 15 11:32:57 UTC 2020
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.
> 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.
More information about the freebsd-arm
mailing list