acpi patch for dell laptop?
Stijn Hoop
stijn at win.tue.nl
Mon Jun 23 10:07:28 PDT 2003
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
> > >
> > > It seems to work for me. The ACPI warnings about zero length buffers go
> > > away at least.
> >
> > Great. Do you also have working battery status now?
>
> 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 Inspiron.
> When I unplug the power:
>
> - 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
--
My server has more fans than Britney.
-- Steve Warwick, from a posting at questions at freebsd.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20030623/3c7d7566/attachment.bin
More information about the freebsd-current
mailing list