[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Freeipmi-devel] sensor output issue
From: |
Albert Chu |
Subject: |
[Freeipmi-devel] sensor output issue |
Date: |
Wed, 24 Mar 2004 14:42:52 -0800 |
Hey AB,
The following sensors are not output unless the -vv option is passed to
sensors.
HSC Drv X Status (Drive Slot)
HSC Drv X Pres (Drive Slot)
HSC Drv X Status has an event/read type code of 0x6F. Table 36-3 of the
IPMI Spec doesn't list any info about Drive Slots. So I believe that
one can be ignored. But, HSC Drv X Pres has an event code of 0x08. So
this sensor should be output with either "Device Present" or "Device
Absent" (Table 36-2).
I think the bug lies in the function ipmi_is_sensor_reading_available().
Currently, the function only checks if the sensor type is
IPMI_SENSOR_TYPE_DRIVE_SLOT. Instead, the function should check if the
sensor type is IPMI_SENSOR_TYPE_DRIVE_SLOT and that the event/read type
is == 0x6Fh.
Do you agree on this??
Al
--
Albert Chu
address@hidden
Lawrence Livermore National Laboratory
- [Freeipmi-devel] sensor output issue,
Albert Chu <=