From owner-freebsd-current@FreeBSD.ORG Mon Jun 23 10:07:27 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CCC3337B401 for ; Mon, 23 Jun 2003 10:07:27 -0700 (PDT) Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id C050843FE9 for ; Mon, 23 Jun 2003 10:07:26 -0700 (PDT) (envelope-from stijn@pcwin002.win.tue.nl) Received: from pcwin002.win.tue.nl (localhost [127.0.0.1]) by pcwin002.win.tue.nl (8.12.9/8.12.9) with ESMTP id h5NH7sKX044689; Mon, 23 Jun 2003 19:07:54 +0200 (CEST) (envelope-from stijn@pcwin002.win.tue.nl) Received: (from stijn@localhost) by pcwin002.win.tue.nl (8.12.9/8.12.9/Submit) id h5NH7s6H044688; Mon, 23 Jun 2003 19:07:54 +0200 (CEST) Date: Mon, 23 Jun 2003 19:07:54 +0200 From: Stijn Hoop To: "Kenneth D. Merry" Message-ID: <20030623170754.GJ40398@pcwin002.win.tue.nl> References: <20030620221309.GA31020@pcwin002.win.tue.nl> <20030622213532.A50385@panzer.kdm.org> <20030623065220.GE31020@pcwin002.win.tue.nl> <20030623110333.A53486@panzer.kdm.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Y974o0GblB/Ae/yP" Content-Disposition: inline In-Reply-To: <20030623110333.A53486@panzer.kdm.org> User-Agent: Mutt/1.4.1i X-Bright-Idea: Let's abolish HTML mail! cc: Mike Sturdee cc: freebsd-current@freebsd.org Subject: Re: acpi patch for dell laptop? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jun 2003 17:07:28 -0000 --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--