cvs commit: src/sys/dev/acpica acpi_smbat.c acpi_smbus.h

Mike Silbersack silby at silby.com
Tue Oct 25 01:11:52 PDT 2005


On Sun, 23 Oct 2005, Nate Lawson wrote:

> njl         2005-10-23 00:20:13 UTC
>
>  FreeBSD src repository
>
>  Added files:
>    sys/dev/acpica       acpi_smbat.c acpi_smbus.h
>  Log:
>  Import ACPI smart battery support.  Newer systems (Acer, mostly) do not
>  support the CM-battery interface.  Smart batteries can eventually be
>  supported without ACPI via a separate SMBus interface.  The ACPI interface
>  uses the embedded controller for reading/writing to the SMBus, and normal
>  ASL definitions for locating the battery controller (since SMBus can't be
>  enumerated.)  Also import definitions for the smart battery interface.
>
>  This was written by Hans Petter Selasky with minor cleanups from myself.

Nice, I've been waiting for this for a while.  Well, sorta waiting.  It 
turns out that the battery life on my Acer Pentium M laptop is so good 
that I can estimate when it'll run out mentally.  "Has it been more than 2 
hours since I wandered away from an outlet?  Hm, maybe I should return."

Now I just have to wait for this to be MFC'd to RELENG_6. :)

Mike "Silby" Silbersack


More information about the cvs-src mailing list