| commit | ab565bf3dca5397ff4d3ab7110e78907e7702596 | [log] [tgz] |
|---|---|---|
| author | Alex Wang <alex.ts.wang@fii-foxconn.com> | Mon Oct 13 11:42:26 2025 +0800 |
| committer | Patrick Williams <patrick@stwcx.xyz> | Mon Oct 27 17:09:06 2025 +0000 |
| tree | 3aad7f30ea65ea3587af73ad5e737111b5fa74ee | |
| parent | 695ef4e2b86f503beec14f3aa9de2e22a2581f90 [diff] |
Fix deviceTypeModifier in FRU locator record not set issue phosphor-host-ipmid[1] assigns `resp.body.deviceTypeModifier = 0x00` (IPMI FRU Inventory type), but the fb-ipmi-oem code omitted that assignment and left `resp.body.deviceTypeModifier` in an indeterminate state. As a result, `ipmitool fru` cannot determine the device type and reports "Unsupported device"[2]. Fix: explicitly set `resp.body.deviceTypeModifier = 0x00` when creating/filling the FRU Device Locator Record so the FRU is recognized correctly by `ipmitool fru`. Ref: [1] https://github.com/openbmc/phosphor-host-ipmid/blob/master/dbus-sdr/storagecommands.cpp#L722 [2] https://github.com/openbmc/ipmitool/blob/master/lib/ipmi_fru.c#L3041 Change-Id: Id1e26f36a7249807258f2c10eaa01139ed571fab Signed-off-by: Alex Wang <alex.ts.wang@fii-foxconn.com>