cvs commit: src/sys/dev/acpica acpi_thermal.c

Nate Lawson njl at FreeBSD.org
Tue Sep 7 10:02:09 PDT 2004


njl         2004-09-07 17:02:08 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/acpica       acpi_thermal.c 
  Log:
  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
  
  Revision  Changes    Path
  1.50      +22 -16    src/sys/dev/acpica/acpi_thermal.c


More information about the cvs-src mailing list