tech-kern archive

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

Questions regarding acpi_tz(4)



Two questions regarding this sensor:

1. In addition to setting the sensor's state, the driver reports state
   changes via aprint_normal_dev().  There was some discussion a while
   ago about "chatty" (or "noisy") sensor reports, so I was wondering
   if we really should report the sensor state both via sysmon_envsys(9)
   _and_ aprint_normal_dev().  Shouldn't the aprint_normal_dev() calls
   be removed, or at the very least replaced with aprint_debug_dev() ??

2. When the sensor's warning threshold is reached, the drivers sets the
   state to ENVSYS_SWARNOVER.  But when it reachs the critical level,
   it sets the state to ENVSYS_SCRITICAL.  It seems to me that this
   should be ENVSYS_SCRITOVER rather than ENVSYS_SCRITICAL.

Both of these issues are easy change, assuming some sort of consensus can be reached.


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


Home | Main Index | Thread Index | Old Index