dbus-sensors
Deng Tyler
tyler.sabdon at gmail.com
Mon Jul 27 22:06:22 AEST 2020
Hi Jame:
I am investigating and porting psusensor to my platform. I have a
question item 5.
>> 5. We have a case where a driver isn't loaded with power off, so somehow
>> we still need the sensors to stay on D-Bus when off (and show them
>> as not available).
>
> All sensors are on d-bus all the time, its based on the EM config.
I create 2 psu config, psu1 and psu2, in entityManager and booting my
system with 1 psu. There is only psu1 sensor object created in psusensor
service.
After inserting psu2 and the driver binding hwmon for psu2, psusensor
service don't create psu2 sensor object.
Does it work as design? or I need update dbus-sensor?
My dbus-sensor revision is "c140e2008b038b5fbf07aca0795b8030224eddd4".
Tyler
James Feist <james.feist at linux.intel.com> 於 2020年4月23日 週四 上午1:27寫道:
> On 4/22/2020 9:19 AM, Matt Spinler wrote:
> >>>
> >>> 4. If not already supported (was unsure), be able to find an
> >>> _input file based on a value it has in the corresponding _label
> file.
> >>
> >> PSU sensor does this, hwmontemp does it by index.
> >
> > Would you be OK with us also adding this to PSUSensor?
>
> PSUSensor already does this? Do you mean hwmontemp sensor? I'd be fine
> with converting the index scheme to a label scheme.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20200727/bd222abf/attachment.htm>
More information about the openbmc
mailing list