Configuring shunt_resistor in hwmon
xqiu at google.com
Tue Jan 7 08:29:44 AEDT 2020
Thanks for your quick reply and reviewing my code in the morning!
That looks interesting, so this ScaleFactor will be used to multiply the
voltage value from hwmon without setting the shunt_resistor explicitly? I
do have a little concern on the resolution, because it's only reporting
0.165V with default shunt_resistor setting, but we'll try and see if this
will work for our case. In the meantime, do you know any other method that
- Alex Qiu
On Mon, Jan 6, 2020 at 1:21 PM James Feist <james.feist at linux.intel.com>
> 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?
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the openbmc