cvs commit: src/sys/dev/acpica acpi_powerres.c
Nate Lawson
njl at FreeBSD.org
Tue Sep 7 09:58:13 PDT 2004
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
More information about the cvs-src
mailing list