Re: Pinebook Pro battery fuel-gauge driver..
Emmanuel Vadot <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.arm |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 15 Aug 2020 13:32:39 +0200 Bernd Walter <[email protected]> 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 <[email protected]> http://www.bwct.de > Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. > _______________________________________________ > [email protected] mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "[email protected]" -- Emmanuel Vadot <[email protected]> _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-arm To unsubscribe, send any mail to "[email protected]"