Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Aug 2020 13:32:39 +0200
From:      Bernd Walter <ticso@cicely7.cicely.de>
To:        =?iso-8859-1?Q?S=F8ren?= Schmidt <soren.schmidt@gmail.com>
Cc:        "freebsd-arm@freebsd.org" <arm@freebsd.org>
Subject:   Re: Pinebook Pro battery fuel-gauge driver..
Message-ID:  <20200815113239.GC14057@cicely7.cicely.de>
In-Reply-To: <CA6993CD-66BA-49A3-9BCA-15A713637A4F@gmail.com>
References:  <CA6993CD-66BA-49A3-9BCA-15A713637A4F@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.



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