diff --git a/fboss/platform/configs/darwin/led_manager.json b/fboss/platform/configs/darwin/led_manager.json index e7090b64eefd9..050efafb3e707 100644 --- a/fboss/platform/configs/darwin/led_manager.json +++ b/fboss/platform/configs/darwin/led_manager.json @@ -1,22 +1,22 @@ { "systemLedConfig": { "presentLedColor": 1, - "presentLedSysfsPath": "/run/devmap/fpgas/SCD_FPGA/scd-leds.0/leds/system:green:status/brightness", + "presentLedSysfsPath": "/sys/class/leds/sys_led:green:status/brightness", "absentLedColor": 2, - "absentLedSysfsPath": "/run/devmap/fpgas/SCD_FPGA/scd-leds.0/leds/system:red:status/brightness" + "absentLedSysfsPath": "/sys/class/leds/sys_led:red:status/brightness" }, "fruTypeLedConfigs": { "FAN": { "presentLedColor": 1, - "presentLedSysfsPath": "/run/devmap/fpgas/SCD_FPGA/scd-leds.0/leds/fan:green:status/brightness", + "presentLedSysfsPath": "/sys/class/leds/fan_led:green:status/brightness", "absentLedColor": 2, - "absentLedSysfsPath": "/run/devmap/fpgas/SCD_FPGA/scd-leds.0/leds/fan:red:status/brightness" + "absentLedSysfsPath": "/sys/class/leds/fan_led:red:status/brightness" }, "PEM": { "presentLedColor": 1, - "presentLedSysfsPath": "/run/devmap/fpgas/SCD_FPGA/scd-leds.0/leds/pem:green:status/brightness", + "presentLedSysfsPath": "/sys/class/leds/psu_led:green:status/brightness", "absentLedColor": 2, - "absentLedSysfsPath": "/run/devmap/fpgas/SCD_FPGA/scd-leds.0/leds/pem:red:status/brightness" + "absentLedSysfsPath": "/sys/class/leds/psu_led:red:status/brightness" } }, "fruConfigs": [ @@ -70,6 +70,16 @@ } } }, + { + "fruName": "FAN6", + "fruType": "FAN", + "presenceDetection": { + "sysfsFileHandle": { + "presenceFilePath": "/run/devmap/fpgas/SCD_FPGA/rackmon_present", + "desiredValue": 1 + } + } + }, { "fruName": "PEM1", "fruType": "PEM",