Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Sep 2004 17:02:08 +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_thermal.c
Message-ID:  <200409071702.i87H28Ie035476@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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