From 9536ef2dfef8efed408f9bb3ad49bee9a9e7389a Mon Sep 17 00:00:00 2001 From: Anna Komarova Date: Thu, 20 Aug 2026 09:20:51 -0700 Subject: [PATCH] [Nexthop][m4062nhp] Use stable paths for DIMM temp sensors The DDR5 SPD hubs are auto-instantiated by the kernel and the i2c paths may change depending on the module load order. Resolve the DIMM temp sensor to a stable path provided by the BSP. Signed-off-by: Anna Komarova --- fboss/platform/configs/m4062nhp/platform_manager.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fboss/platform/configs/m4062nhp/platform_manager.json b/fboss/platform/configs/m4062nhp/platform_manager.json index b906bddf67f4d..873627c86efe9 100644 --- a/fboss/platform/configs/m4062nhp/platform_manager.json +++ b/fboss/platform/configs/m4062nhp/platform_manager.json @@ -69,11 +69,11 @@ "embeddedSensorConfigs": [ { "pmUnitScopedName": "DIMM1_TEMP", - "sysfsPath": "/sys/bus/i2c/devices/1-0050" + "sysfsPath": "/run/nexthop_bsp/sensors/DIMM1_TEMP" }, { "pmUnitScopedName": "DIMM2_TEMP", - "sysfsPath": "/sys/bus/i2c/devices/1-0051" + "sysfsPath": "/run/nexthop_bsp/sensors/DIMM2_TEMP" } ], "outgoingSlotConfigs": {