<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
hello everyone,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
     I looked at the phosphor-host-ipmid code and combined it with ipmi-inventory-sensors.yaml for debugging. I found that in the ipmi-inventory-sensors.yaml file, one inventory can only correspond to one offset of one sensor. </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
     If mine An inventory has multiple sensors, and each sensor has multiple offsets to be processed. How to deal with it?</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
ipmi-inventory-sensors.yaml as follow:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
/xyz/openbmc_project/inventory/system:
<div>    eventReadingType: 111</div>
<div>    offset: 2</div>
<div>    sensorID: 144</div>
<div>    sensorType: 18</div>
<div>/xyz/openbmc_project/inventory/system/chassis/motherboard:</div>
<div>    eventReadingType: 3</div>
<div>    offset: 0</div>
<div>    sensorID: 140</div>
<div>    sensorType: 199</div>
<div>/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0:</div>
<div>    eventReadingType: 111</div>
<div>    offset: 8</div>
<div>    sensorID: 8</div>
<div>    sensorType: 7</div>
<div>/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core0:</div>
<div>    eventReadingType: 111</div>
<div>    offset: 8</div>
<div>    sensorID: 43</div>
<div>    sensorType: 7</div>
<div>/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core1:</div>
<div>    eventReadingType: 111</div>
<div>    offset: 8</div>
<div>    sensorID: 44</div>
<div>    sensorType: 7</div>
<div>/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core10:</div>
<div>    eventReadingType: 111</div>
<div>    offset: 8</div>
<div>    sensorID: 53</div>
<div>    sensorType: 7</div>
<div>/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core11:</div>
<div>    eventReadingType: 111</div>
<div>    offset: 8</div>
<div>    sensorID: 54</div>
    sensorType: 7<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Harleyzhou</div>
</body>
</html>