Configuring shunt_resistor in hwmon

Vijay Khemka vijaykhemka at
Tue Jan 7 10:37:37 AEDT 2020

You should be able to define this value in device tree. Or you can calculate scale factor and use it in entity manager.

From: openbmc < at> on behalf of Alex Qiu <xqiu at>
Date: Monday, January 6, 2020 at 1:18 PM
To: "openbmc at" <openbmc at>
Cc: Josh Lehan <krellan at>, Kais Belgaied <belgaied at>, Devjit Gopalpur <devjitg at>, Peter Lundgren <peterlundgren at>
Subject: Configuring shunt_resistor in hwmon

Hi OpenBMC folks,

Is there a way to configure the shunt_resistor value for a hwmon with entity-manager or other modules? We need to configure this value to make the INA230 report correct voltage, but for now I don't find anything in the code for it. Shall this be a feature to implement? Thanks!

- Alex Qiu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the openbmc mailing list