Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Aug 2020 15:02:17 +0200
From:      Emmanuel Vadot <manu@bidouilliste.com>
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:  <20200816150217.b976cb1f516f7f09b7f35c10@bidouilliste.com>
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, 14 Aug 2020 18:23:33 +0200
S=F8ren Schmidt <soren.schmidt@gmail.com> wrote:

> Hi
>=20
> Now that we have display and all working=20

 I wouldn't say that, what you have is an hack that will probably cause
other problem.

> I hacked up a driver for the cw2015 chip that can tell how much battery i=
s left so I know when to seek an outlet :)
>=20
> It consists of a patch to the dts (from linux) where all I need is the ch=
iplocation but for compats sake, and the driver.

 Cool, got any link for your code ? Mind to open a review ?

> Access is via sysctl, as we have no real way of handling this info on ARM=
 (no acpi, apm etc) AFAIK.

 thj@ started to split battery subsystem from ACPI a while ago iirc.

> Enjoy!
>=20
>=20
>=20
> --
> S=F8ren Schmidt
> sos@deepcore.dk / sos@freebsd.org
> "So much code to hack, so little time"
>=20
>=20
>=20
> _______________________________________________
> 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?20200816150217.b976cb1f516f7f09b7f35c10>