fa.netbsd.tech.kern
[Top] [All Lists]

Proposed changes to acpi_tz sensor behavior

Subject: Proposed changes to acpi_tz sensor behavior
From: Paul Goyette
Date: Mon, 15 Jun 2009 21:42:55 UTC
Newsgroups: fa.netbsd.tech.kern


Currently, the acpi_tz sensor reports an ENVSYS_CRITOVER event when the temperature value exceeds a _CRT threshold, and reports ENVSYS_WARNOVER when the value exceeds a _HOT limit. No event is currently reported when any of the lower "Active Level n" limits are encountered.

I would propose changing this behavior as follows:

1. ENVSYS_WARNOVER event is generated whenever any active cooling level
   is exceeded.

2. ENVSYS_CRITOVER event is generated whenever _HOT limit is exceeded;
   if the _HOT limit is not defined, then ENVSYS_CRITOVER will be
   generated when the _CRT limit is exceeded.

3. For Passive Cooling Only mode, there will be no change in behavior.


Additionally, since there are specific actions taken at each of the Active Cooling Levels (powering parts of a zone on or off), and the limits are not user-programmable,

4. The {warn,crit}{min,max} threshold levels will be specified only
   by the device itself;  event reporting thresholds may not be set
   from userland.


Comments?



-------------------------------------------------------------------------
|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:      |
| Customer Service | FA29 0E3B 35AF E8AE 6651 |  paul at whooppee.com   |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------

<Prev in Thread] Current Thread [Next in Thread>
  • Proposed changes to acpi_tz sensor behavior, Paul Goyette <=