summaryrefslogtreecommitdiff
path: root/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pythonping_1.1.4.bb
diff options
context:
space:
mode:
authorKyle Hsieh <Kyle.Hsieh@quantatw.com>2026-06-01 09:40:37 +0300
committerPatrick Williams <patrick@stwcx.xyz>2026-06-02 13:40:40 +0300
commit423fc30abacb2d93d95ba3ffb0ba0e25cdbc6c37 (patch)
tree4ba2af28ff0d42b0cddaa582a5c4c487d6c00639 /upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pythonping_1.1.4.bb
parent50cd3359ba67e6f20ca5e6813540a1268a7941b9 (diff)
downloadopenbmc-423fc30abacb2d93d95ba3ffb0ba0e25cdbc6c37.tar.xz
meta-facebook: ventura2: add udev rule to fix INA230 shunt value
Since the INA230 device was removed from the device tree (DTS) for second-source support, it is now dynamically instantiated by the Entity Manager (EM). However, when the driver is bound dynamically, it falls back to a default shunt resistor value of 10000. This incorrect default value causes inaccurate current calculations, resulting in the inability to detect low currents properly. To resolve this issue, add a new `ina230-shunt-fix` recipe containing a udev rule. This rule will be triggered automatically right after the INA230 device is registered by EM, writing the correct shunt resistor value into the sysfs to ensure accurate current readings. Tested: ``` root@bmc-9082C307CDB7:~# cat /sys/bus/i2c/devices/10-0040/hwmon/hwmon18/shunt_resistor 1000 root@bmc-9082C307CDB7:~# cat /sys/bus/i2c/devices/10-0045/hwmon/hwmon19/shunt_resistor 1000 ``` Change-Id: I7da619c20b7eecff1633a12fb5e083ea7681fabd Signed-off-by: Kyle Hsieh <Kyle.Hsieh@quantatw.com>
Diffstat (limited to 'upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pythonping_1.1.4.bb')
0 files changed, 0 insertions, 0 deletions