<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">My RaspPi work has progressed but I don’t know how to get sensors in the ObjectMapper, which I hope will mean sensors end up in webui.<div class=""><br class=""></div><div class="">BASIC INFORMATION</div><div class="">------------------------------<br class=""><div class=""><br class=""></div><div class="">At this point, I have my PMbus devices in the device tree like this path:</div><div class=""><br class=""></div><div class="">/sys/firmware/devicetree/base/soc/i2c@7e804000/ltc2974@32/regulators/vout0 to vout3</div><div class=""><br class=""></div><div class="">And the config files like this path:</div><div class=""><br class=""></div><div class="">/etc/default/obmc/hwmon/soc/i2c#7e804000/ltc2974@<a href="mailto:32/reg1@32.conf" class="">32/reg1@32.conf</a></div><div class=""><br class=""></div><div class="">The sensors show up here:</div><div class=""><br class=""></div><div class="">/sys/bus/i2c/devices/1-0032/hwmon/hwmon2</div><div class=""><br class=""></div><div class="">Indicating that the device tree is causing hwmon to offer its telemetry nodes.</div><div class=""><br class=""></div><div class="">From my reading of the docs, it seems like the ObjectMapper keeps an inventory of sensors.</div><div class=""><br class=""></div><div class="">So to search, I did something like:</div><div class=""><br class=""></div><div class="">dbus-send —system -print-reply \</div><div class="">—dest=xyz.openbmc_project.ObjectMapper \</div><div class="">/xyz/openbmc_project/object_mapper \</div><div class="">xyz.openbmc_project.ObjectMapper.GetAncestors \</div><div class="">string:”/xyz/openbmc_project/inventory.system” array:string: | grep ltc2974</div><div class=""><br class=""></div><div class="">But none of my devices are there.</div><div class=""><br class=""></div><div class="">I looked at meta-ibm and meta-hxt and could not see how to get the devices into the ObjectMapper.</div><div class=""><br class=""></div><div class="">ACTUAL QUESTIONS</div><div class="">------------------------------</div><div class=""><br class=""></div><div class="">So I have these questions:</div><div class=""><br class=""></div><div class="">- What it the mechanism for getting these into the ObjectMapper?</div><div class="">- Once there, will they show up in webui without any other files and recipes?</div><div class="">- What docs might describe what I need to know to connect the hwmon devices to the ObjectMapper?</div><div class="">- Is there something I have to do to start the ObjectMapper service? I don’t see it with a grep through systemctl.</div><div class="">- Is there an existing meta layer that would be a good example and a pointer to the proper bb files to look at?</div><div class=""><br class=""></div><div class="">THE CODE/LAYERS</div><div class="">----------------------------</div><div class=""><br class=""></div><div class="">My work so far is here:</div><div class=""><br class=""></div><div class=""><a href="https://github.com/Proclivis/meta-pmbus" class="">https://github.com/Proclivis/meta-pmbus</a></div><div class=""><br class=""></div><div class="">Configured by:</div><div class=""><br class=""></div><div class=""><a href="https://github.com/Proclivis/conf-meta-rasberrypi-evb" class="">https://github.com/Proclivis/conf-meta-rasberrypi-evb</a></div></div><div class=""><br class=""></div><div class="">Thanks, and sorry I am a newbie without tribal knowledge. I am trying to find solutions on my own and only ask for help when stuck. Unfortunately, I’m stuck.</div><div class=""><br class=""></div><div class="">Mike</div></body></html>