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

Nate Lawson nate at root.org
Tue Oct 25 10:43:38 PDT 2005


Mike Silbersack wrote:
> 
> 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. :)

I'd appreciate testing feedback before MFC.  And the MFC will be after 6.0.

-- 
Nate


More information about the cvs-src mailing list