diff options
author | njl <njl@FreeBSD.org> | 2004-09-07 17:02:08 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2004-09-07 17:02:08 +0000 |
commit | bee951507dbf890b0b3d7bf896e611a06ff3e583 (patch) | |
tree | 343618e3705b20ac120cda4f23a2d132a34e22e8 /tools | |
parent | acf1aa5821afe297535449a0ea8674cbd4dfe70d (diff) | |
download | FreeBSD-src-bee951507dbf890b0b3d7bf896e611a06ff3e583.zip FreeBSD-src-bee951507dbf890b0b3d7bf896e611a06ff3e583.tar.gz |
Don't change the state of the system in acpi_tz_establish(). Before, we
would turn off all fans when initializing a zone. However, the HP Omnibook
500 generates a notify saying the zone needs to be re-evaluated whenever
its fan is switched on or off. This produced an infinite loop. Also, note
that running _SCP can generate the same notify.
Since we need to make sure old fan references are turned off when getting
new ones, run acpi_tz_monitor() first. This will turn off any unneeded
fans. Then, check for new settings. After that, run acpi_tz_monitor()
again to turn on/off any fans referenced by the new settings.
Tested by: brooks
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions