cvs commit: src/sys/conf files src/sys/modules/acpi/acpi Makefile src/sys/dev/acpica acpi_battery.c acpi_smbat.c acpi_smbus.h acpiio.h

Mike Silbersack silby at silby.com
Sat Nov 5 17:20:37 PST 2005


Hm, since I cvsup'd from last week's releng_6 to today's, I noticed two 
acpi-related things.

1.  The smart battery support seems to work properly for me.  However, the 
sysctls hw.acpi.battery.life, hw.acpi.battery.time, and 
hw.acpi.battery.state take forever to read, so a sysctl -a | grep acpi (or 
any other use of sysctl -a) takes far longer than it used to.

2.  Now, powerd seems to be causing ~30% system cpu load - top shows it 
switching between the "nanslp" and "ecpoll" wait states.  This may be due 
to some other recent change to acpi, I'm not sure how to best test.

Knowing how much battery life I have left sure is nice, though. :)

Mike "Silby" Silbersack

On Sat, 5 Nov 2005, Nate Lawson wrote:

> njl         2005-11-05 23:55:56 UTC
>
>  FreeBSD src repository
>
>  Modified files:        (Branch: RELENG_6)
>    sys/conf             files
>    sys/modules/acpi/acpi Makefile
>    sys/dev/acpica       acpi_battery.c acpiio.h
>  Added files:           (Branch: RELENG_6)
>    sys/dev/acpica       acpi_smbat.c acpi_smbus.h
>  Log:
>  MFC: smart battery support
>
>  Revision    Changes    Path
>  1.1031.2.9  +1 -0      src/sys/conf/files
>  1.12.2.3    +122 -30   src/sys/dev/acpica/acpi_battery.c
>  1.1.2.1     +402 -0    src/sys/dev/acpica/acpi_smbat.c (new)
>  1.1.2.1     +285 -0    src/sys/dev/acpica/acpi_smbus.h (new)
>  1.14.2.2    +4 -1      src/sys/dev/acpica/acpiio.h
>  1.11.2.1    +1 -1      src/sys/modules/acpi/acpi/Makefile
>


More information about the cvs-src mailing list