NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

"normal" temperature for envsys? why two config formats?



1) My log has:

Jan  8 11:30:34 hrr root: /etc/powerd/scripts/sensor_temperature: 
(acpitz0) normal state entered [temperature]

And the script does have a "normal" level.

My kernel at boot said:

  acpitz0 at acpi0 (THRM): critical 105.0C passive 66.0C, passive cooling

I manually defined critical-max, warning-max, and warning-min:

  $ envstat -d acpitz0 -W                     
                  Current  WarnMax  WarnMin  WarnCap     Unit
  temperature:     73.000   76.667   70.556              degC
  $ envstat -d acpitz0    
                  Current  CritMax  CritMin  CritCap     Unit
  temperature:     73.000   81.667                       degC

But my powerd is also seeing "normal".

Where is that defined?

I don't see in envstat output (including -x details) nor in the envsys 
related manual pages.

2) Why does envstat -x output using proplist style XML
but the -c configuration uses different format ({} blocks as documented 
in envsys.conf)?

Why not just choose one format instead of having two?

It would be useful to export (-x) and edit that and reload it.


Home | Main Index | Thread Index | Old Index