Date: Tue, 7 Sep 2004 16:58:12 +0000 (UTC) From: Nate Lawson <njl@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/acpica acpi_powerres.c Message-ID: <200409071658.i87GwCgY035314@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
njl 2004-09-07 16:58:12 UTC
FreeBSD src repository
Modified files:
sys/dev/acpica acpi_powerres.c
Log:
Instead of trusting _STA from power resources, cache the first value
returned and then infer the state from calls to _ON/_OFF. This works
around a problem in systems that don't correctly report the state (i.e.
the HP Omnibook 500 reports "on" for its fan always after it has been
turned on once).
Revision Changes Path
1.27 +11 -5 src/sys/dev/acpica/acpi_powerres.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409071658.i87GwCgY035314>
