Configuring shunt_resistor in hwmon

James Feist james.feist at linux.intel.com
Tue Jan 7 08:21:25 AEDT 2020


On 1/6/20 1:16 PM, Alex Qiu wrote:
> Hi OpenBMC folks,
> 
> Is there a way to configure the shunt_resistor value for a hwmon with 
> entity-manager or other modules?

Have you seen this? 
https://github.com/openbmc/entity-manager/blob/0cbe6bf34101bab7544b40011868efc5145c0804/configurations/WFT%20Baseboard.json#L7

For Entity-Manager + dbus-sensors.

> 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


More information about the openbmc mailing list