Date: Sun, 16 Aug 2020 14:58:45 +0200 From: Emmanuel Vadot <manu@bidouilliste.com> To: ticso@cicely.de Cc: Bernd Walter <ticso@cicely7.cicely.de>, =?ISO-8859-1?Q?S=F8ren?= Schmidt <soren.schmidt@gmail.com>, "freebsd-arm@freebsd.org" <arm@freebsd.org> Subject: Re: Pinebook Pro battery fuel-gauge driver.. Message-ID: <20200816145845.4586b7003e4ad1e885c0199d@bidouilliste.com> In-Reply-To: <20200815113239.GC14057@cicely7.cicely.de> References: <CA6993CD-66BA-49A3-9BCA-15A713637A4F@gmail.com> <20200815113239.GC14057@cicely7.cicely.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 15 Aug 2020 13:32:39 +0200 Bernd Walter <ticso@cicely7.cicely.de> wrote: > On Fri, Aug 14, 2020 at 06:23:33PM +0200, S=F8ren Schmidt wrote: > > Hi > >=20 > > Now that we have display and all working I hacked up a driver for the c= w2015 chip that can tell how much battery is left so I know when to seek an= outlet :) >=20 > 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. > >=20 > > Access is via sysctl, as we have no real way of handling this info on A= RM (no acpi, apm etc) AFAIK. > >=20 > > Enjoy! >=20 > --=20 > 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" --=20 Emmanuel Vadot <manu@bidouilliste.com>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200816145845.4586b7003e4ad1e885c0199d>