<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:PMingLiU;
panose-1:2 1 6 1 0 1 1 1 1 1;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@PMingLiU";
panose-1:2 1 6 1 0 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:12.0pt;
font-family:"PMingLiU",serif;}
span.EmailStyle19
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:black;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:952907307;
mso-list-template-ids:-1327336270;}
@list l0:level1
{mso-level-start-at:2;
mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l1
{mso-list-id:1765688733;
mso-list-template-ids:-873444200;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">Hi everyone,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">Actually, I have 2 questions as below:<o:p></o:p></span></p>
</div>
<div>
<ol start="1" type="1">
<li class="MsoNormal" style="color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level1 lfo1">
<span style="font-family:"Calibri",sans-serif">I got understood from others on the mailing list, that I don't have to declare EEPROM or temp sensors on the I2C bus node in my dts, and it should be fine even I did it at the beginning. So I tried to remove this
declaration in dts, then the sensor value I got is fixed, no update. Can someone help to take look at why it is?<o:p></o:p></span></li></ol>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"> Here are some logs that appeared automatically after the system booted up. <span style="background:white"> It looks like that entity-manager works fine. And the commands
I used to check value.</span><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"> =======================================<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"> [ 23.713596] lm75 6-0049: hwmon1: sensor 'tmp75'<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"> [ 23.718894] i2c i2c-6: new_device: Instantiated device tmp75 at 0x49<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"> [ 23.728520] lm75 6-004c: hwmon2: sensor 'tmp75'<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"> [ 23.733779] i2c i2c-6: new_device: Instantiated device tmp75 at 0x4c<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">
<span style="background:white"> </span>[ 23.743707] lm75 6-004d: hwmon3: sensor 'tmp75'<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">
<span style="background:white"> </span>[ 23.749042] i2c i2c-6: new_device: Instantiated device tmp75 at 0x4d<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"> # busctl introspect xyz.openbmc_project.HwmonTempSensor /xyz/openbmc_project/sensors/temperature/DIMM_P1_EFGH<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"> xyz.openbmc_project.Sensor.Value interface - - -
<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"> .MaxValue property d 127 emits-change<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"> .MinValue property d -128 emits-change<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"> .Unit property s "xyz.openbmc_project.Sensor.Value.Uni... emits-change<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"> .Value property d
</span><span style="font-family:"Calibri",sans-serif;color:#ED5C57">40.187 </span>
<span style="font-family:"Calibri",sans-serif;color:black"> emits-change writable<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"> # cat /sys/bus/i2c/devices/6-004d/hwmon/hwmon3/temp1_input<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">
</span><span style="font-family:"Calibri",sans-serif;color:#ED5C57">40187</span><span style="font-family:"Calibri",sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">
<span style="background:white">=======================================</span><o:p></o:p></span></p>
</div>
<ol start="2" type="1">
<li class="MsoNormal" style="color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo2">
<span style="font-family:"Calibri",sans-serif">From my understanding, there is "detection daemon" which scans I2C bus looking for EEPROMs with IPMI FRU data. However, I found all devices on the I2C buses would be listed, not only Fru devices, when I used the
command below. Is this correct?<o:p></o:p></span></li></ol>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">
</span><span style="font-family:"Calibri",sans-serif"># busctl tree xyz.openbmc_project.FruDevice
<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">
</span><span style="font-family:"Calibri",sans-serif">`-/xyz<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">
</span><span style="font-family:"Calibri",sans-serif"> `-/xyz/openbmc_project<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">
</span><span style="font-family:"Calibri",sans-serif"> `-/xyz/openbmc_project/FruDevice<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">
</span><span style="font-family:"Calibri",sans-serif"> |-/xyz/openbmc_project/FruDevice/0_80<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">
</span><span style="font-family:"Calibri",sans-serif"> |-/xyz/openbmc_project/FruDevice/0_88<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">
</span><span style="font-family:"Calibri",sans-serif"> |-/xyz/openbmc_project/FruDevice/2_108<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">
</span><span style="font-family:"Calibri",sans-serif"> |-/xyz/openbmc_project/FruDevice/2_112<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">
</span><span style="font-family:"Calibri",sans-serif"> |-/xyz/openbmc_project/FruDevice/2_68<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">
</span><span style="font-family:"Calibri",sans-serif"> |-/xyz/openbmc_project/FruDevice/2_72<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">
</span><span style="font-family:"Calibri",sans-serif"> |-/xyz/openbmc_project/FruDevice/3_22<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">
</span><span style="font-family:"Calibri",sans-serif"> |-/xyz/openbmc_project/FruDevice/3_50<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">
</span><span style="font-family:"Calibri",sans-serif"> |-/xyz/openbmc_project/FruDevice/4_56<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">
</span><span style="font-family:"Calibri",sans-serif"> |-/xyz/openbmc_project/FruDevice/5_48<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">
</span><span style="font-family:"Calibri",sans-serif"> |-/xyz/openbmc_project/FruDevice/5_81<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">
</span><span style="font-family:"Calibri",sans-serif"> |-/xyz/openbmc_project/FruDevice/6_73<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">
</span><span style="font-family:"Calibri",sans-serif"> |-/xyz/openbmc_project/FruDevice/6_76<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">
</span><span style="font-family:"Calibri",sans-serif"> |-/xyz/openbmc_project/FruDevice/6_77<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">
</span><span style="font-family:"Calibri",sans-serif"> |-/xyz/openbmc_project/FruDevice/7_80<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">
</span><span style="font-family:"Calibri",sans-serif"> |-/xyz/openbmc_project/FruDevice/7_88<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">
</span><span style="font-family:"Calibri",sans-serif"> |-/xyz/openbmc_project/FruDevice/8_101<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"> `-/xyz/openbmc_project/FruDevice/hudsonbay
</span><span style="font-family:Wingdings;color:black">ß</span><span style="font-family:"Calibri",sans-serif;color:black"> this is the probe name we define in JSON configuration<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">Thanks.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">Chris Chen<o:p></o:p></span></p>
</div>
</div>
<DIV>
Legal Disclaimer :<BR>
The information contained in this message may be privileged and confidential. <BR>
It is intended to be read only by the individual or entity to whom it is addressed <BR>
or by their designee. If the reader of this message is not the intended recipient, <BR>
you are on notice that any distribution of this message, in any form, <BR>
is strictly prohibited. If you have received this message in error, <BR>
please immediately notify the sender and delete or destroy any copy of this message!<BR>
</DIV></body>
</html>