Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jun 2003 19:07:54 +0200
From:      Stijn Hoop <stijn@win.tue.nl>
To:        "Kenneth D. Merry" <ken@kdm.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: acpi patch for dell laptop?
Message-ID:  <20030623170754.GJ40398@pcwin002.win.tue.nl>
In-Reply-To: <20030623110333.A53486@panzer.kdm.org>
References:  <Pine.BSF.4.40L0.0306201726590.84004-100000@saturn.mikesweb.com> <20030620221309.GA31020@pcwin002.win.tue.nl> <20030622213532.A50385@panzer.kdm.org> <20030623065220.GE31020@pcwin002.win.tue.nl> <20030623110333.A53486@panzer.kdm.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--Y974o0GblB/Ae/yP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Jun 23, 2003 at 11:03:34AM -0600, Kenneth D. Merry wrote:
> On Mon, Jun 23, 2003 at 08:52:20 +0200, Stijn Hoop wrote:
> > On Sun, Jun 22, 2003 at 09:35:32PM -0600, Kenneth D. Merry wrote:
> > > On Sat, Jun 21, 2003 at 00:13:10 +0200, Stijn Hoop wrote:
> > > > http://sandcat.nl/~stijn/freebsd/dell.php
> > >=20
> > > It seems to work for me.  The ACPI warnings about zero length buffers=
 go
> > > away at least.
> >=20
> > Great. Do you also have working battery status now?
>=20
> How do I figure that out?  Via the ACPI sysctls, or some other method?

ACPI sysctls was the method that didn't work without the patch on my Inspir=
on.

> When I unplug the power:
>=20
>  - hw.acpi.battery.state goes from 0 -> 1
>  - hw.acpi.battery.time goes from 0 to 152
>  - hw.acpi.battery.life starts to go down

That looks like correct behaviour. The battery time can't be determined when
on AC power.

> Is there some tool that'll show battery info?

I don't know of one that uses the ACPI sysctls, maybe someone else?

> Also, what units are the temperature in?

1/10 Kelvin I've been led to believe.

HTH,

--Stijn

--=20
My server has more fans than Britney.
		-- Steve Warwick, from a posting at questions@freebsd.org

--Y974o0GblB/Ae/yP
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE+9zPqY3r/tLQmfWcRAkpfAJ9v7pxNccba38fWyq8R8Cm/NC5ZoACgnqe2
5Py4bNNgtQ0q5ie/ABnbgWs=
=Hh+Q
-----END PGP SIGNATURE-----

--Y974o0GblB/Ae/yP--



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