Have you tried a dbus introspect to see if the sensor is coming across dbus correctly? There is a sample introspect command on the sensor howto, check out the busctl usage. <a href="https://github.com/openbmc/docs/blob/master/sensor-architecture.md">https://github.com/openbmc/docs/blob/master/sensor-architecture.md</a><br><br><div class="gmail_quote"><div dir="ltr">On Fri, Nov 2, 2018, 3:21 AM AKASH G J <<a href="mailto:akashgj91@gmail.com">akashgj91@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>I added the sensor configuration to phosphor-host-ipmid's sensor configuration like.</div><div><br></div><div><i>0x12: &temperature<br>  sensorType: 0x01<br>  path: /xyz/openbmc_project/sensors/temperature/ambient<br>  sensorReadingType: 0x01<br>  multiplierM: 235<br>  offsetB: 0<br>  bExp: 0<br>  unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC<br>  scale: -3<br>  rExp: -3<br>  serviceInterface: org.freedesktop.DBus.Properties<br>  readingType: readingData<br>  interfaces:<br>    xyz.openbmc_project.Sensor.Value:<br>      Value:<br>        Offsets:<br>          0xFF:<br>            type: int64_t</i></div><div><i><br></i></div><div><i><br></i></div><div>When I run the command <i>ipmitool -I dbus sdr elist full</i>, it gives the following.</div><div><i><br></i></div><div><i>ambient          | 12h | ns  |  0.0 | Disabled</i></div><div><i><br></i></div><div>It is not giving the sensor reading and it is showing the sensor device is disabled.<br></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Nov 1, 2018 at 11:28 PM Patrick Venture <<a href="mailto:venture@google.com" target="_blank">venture@google.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, Oct 30, 2018 at 10:13 PM AKASH G J <<a href="mailto:akashgj91@gmail.com" target="_blank">akashgj91@gmail.com</a>> wrote:<br>
><br>
> Hi All,<br>
><br>
> I built OpenBMC Linux using Zaius configuration and booted on BMC Aspeed AST-2500. The board we are using have one temperature sensor (Texas Instruments TMP75) on I2C-12 interface.<br>
><br>
> I added the file meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e6e2000/i2c-bus@90/tmp75@48.conf in machine configuration directory with the following contents.<br>
><br>
> LABEL_temp1 = ambient<br>
> WARNLO_temp1=-40<br>
> WARNHI_temp1=125<br>
><br>
> I added the following patch to the kernel file linux/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts.<br>
><br>
>  &i2c12 {<br>
> -    status = "disabled";<br>
> +    status = "okay";<br>
> +<br>
> +    tmp75@48 {<br>
> +        compatible = "ti,tmp75";<br>
> +        reg = <0x48>;<br>
> +    };<br>
> +<br>
>  };<br>
><br>
> After booting Linux, the changes are reflected in /sys/firmware/devicetree/base/ahb/apb/i2c@1e78a000/i2c-bus@440/tmp75@48. Also,<br>
> tmp78.conf is showing in /etc/default/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@90.<br>
><br>
> when I am running the ipmitool command: ipmitool -I dbus sdr elist full it is not showing the temperature sensor and its reading.<br>
><br>
> Please someone help to resolve the problem.<br>
<br>
You'll need to add the sensor configuration to the<br>
phosphor-host-ipmid's sensor configuration, see:<br>
<br>
<a href="https://github.com/openbmc/openbmc/blob/master/meta-ingrasys/meta-zaius/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%25/config.yaml" rel="noreferrer" target="_blank">https://github.com/openbmc/openbmc/blob/master/meta-ingrasys/meta-zaius/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%25/config.yaml</a><br>
<br>
><br>
><br>
> Thanks and Regards,<br>
><br>
> Akash<br>
><br>
</blockquote></div>
</blockquote></div>