Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Nov 2005 19:20:28 -0600 (CST)
From:      Mike Silbersack <silby@silby.com>
To:        Nate Lawson <njl@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: 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
Message-ID:  <20051105191616.M870@odysseus.silby.com>
In-Reply-To: <200511052355.jA5NtuPg026403@repoman.freebsd.org>
References:  <200511052355.jA5NtuPg026403@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051105191616.M870>