Initial commit
This commit is contained in:
@@ -0,0 +1,415 @@
|
||||
{
|
||||
"sensors" : [
|
||||
{
|
||||
"name": "Fan0_0_RPM",
|
||||
"type": "fan",
|
||||
"readPath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/**/fan1_input",
|
||||
"writePath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/**/pwm1",
|
||||
"min": 0,
|
||||
"max": 255
|
||||
},
|
||||
{
|
||||
"name": "Fan0_1_RPM",
|
||||
"type": "fan",
|
||||
"readPath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/**/fan2_input",
|
||||
"writePath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/**/pwm1",
|
||||
"min": 0,
|
||||
"max": 255
|
||||
},
|
||||
{
|
||||
"name": "Fan1_0_RPM",
|
||||
"type": "fan",
|
||||
"readPath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/**/fan3_input",
|
||||
"writePath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/**/pwm2",
|
||||
"min": 0,
|
||||
"max": 255
|
||||
},
|
||||
{
|
||||
"name": "Fan1_1_RPM",
|
||||
"type": "fan",
|
||||
"readPath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/**/fan4_input",
|
||||
"writePath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/**/pwm2",
|
||||
"min": 0,
|
||||
"max": 255
|
||||
},
|
||||
{
|
||||
"name": "Fan2_0_RPM",
|
||||
"type": "fan",
|
||||
"readPath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/**/fan5_input",
|
||||
"writePath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/**/pwm3",
|
||||
"min": 0,
|
||||
"max": 255
|
||||
},
|
||||
{
|
||||
"name": "Fan2_1_RPM",
|
||||
"type": "fan",
|
||||
"readPath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/**/fan6_input",
|
||||
"writePath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/**/pwm3",
|
||||
"min": 0,
|
||||
"max": 255
|
||||
},
|
||||
{
|
||||
"name": "KL0",
|
||||
"type": "temp",
|
||||
"readPath": "/xyz/openbmc_project/sensors/temperature/KL0",
|
||||
"writePath": "",
|
||||
"min": 0,
|
||||
"max": 0,
|
||||
"ignoreDbusMinMax": true,
|
||||
"timeout": 0
|
||||
},
|
||||
{
|
||||
"name": "nvme0",
|
||||
"type": "temp",
|
||||
"readPath": "/xyz/openbmc_project/sensors/temperature/nvme0",
|
||||
"writePath": "",
|
||||
"min": 0,
|
||||
"max": 0,
|
||||
"ignoreDbusMinMax": true,
|
||||
"timeout": 0
|
||||
},
|
||||
{
|
||||
"name": "nvme1",
|
||||
"type": "temp",
|
||||
"readPath": "/xyz/openbmc_project/sensors/temperature/nvme1",
|
||||
"writePath": "",
|
||||
"min": 0,
|
||||
"max": 0,
|
||||
"ignoreDbusMinMax": true,
|
||||
"timeout": 0
|
||||
}
|
||||
],
|
||||
"zones" : [
|
||||
{
|
||||
"id": 0,
|
||||
"minThermalOutput": 0.0,
|
||||
"failsafePercent": 100.0,
|
||||
"pids": [
|
||||
{
|
||||
"name": "Fan0_0_RPM",
|
||||
"type": "fan",
|
||||
"inputs": ["Fan0_0_RPM"],
|
||||
"setpoint": 65.0,
|
||||
"pid": {
|
||||
"samplePeriod": 1.0,
|
||||
"proportionalCoeff": 0.0,
|
||||
"integralCoeff": 0.0,
|
||||
"feedFwdOffsetCoeff": 0.0,
|
||||
"feedFwdGainCoeff": 1.0,
|
||||
"integralLimit_min": 0.0,
|
||||
"integralLimit_max": 0.0,
|
||||
"outLim_min": 3.0,
|
||||
"outLim_max": 100.0,
|
||||
"slewNeg": 0.0,
|
||||
"slewPos": 0.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Fan0_1_RPM",
|
||||
"type": "fan",
|
||||
"inputs": ["Fan0_1_RPM"],
|
||||
"setpoint": 65.0,
|
||||
"pid": {
|
||||
"samplePeriod": 1.0,
|
||||
"proportionalCoeff": 0.0,
|
||||
"integralCoeff": 0.0,
|
||||
"feedFwdOffsetCoeff": 0.0,
|
||||
"feedFwdGainCoeff": 1.0,
|
||||
"integralLimit_min": 0.0,
|
||||
"integralLimit_max": 0.0,
|
||||
"outLim_min": 3.0,
|
||||
"outLim_max": 100.0,
|
||||
"slewNeg": 0.0,
|
||||
"slewPos": 0.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Fan1_0_RPM",
|
||||
"type": "fan",
|
||||
"inputs": ["Fan1_0_RPM"],
|
||||
"setpoint": 65.0,
|
||||
"pid": {
|
||||
"samplePeriod": 1.0,
|
||||
"proportionalCoeff": 0.0,
|
||||
"integralCoeff": 0.0,
|
||||
"feedFwdOffsetCoeff": 0.0,
|
||||
"feedFwdGainCoeff": 1.0,
|
||||
"integralLimit_min": 0.0,
|
||||
"integralLimit_max": 0.0,
|
||||
"outLim_min": 3.0,
|
||||
"outLim_max": 100.0,
|
||||
"slewNeg": 0.0,
|
||||
"slewPos": 0.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Fan1_1_RPM",
|
||||
"type": "fan",
|
||||
"inputs": ["Fan1_1_RPM"],
|
||||
"setpoint": 65.0,
|
||||
"pid": {
|
||||
"samplePeriod": 1.0,
|
||||
"proportionalCoeff": 0.0,
|
||||
"integralCoeff": 0.0,
|
||||
"feedFwdOffsetCoeff": 0.0,
|
||||
"feedFwdGainCoeff": 1.0,
|
||||
"integralLimit_min": 0.0,
|
||||
"integralLimit_max": 0.0,
|
||||
"outLim_min": 3.0,
|
||||
"outLim_max": 100.0,
|
||||
"slewNeg": 0.0,
|
||||
"slewPos": 0.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Fan2_0_RPM",
|
||||
"type": "fan",
|
||||
"inputs": ["Fan2_0_RPM"],
|
||||
"setpoint": 65.0,
|
||||
"pid": {
|
||||
"samplePeriod": 1.0,
|
||||
"proportionalCoeff": 0.0,
|
||||
"integralCoeff": 0.0,
|
||||
"feedFwdOffsetCoeff": 0.0,
|
||||
"feedFwdGainCoeff": 1.0,
|
||||
"integralLimit_min": 0.0,
|
||||
"integralLimit_max": 0.0,
|
||||
"outLim_min": 3.0,
|
||||
"outLim_max": 100.0,
|
||||
"slewNeg": 0.0,
|
||||
"slewPos": 0.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Fan2_1_RPM",
|
||||
"type": "fan",
|
||||
"inputs": ["Fan2_1_RPM"],
|
||||
"setpoint": 65.0,
|
||||
"pid": {
|
||||
"samplePeriod": 1.0,
|
||||
"proportionalCoeff": 0.0,
|
||||
"integralCoeff": 0.0,
|
||||
"feedFwdOffsetCoeff": 0.0,
|
||||
"feedFwdGainCoeff": 1.0,
|
||||
"integralLimit_min": 0.0,
|
||||
"integralLimit_max": 0.0,
|
||||
"outLim_min": 3.0,
|
||||
"outLim_max": 100.0,
|
||||
"slewNeg": 0.0,
|
||||
"slewPos": 0.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "nvme0",
|
||||
"type": "temp",
|
||||
"inputs": ["nvme0"],
|
||||
"setpoint": 65.0,
|
||||
"pid": {
|
||||
"samplePeriod": 1.0,
|
||||
"proportionalCoeff": -20.0,
|
||||
"integralCoeff": -0.1,
|
||||
"feedFwdOffsetCoeff": 0.0,
|
||||
"feedFwdGainCoeff": 0.0,
|
||||
"integralLimit_min": 0.0,
|
||||
"integralLimit_max": 0.0,
|
||||
"outLim_min": 0.0,
|
||||
"outLim_max": 16000.0,
|
||||
"slewNeg": 0.0,
|
||||
"slewPos": 0.0,
|
||||
"positiveHysteresis": 1.0,
|
||||
"negativeHysteresis": 1.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "nvme1",
|
||||
"type": "temp",
|
||||
"inputs": ["nvme1"],
|
||||
"setpoint": 65.0,
|
||||
"pid": {
|
||||
"samplePeriod": 1.0,
|
||||
"proportionalCoeff": -20.0,
|
||||
"integralCoeff": -0.1,
|
||||
"feedFwdOffsetCoeff": 0.0,
|
||||
"feedFwdGainCoeff": 0.0,
|
||||
"integralLimit_min": 0.0,
|
||||
"integralLimit_max": 0.0,
|
||||
"outLim_min": 0.0,
|
||||
"outLim_max": 16000.0,
|
||||
"slewNeg": 0.0,
|
||||
"slewPos": 0.0,
|
||||
"positiveHysteresis": 1.0,
|
||||
"negativeHysteresis": 1.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "KL0",
|
||||
"type": "stepwise",
|
||||
"inputs": ["KL0"],
|
||||
"setpoint": 30.0,
|
||||
"pid": {
|
||||
"samplePeriod": 1.0,
|
||||
"positiveHysteresis": 0.0,
|
||||
"negativeHysteresis": 0.0,
|
||||
"isCeiling": false,
|
||||
"reading": {
|
||||
"0": 25,
|
||||
"1": 26,
|
||||
"2": 27,
|
||||
"3": 28,
|
||||
"4": 29,
|
||||
"5": 30,
|
||||
"6": 31,
|
||||
"7": 32,
|
||||
"8": 33,
|
||||
"9": 34,
|
||||
"10": 35,
|
||||
"11": 36,
|
||||
"12": 37,
|
||||
"13": 38,
|
||||
"14": 39,
|
||||
"15": 40,
|
||||
"16": 42,
|
||||
"17": 44,
|
||||
"18": 45,
|
||||
"19": 50
|
||||
},
|
||||
"output": {
|
||||
"0": 10,
|
||||
"1": 10,
|
||||
"2": 10,
|
||||
"3": 10,
|
||||
"4": 10,
|
||||
"5": 10,
|
||||
"6": 20,
|
||||
"7": 30,
|
||||
"8": 40,
|
||||
"9": 50,
|
||||
"10": 60,
|
||||
"11": 73,
|
||||
"12": 76,
|
||||
"13": 79,
|
||||
"14": 82,
|
||||
"15": 86,
|
||||
"16": 90,
|
||||
"17": 90,
|
||||
"18": 100,
|
||||
"19": 100
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "nvme00",
|
||||
"type": "stepwise",
|
||||
"inputs": ["nvme0"],
|
||||
"setpoint": 30.0,
|
||||
"pid": {
|
||||
"samplePeriod": 1.0,
|
||||
"positiveHysteresis": 1.0,
|
||||
"negativeHysteresis": 1.0,
|
||||
"isCeiling": false,
|
||||
"reading": {
|
||||
"0": 45,
|
||||
"1": 46,
|
||||
"2": 47,
|
||||
"3": 48,
|
||||
"4": 49,
|
||||
"5": 50,
|
||||
"6": 51,
|
||||
"7": 52,
|
||||
"8": 53,
|
||||
"9": 54,
|
||||
"10": 55,
|
||||
"11": 56,
|
||||
"12": 57,
|
||||
"13": 58,
|
||||
"14": 59,
|
||||
"15": 60,
|
||||
"16": 61,
|
||||
"17": 62,
|
||||
"18": 63,
|
||||
"19": 64
|
||||
},
|
||||
"output": {
|
||||
"0": 5,
|
||||
"1": 5,
|
||||
"2": 5,
|
||||
"3": 6,
|
||||
"4": 6,
|
||||
"5": 7,
|
||||
"6": 7,
|
||||
"7": 8,
|
||||
"8": 10,
|
||||
"9": 12,
|
||||
"10": 14,
|
||||
"11": 16,
|
||||
"12": 18,
|
||||
"13": 20,
|
||||
"14": 21,
|
||||
"15": 21,
|
||||
"16": 22,
|
||||
"17": 22,
|
||||
"18": 25,
|
||||
"19": 25
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "nvme10",
|
||||
"type": "stepwise",
|
||||
"inputs": ["nvme1"],
|
||||
"setpoint": 30.0,
|
||||
"pid": {
|
||||
"samplePeriod": 1.0,
|
||||
"positiveHysteresis": 1.0,
|
||||
"negativeHysteresis": 1.0,
|
||||
"isCeiling": false,
|
||||
"reading": {
|
||||
"0": 45,
|
||||
"1": 46,
|
||||
"2": 47,
|
||||
"3": 48,
|
||||
"4": 49,
|
||||
"5": 50,
|
||||
"6": 51,
|
||||
"7": 52,
|
||||
"8": 53,
|
||||
"9": 54,
|
||||
"10": 55,
|
||||
"11": 56,
|
||||
"12": 57,
|
||||
"13": 58,
|
||||
"14": 59,
|
||||
"15": 60,
|
||||
"16": 61,
|
||||
"17": 62,
|
||||
"18": 63,
|
||||
"19": 64
|
||||
},
|
||||
"output": {
|
||||
"0": 5,
|
||||
"1": 5,
|
||||
"2": 5,
|
||||
"3": 6,
|
||||
"4": 6,
|
||||
"5": 7,
|
||||
"6": 7,
|
||||
"7": 8,
|
||||
"8": 10,
|
||||
"9": 12,
|
||||
"10": 14,
|
||||
"11": 16,
|
||||
"12": 18,
|
||||
"13": 20,
|
||||
"14": 21,
|
||||
"15": 21,
|
||||
"16": 22,
|
||||
"17": 22,
|
||||
"18": 25,
|
||||
"19": 25
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,937 @@
|
||||
{
|
||||
"sensors" : [
|
||||
{
|
||||
"name": "Fan0_0_RPM",
|
||||
"type": "fan",
|
||||
"readPath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/**/fan1_input",
|
||||
"writePath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/**/pwm1",
|
||||
"min": 0,
|
||||
"max": 255
|
||||
},
|
||||
{
|
||||
"name": "Fan0_1_RPM",
|
||||
"type": "fan",
|
||||
"readPath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/**/fan2_input",
|
||||
"writePath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/**/pwm1",
|
||||
"min": 0,
|
||||
"max": 255
|
||||
},
|
||||
{
|
||||
"name": "Fan1_0_RPM",
|
||||
"type": "fan",
|
||||
"readPath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/**/fan3_input",
|
||||
"writePath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/**/pwm2",
|
||||
"min": 0,
|
||||
"max": 255
|
||||
},
|
||||
{
|
||||
"name": "Fan1_1_RPM",
|
||||
"type": "fan",
|
||||
"readPath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/**/fan4_input",
|
||||
"writePath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/**/pwm2",
|
||||
"min": 0,
|
||||
"max": 255
|
||||
},
|
||||
{
|
||||
"name": "Fan2_0_RPM",
|
||||
"type": "fan",
|
||||
"readPath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/**/fan5_input",
|
||||
"writePath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/**/pwm3",
|
||||
"min": 0,
|
||||
"max": 255
|
||||
},
|
||||
{
|
||||
"name": "Fan2_1_RPM",
|
||||
"type": "fan",
|
||||
"readPath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/**/fan6_input",
|
||||
"writePath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/**/pwm3",
|
||||
"min": 0,
|
||||
"max": 255
|
||||
},
|
||||
{
|
||||
"name": "KL0",
|
||||
"type": "temp",
|
||||
"readPath": "/xyz/openbmc_project/sensors/temperature/KL0",
|
||||
"writePath": "",
|
||||
"min": 0,
|
||||
"max": 0,
|
||||
"ignoreDbusMinMax": true,
|
||||
"timeout": 0
|
||||
},
|
||||
{
|
||||
"name": "nvme0",
|
||||
"type": "temp",
|
||||
"readPath": "/xyz/openbmc_project/sensors/temperature/nvme0",
|
||||
"writePath": "",
|
||||
"min": 0,
|
||||
"max": 0,
|
||||
"ignoreDbusMinMax": true,
|
||||
"timeout": 0
|
||||
},
|
||||
{
|
||||
"name": "nvme1",
|
||||
"type": "temp",
|
||||
"readPath": "/xyz/openbmc_project/sensors/temperature/nvme1",
|
||||
"writePath": "",
|
||||
"min": 0,
|
||||
"max": 0,
|
||||
"ignoreDbusMinMax": true,
|
||||
"timeout": 0
|
||||
},
|
||||
{
|
||||
"name": "nvme2",
|
||||
"type": "temp",
|
||||
"readPath": "/xyz/openbmc_project/sensors/temperature/nvme2",
|
||||
"writePath": "",
|
||||
"min": 0,
|
||||
"max": 0,
|
||||
"ignoreDbusMinMax": true,
|
||||
"timeout": 0
|
||||
},
|
||||
{
|
||||
"name": "nvme3",
|
||||
"type": "temp",
|
||||
"readPath": "/xyz/openbmc_project/sensors/temperature/nvme3",
|
||||
"writePath": "",
|
||||
"min": 0,
|
||||
"max": 0,
|
||||
"ignoreDbusMinMax": true,
|
||||
"timeout": 0
|
||||
},
|
||||
{
|
||||
"name": "nvme4",
|
||||
"type": "temp",
|
||||
"readPath": "/xyz/openbmc_project/sensors/temperature/nvme4",
|
||||
"writePath": "",
|
||||
"min": 0,
|
||||
"max": 0,
|
||||
"ignoreDbusMinMax": true,
|
||||
"timeout": 0
|
||||
},
|
||||
{
|
||||
"name": "nvme5",
|
||||
"type": "temp",
|
||||
"readPath": "/xyz/openbmc_project/sensors/temperature/nvme5",
|
||||
"writePath": "",
|
||||
"min": 0,
|
||||
"max": 0,
|
||||
"ignoreDbusMinMax": true,
|
||||
"timeout": 0
|
||||
},
|
||||
{
|
||||
"name": "nvme6",
|
||||
"type": "temp",
|
||||
"readPath": "/xyz/openbmc_project/sensors/temperature/nvme6",
|
||||
"writePath": "",
|
||||
"min": 0,
|
||||
"max": 0,
|
||||
"ignoreDbusMinMax": true,
|
||||
"timeout": 0
|
||||
},
|
||||
{
|
||||
"name": "nvme7",
|
||||
"type": "temp",
|
||||
"readPath": "/xyz/openbmc_project/sensors/temperature/nvme7",
|
||||
"writePath": "",
|
||||
"min": 0,
|
||||
"max": 0,
|
||||
"ignoreDbusMinMax": true,
|
||||
"timeout": 0
|
||||
}
|
||||
],
|
||||
"zones" : [
|
||||
{
|
||||
"id": 0,
|
||||
"minThermalOutput": 0.0,
|
||||
"failsafePercent": 100.0,
|
||||
"pids": [
|
||||
{
|
||||
"name": "Fan0_0_RPM",
|
||||
"type": "fan",
|
||||
"inputs": ["Fan0_0_RPM"],
|
||||
"setpoint": 65.0,
|
||||
"pid": {
|
||||
"samplePeriod": 1.0,
|
||||
"proportionalCoeff": 0.0,
|
||||
"integralCoeff": 0.0,
|
||||
"feedFwdOffsetCoeff": 0.0,
|
||||
"feedFwdGainCoeff": 1.0,
|
||||
"integralLimit_min": 0.0,
|
||||
"integralLimit_max": 0.0,
|
||||
"outLim_min": 3.0,
|
||||
"outLim_max": 100.0,
|
||||
"slewNeg": 0.0,
|
||||
"slewPos": 0.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Fan0_1_RPM",
|
||||
"type": "fan",
|
||||
"inputs": ["Fan0_1_RPM"],
|
||||
"setpoint": 65.0,
|
||||
"pid": {
|
||||
"samplePeriod": 1.0,
|
||||
"proportionalCoeff": 0.0,
|
||||
"integralCoeff": 0.0,
|
||||
"feedFwdOffsetCoeff": 0.0,
|
||||
"feedFwdGainCoeff": 1.0,
|
||||
"integralLimit_min": 0.0,
|
||||
"integralLimit_max": 0.0,
|
||||
"outLim_min": 3.0,
|
||||
"outLim_max": 100.0,
|
||||
"slewNeg": 0.0,
|
||||
"slewPos": 0.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Fan1_0_RPM",
|
||||
"type": "fan",
|
||||
"inputs": ["Fan1_0_RPM"],
|
||||
"setpoint": 65.0,
|
||||
"pid": {
|
||||
"samplePeriod": 1.0,
|
||||
"proportionalCoeff": 0.0,
|
||||
"integralCoeff": 0.0,
|
||||
"feedFwdOffsetCoeff": 0.0,
|
||||
"feedFwdGainCoeff": 1.0,
|
||||
"integralLimit_min": 0.0,
|
||||
"integralLimit_max": 0.0,
|
||||
"outLim_min": 3.0,
|
||||
"outLim_max": 100.0,
|
||||
"slewNeg": 0.0,
|
||||
"slewPos": 0.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Fan1_1_RPM",
|
||||
"type": "fan",
|
||||
"inputs": ["Fan1_1_RPM"],
|
||||
"setpoint": 65.0,
|
||||
"pid": {
|
||||
"samplePeriod": 1.0,
|
||||
"proportionalCoeff": 0.0,
|
||||
"integralCoeff": 0.0,
|
||||
"feedFwdOffsetCoeff": 0.0,
|
||||
"feedFwdGainCoeff": 1.0,
|
||||
"integralLimit_min": 0.0,
|
||||
"integralLimit_max": 0.0,
|
||||
"outLim_min": 3.0,
|
||||
"outLim_max": 100.0,
|
||||
"slewNeg": 0.0,
|
||||
"slewPos": 0.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Fan2_0_RPM",
|
||||
"type": "fan",
|
||||
"inputs": ["Fan2_0_RPM"],
|
||||
"setpoint": 65.0,
|
||||
"pid": {
|
||||
"samplePeriod": 1.0,
|
||||
"proportionalCoeff": 0.0,
|
||||
"integralCoeff": 0.0,
|
||||
"feedFwdOffsetCoeff": 0.0,
|
||||
"feedFwdGainCoeff": 1.0,
|
||||
"integralLimit_min": 0.0,
|
||||
"integralLimit_max": 0.0,
|
||||
"outLim_min": 3.0,
|
||||
"outLim_max": 100.0,
|
||||
"slewNeg": 0.0,
|
||||
"slewPos": 0.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Fan2_1_RPM",
|
||||
"type": "fan",
|
||||
"inputs": ["Fan2_1_RPM"],
|
||||
"setpoint": 65.0,
|
||||
"pid": {
|
||||
"samplePeriod": 1.0,
|
||||
"proportionalCoeff": 0.0,
|
||||
"integralCoeff": 0.0,
|
||||
"feedFwdOffsetCoeff": 0.0,
|
||||
"feedFwdGainCoeff": 1.0,
|
||||
"integralLimit_min": 0.0,
|
||||
"integralLimit_max": 0.0,
|
||||
"outLim_min": 3.0,
|
||||
"outLim_max": 100.0,
|
||||
"slewNeg": 0.0,
|
||||
"slewPos": 0.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "nvme0",
|
||||
"type": "temp",
|
||||
"inputs": ["nvme0"],
|
||||
"setpoint": 65.0,
|
||||
"pid": {
|
||||
"samplePeriod": 1.0,
|
||||
"proportionalCoeff": -20.0,
|
||||
"integralCoeff": -0.1,
|
||||
"feedFwdOffsetCoeff": 0.0,
|
||||
"feedFwdGainCoeff": 0.0,
|
||||
"integralLimit_min": 0.0,
|
||||
"integralLimit_max": 0.0,
|
||||
"outLim_min": 0.0,
|
||||
"outLim_max": 16000.0,
|
||||
"slewNeg": 0.0,
|
||||
"slewPos": 0.0,
|
||||
"positiveHysteresis": 1.0,
|
||||
"negativeHysteresis": 1.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "nvme1",
|
||||
"type": "temp",
|
||||
"inputs": ["nvme1"],
|
||||
"setpoint": 65.0,
|
||||
"pid": {
|
||||
"samplePeriod": 1.0,
|
||||
"proportionalCoeff": -20.0,
|
||||
"integralCoeff": -0.1,
|
||||
"feedFwdOffsetCoeff": 0.0,
|
||||
"feedFwdGainCoeff": 0.0,
|
||||
"integralLimit_min": 0.0,
|
||||
"integralLimit_max": 0.0,
|
||||
"outLim_min": 0.0,
|
||||
"outLim_max": 16000.0,
|
||||
"slewNeg": 0.0,
|
||||
"slewPos": 0.0,
|
||||
"positiveHysteresis": 1.0,
|
||||
"negativeHysteresis": 1.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "nvme2",
|
||||
"type": "temp",
|
||||
"inputs": ["nvme2"],
|
||||
"setpoint": 65.0,
|
||||
"pid": {
|
||||
"samplePeriod": 1.0,
|
||||
"proportionalCoeff": -20.0,
|
||||
"integralCoeff": -0.1,
|
||||
"feedFwdOffsetCoeff": 0.0,
|
||||
"feedFwdGainCoeff": 0.0,
|
||||
"integralLimit_min": 0.0,
|
||||
"integralLimit_max": 0.0,
|
||||
"outLim_min": 0.0,
|
||||
"outLim_max": 16000.0,
|
||||
"slewNeg": 0.0,
|
||||
"slewPos": 0.0,
|
||||
"positiveHysteresis": 1.0,
|
||||
"negativeHysteresis": 1.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "nvme3",
|
||||
"type": "temp",
|
||||
"inputs": ["nvme3"],
|
||||
"setpoint": 65.0,
|
||||
"pid": {
|
||||
"samplePeriod": 1.0,
|
||||
"proportionalCoeff": -20.0,
|
||||
"integralCoeff": -0.1,
|
||||
"feedFwdOffsetCoeff": 0.0,
|
||||
"feedFwdGainCoeff": 0.0,
|
||||
"integralLimit_min": 0.0,
|
||||
"integralLimit_max": 0.0,
|
||||
"outLim_min": 0.0,
|
||||
"outLim_max": 16000.0,
|
||||
"slewNeg": 0.0,
|
||||
"slewPos": 0.0,
|
||||
"positiveHysteresis": 1.0,
|
||||
"negativeHysteresis": 1.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "nvme4",
|
||||
"type": "temp",
|
||||
"inputs": ["nvme4"],
|
||||
"setpoint": 65.0,
|
||||
"pid": {
|
||||
"samplePeriod": 1.0,
|
||||
"proportionalCoeff": -20.0,
|
||||
"integralCoeff": -0.1,
|
||||
"feedFwdOffsetCoeff": 0.0,
|
||||
"feedFwdGainCoeff": 0.0,
|
||||
"integralLimit_min": 0.0,
|
||||
"integralLimit_max": 0.0,
|
||||
"outLim_min": 0.0,
|
||||
"outLim_max": 16000.0,
|
||||
"slewNeg": 0.0,
|
||||
"slewPos": 0.0,
|
||||
"positiveHysteresis": 1.0,
|
||||
"negativeHysteresis": 1.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "nvme5",
|
||||
"type": "temp",
|
||||
"inputs": ["nvme5"],
|
||||
"setpoint": 65.0,
|
||||
"pid": {
|
||||
"samplePeriod": 1.0,
|
||||
"proportionalCoeff": -20.0,
|
||||
"integralCoeff": -0.1,
|
||||
"feedFwdOffsetCoeff": 0.0,
|
||||
"feedFwdGainCoeff": 0.0,
|
||||
"integralLimit_min": 0.0,
|
||||
"integralLimit_max": 0.0,
|
||||
"outLim_min": 0.0,
|
||||
"outLim_max": 16000.0,
|
||||
"slewNeg": 0.0,
|
||||
"slewPos": 0.0,
|
||||
"positiveHysteresis": 1.0,
|
||||
"negativeHysteresis": 1.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "nvme6",
|
||||
"type": "temp",
|
||||
"inputs": ["nvme6"],
|
||||
"setpoint": 65.0,
|
||||
"pid": {
|
||||
"samplePeriod": 1.0,
|
||||
"proportionalCoeff": -20.0,
|
||||
"integralCoeff": -0.1,
|
||||
"feedFwdOffsetCoeff": 0.0,
|
||||
"feedFwdGainCoeff": 0.0,
|
||||
"integralLimit_min": 0.0,
|
||||
"integralLimit_max": 0.0,
|
||||
"outLim_min": 0.0,
|
||||
"outLim_max": 16000.0,
|
||||
"slewNeg": 0.0,
|
||||
"slewPos": 0.0,
|
||||
"positiveHysteresis": 1.0,
|
||||
"negativeHysteresis": 1.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "nvme7",
|
||||
"type": "temp",
|
||||
"inputs": ["nvme7"],
|
||||
"setpoint": 65.0,
|
||||
"pid": {
|
||||
"samplePeriod": 1.0,
|
||||
"proportionalCoeff": -20.0,
|
||||
"integralCoeff": -0.1,
|
||||
"feedFwdOffsetCoeff": 0.0,
|
||||
"feedFwdGainCoeff": 0.0,
|
||||
"integralLimit_min": 0.0,
|
||||
"integralLimit_max": 0.0,
|
||||
"outLim_min": 0.0,
|
||||
"outLim_max": 16000.0,
|
||||
"slewNeg": 0.0,
|
||||
"slewPos": 0.0,
|
||||
"positiveHysteresis": 1.0,
|
||||
"negativeHysteresis": 1.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "KL0",
|
||||
"type": "stepwise",
|
||||
"inputs": ["KL0"],
|
||||
"setpoint": 30.0,
|
||||
"pid": {
|
||||
"samplePeriod": 1.0,
|
||||
"positiveHysteresis": 0.0,
|
||||
"negativeHysteresis": 0.0,
|
||||
"isCeiling": false,
|
||||
"reading": {
|
||||
"0": 25,
|
||||
"1": 26,
|
||||
"2": 27,
|
||||
"3": 28,
|
||||
"4": 29,
|
||||
"5": 30,
|
||||
"6": 31,
|
||||
"7": 32,
|
||||
"8": 33,
|
||||
"9": 34,
|
||||
"10": 35,
|
||||
"11": 36,
|
||||
"12": 37,
|
||||
"13": 38,
|
||||
"14": 39,
|
||||
"15": 40,
|
||||
"16": 42,
|
||||
"17": 44,
|
||||
"18": 45,
|
||||
"19": 50
|
||||
},
|
||||
"output": {
|
||||
"0": 10,
|
||||
"1": 10,
|
||||
"2": 10,
|
||||
"3": 10,
|
||||
"4": 10,
|
||||
"5": 10,
|
||||
"6": 20,
|
||||
"7": 30,
|
||||
"8": 40,
|
||||
"9": 50,
|
||||
"10": 60,
|
||||
"11": 73,
|
||||
"12": 76,
|
||||
"13": 79,
|
||||
"14": 82,
|
||||
"15": 86,
|
||||
"16": 90,
|
||||
"17": 90,
|
||||
"18": 100,
|
||||
"19": 100
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "nvme00",
|
||||
"type": "stepwise",
|
||||
"inputs": ["nvme0"],
|
||||
"setpoint": 30.0,
|
||||
"pid": {
|
||||
"samplePeriod": 1.0,
|
||||
"positiveHysteresis": 1.0,
|
||||
"negativeHysteresis": 1.0,
|
||||
"isCeiling": false,
|
||||
"reading": {
|
||||
"0": 45,
|
||||
"1": 46,
|
||||
"2": 47,
|
||||
"3": 48,
|
||||
"4": 49,
|
||||
"5": 50,
|
||||
"6": 51,
|
||||
"7": 52,
|
||||
"8": 53,
|
||||
"9": 54,
|
||||
"10": 55,
|
||||
"11": 56,
|
||||
"12": 57,
|
||||
"13": 58,
|
||||
"14": 59,
|
||||
"15": 60,
|
||||
"16": 61,
|
||||
"17": 62,
|
||||
"18": 63,
|
||||
"19": 64
|
||||
},
|
||||
"output": {
|
||||
"0": 10,
|
||||
"1": 10,
|
||||
"2": 13,
|
||||
"3": 15,
|
||||
"4": 18,
|
||||
"5": 21,
|
||||
"6": 24,
|
||||
"7": 26,
|
||||
"8": 28,
|
||||
"9": 30,
|
||||
"10": 32,
|
||||
"11": 34,
|
||||
"12": 36,
|
||||
"13": 38,
|
||||
"14": 40,
|
||||
"15": 41,
|
||||
"16": 42,
|
||||
"17": 43,
|
||||
"18": 44,
|
||||
"19": 45
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "nvme10",
|
||||
"type": "stepwise",
|
||||
"inputs": ["nvme1"],
|
||||
"setpoint": 30.0,
|
||||
"pid": {
|
||||
"samplePeriod": 1.0,
|
||||
"positiveHysteresis": 1.0,
|
||||
"negativeHysteresis": 1.0,
|
||||
"isCeiling": false,
|
||||
"reading": {
|
||||
"0": 45,
|
||||
"1": 46,
|
||||
"2": 47,
|
||||
"3": 48,
|
||||
"4": 49,
|
||||
"5": 50,
|
||||
"6": 51,
|
||||
"7": 52,
|
||||
"8": 53,
|
||||
"9": 54,
|
||||
"10": 55,
|
||||
"11": 56,
|
||||
"12": 57,
|
||||
"13": 58,
|
||||
"14": 59,
|
||||
"15": 60,
|
||||
"16": 61,
|
||||
"17": 62,
|
||||
"18": 63,
|
||||
"19": 64
|
||||
},
|
||||
"output": {
|
||||
"0": 10,
|
||||
"1": 10,
|
||||
"2": 13,
|
||||
"3": 15,
|
||||
"4": 18,
|
||||
"5": 21,
|
||||
"6": 24,
|
||||
"7": 26,
|
||||
"8": 28,
|
||||
"9": 30,
|
||||
"10": 32,
|
||||
"11": 34,
|
||||
"12": 36,
|
||||
"13": 38,
|
||||
"14": 40,
|
||||
"15": 41,
|
||||
"16": 42,
|
||||
"17": 43,
|
||||
"18": 44,
|
||||
"19": 45
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "nvme20",
|
||||
"type": "stepwise",
|
||||
"inputs": ["nvme2"],
|
||||
"setpoint": 30.0,
|
||||
"pid": {
|
||||
"samplePeriod": 1.0,
|
||||
"positiveHysteresis": 1.0,
|
||||
"negativeHysteresis": 1.0,
|
||||
"isCeiling": false,
|
||||
"reading": {
|
||||
"0": 45,
|
||||
"1": 46,
|
||||
"2": 47,
|
||||
"3": 48,
|
||||
"4": 49,
|
||||
"5": 50,
|
||||
"6": 51,
|
||||
"7": 52,
|
||||
"8": 53,
|
||||
"9": 54,
|
||||
"10": 55,
|
||||
"11": 56,
|
||||
"12": 57,
|
||||
"13": 58,
|
||||
"14": 59,
|
||||
"15": 60,
|
||||
"16": 61,
|
||||
"17": 62,
|
||||
"18": 63,
|
||||
"19": 64
|
||||
},
|
||||
"output": {
|
||||
"0": 10,
|
||||
"1": 10,
|
||||
"2": 13,
|
||||
"3": 15,
|
||||
"4": 18,
|
||||
"5": 21,
|
||||
"6": 24,
|
||||
"7": 26,
|
||||
"8": 28,
|
||||
"9": 30,
|
||||
"10": 32,
|
||||
"11": 34,
|
||||
"12": 36,
|
||||
"13": 38,
|
||||
"14": 40,
|
||||
"15": 41,
|
||||
"16": 42,
|
||||
"17": 43,
|
||||
"18": 44,
|
||||
"19": 45
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "nvme30",
|
||||
"type": "stepwise",
|
||||
"inputs": ["nvme3"],
|
||||
"setpoint": 30.0,
|
||||
"pid": {
|
||||
"samplePeriod": 1.0,
|
||||
"positiveHysteresis": 1.0,
|
||||
"negativeHysteresis": 1.0,
|
||||
"isCeiling": false,
|
||||
"reading": {
|
||||
"0": 45,
|
||||
"1": 46,
|
||||
"2": 47,
|
||||
"3": 48,
|
||||
"4": 49,
|
||||
"5": 50,
|
||||
"6": 51,
|
||||
"7": 52,
|
||||
"8": 53,
|
||||
"9": 54,
|
||||
"10": 55,
|
||||
"11": 56,
|
||||
"12": 57,
|
||||
"13": 58,
|
||||
"14": 59,
|
||||
"15": 60,
|
||||
"16": 61,
|
||||
"17": 62,
|
||||
"18": 63,
|
||||
"19": 64
|
||||
},
|
||||
"output": {
|
||||
"0": 10,
|
||||
"1": 10,
|
||||
"2": 13,
|
||||
"3": 15,
|
||||
"4": 18,
|
||||
"5": 21,
|
||||
"6": 24,
|
||||
"7": 26,
|
||||
"8": 28,
|
||||
"9": 30,
|
||||
"10": 32,
|
||||
"11": 34,
|
||||
"12": 36,
|
||||
"13": 38,
|
||||
"14": 40,
|
||||
"15": 41,
|
||||
"16": 42,
|
||||
"17": 43,
|
||||
"18": 44,
|
||||
"19": 45
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "nvme40",
|
||||
"type": "stepwise",
|
||||
"inputs": ["nvme4"],
|
||||
"setpoint": 30.0,
|
||||
"pid": {
|
||||
"samplePeriod": 1.0,
|
||||
"positiveHysteresis": 1.0,
|
||||
"negativeHysteresis": 1.0,
|
||||
"isCeiling": false,
|
||||
"reading": {
|
||||
"0": 45,
|
||||
"1": 46,
|
||||
"2": 47,
|
||||
"3": 48,
|
||||
"4": 49,
|
||||
"5": 50,
|
||||
"6": 51,
|
||||
"7": 52,
|
||||
"8": 53,
|
||||
"9": 54,
|
||||
"10": 55,
|
||||
"11": 56,
|
||||
"12": 57,
|
||||
"13": 58,
|
||||
"14": 59,
|
||||
"15": 60,
|
||||
"16": 61,
|
||||
"17": 62,
|
||||
"18": 63,
|
||||
"19": 64
|
||||
},
|
||||
"output": {
|
||||
"0": 10,
|
||||
"1": 10,
|
||||
"2": 13,
|
||||
"3": 15,
|
||||
"4": 18,
|
||||
"5": 21,
|
||||
"6": 24,
|
||||
"7": 26,
|
||||
"8": 28,
|
||||
"9": 30,
|
||||
"10": 32,
|
||||
"11": 34,
|
||||
"12": 36,
|
||||
"13": 38,
|
||||
"14": 40,
|
||||
"15": 41,
|
||||
"16": 42,
|
||||
"17": 43,
|
||||
"18": 44,
|
||||
"19": 45
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "nvme50",
|
||||
"type": "stepwise",
|
||||
"inputs": ["nvme5"],
|
||||
"setpoint": 30.0,
|
||||
"pid": {
|
||||
"samplePeriod": 1.0,
|
||||
"positiveHysteresis": 1.0,
|
||||
"negativeHysteresis": 1.0,
|
||||
"isCeiling": false,
|
||||
"reading": {
|
||||
"0": 45,
|
||||
"1": 46,
|
||||
"2": 47,
|
||||
"3": 48,
|
||||
"4": 49,
|
||||
"5": 50,
|
||||
"6": 51,
|
||||
"7": 52,
|
||||
"8": 53,
|
||||
"9": 54,
|
||||
"10": 55,
|
||||
"11": 56,
|
||||
"12": 57,
|
||||
"13": 58,
|
||||
"14": 59,
|
||||
"15": 60,
|
||||
"16": 61,
|
||||
"17": 62,
|
||||
"18": 63,
|
||||
"19": 64
|
||||
},
|
||||
"output": {
|
||||
"0": 10,
|
||||
"1": 10,
|
||||
"2": 13,
|
||||
"3": 15,
|
||||
"4": 18,
|
||||
"5": 21,
|
||||
"6": 24,
|
||||
"7": 26,
|
||||
"8": 28,
|
||||
"9": 30,
|
||||
"10": 32,
|
||||
"11": 34,
|
||||
"12": 36,
|
||||
"13": 38,
|
||||
"14": 40,
|
||||
"15": 41,
|
||||
"16": 42,
|
||||
"17": 43,
|
||||
"18": 44,
|
||||
"19": 45
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "nvme60",
|
||||
"type": "stepwise",
|
||||
"inputs": ["nvme6"],
|
||||
"setpoint": 30.0,
|
||||
"pid": {
|
||||
"samplePeriod": 1.0,
|
||||
"positiveHysteresis": 1.0,
|
||||
"negativeHysteresis": 1.0,
|
||||
"isCeiling": false,
|
||||
"reading": {
|
||||
"0": 45,
|
||||
"1": 46,
|
||||
"2": 47,
|
||||
"3": 48,
|
||||
"4": 49,
|
||||
"5": 50,
|
||||
"6": 51,
|
||||
"7": 52,
|
||||
"8": 53,
|
||||
"9": 54,
|
||||
"10": 55,
|
||||
"11": 56,
|
||||
"12": 57,
|
||||
"13": 58,
|
||||
"14": 59,
|
||||
"15": 60,
|
||||
"16": 61,
|
||||
"17": 62,
|
||||
"18": 63,
|
||||
"19": 64
|
||||
},
|
||||
"output": {
|
||||
"0": 10,
|
||||
"1": 10,
|
||||
"2": 13,
|
||||
"3": 15,
|
||||
"4": 18,
|
||||
"5": 21,
|
||||
"6": 24,
|
||||
"7": 26,
|
||||
"8": 28,
|
||||
"9": 30,
|
||||
"10": 32,
|
||||
"11": 34,
|
||||
"12": 36,
|
||||
"13": 38,
|
||||
"14": 40,
|
||||
"15": 41,
|
||||
"16": 42,
|
||||
"17": 43,
|
||||
"18": 44,
|
||||
"19": 45
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "nvme70",
|
||||
"type": "stepwise",
|
||||
"inputs": ["nvme7"],
|
||||
"setpoint": 30.0,
|
||||
"pid": {
|
||||
"samplePeriod": 1.0,
|
||||
"positiveHysteresis": 1.0,
|
||||
"negativeHysteresis": 1.0,
|
||||
"isCeiling": false,
|
||||
"reading": {
|
||||
"0": 45,
|
||||
"1": 46,
|
||||
"2": 47,
|
||||
"3": 48,
|
||||
"4": 49,
|
||||
"5": 50,
|
||||
"6": 51,
|
||||
"7": 52,
|
||||
"8": 53,
|
||||
"9": 54,
|
||||
"10": 55,
|
||||
"11": 56,
|
||||
"12": 57,
|
||||
"13": 58,
|
||||
"14": 59,
|
||||
"15": 60,
|
||||
"16": 61,
|
||||
"17": 62,
|
||||
"18": 63,
|
||||
"19": 64
|
||||
},
|
||||
"output": {
|
||||
"0": 10,
|
||||
"1": 10,
|
||||
"2": 13,
|
||||
"3": 15,
|
||||
"4": 18,
|
||||
"5": 21,
|
||||
"6": 24,
|
||||
"7": 26,
|
||||
"8": 28,
|
||||
"9": 30,
|
||||
"10": 32,
|
||||
"11": 34,
|
||||
"12": 36,
|
||||
"13": 38,
|
||||
"14": 40,
|
||||
"15": 41,
|
||||
"16": 42,
|
||||
"17": 43,
|
||||
"18": 44,
|
||||
"19": 45
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Set Fan to Default Duty as Booting Up
|
||||
DefaultDependencies=no
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/fan-default-speed.sh
|
||||
|
||||
[Install]
|
||||
WantedBy=sysinit.target
|
||||
@@ -0,0 +1,39 @@
|
||||
#!/bin/bash
|
||||
|
||||
NVME_GPIO_NUM=( 148 149 150 151 152 153 154 155 )
|
||||
NVME=( 1 1 1 1 1 1 1 1 )
|
||||
FAN_TABLE_PATH="/usr/share/swampd/config.json"
|
||||
FAN_TABLE=( "/usr/share/swampd/config-8ssd.json" "/usr/share/swampd/config-2ssd.json" )
|
||||
TYPE=-1
|
||||
|
||||
# get nvme presence
|
||||
for i in {0..7}
|
||||
do
|
||||
gpioNum=${NVME_GPIO_NUM[$i]}
|
||||
NVME[i]=$(cat "/sys/class/gpio/gpio$gpioNum/value")
|
||||
done
|
||||
|
||||
# distinguish between 8-ssd and 2-ssd sku
|
||||
for i in {2..7}
|
||||
do
|
||||
if [ "${NVME[$i]}" -eq 0 ]; then
|
||||
TYPE=0
|
||||
fi
|
||||
done
|
||||
if [ $TYPE -eq -1 ]; then
|
||||
for i in {0..1}
|
||||
do
|
||||
if [ "${NVME[$i]}" -eq 0 ]; then
|
||||
TYPE=1
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
if [ $TYPE -eq 1 ]; then
|
||||
cp "${FAN_TABLE[1]}" $FAN_TABLE_PATH
|
||||
else
|
||||
cp "${FAN_TABLE[0]}" $FAN_TABLE_PATH
|
||||
fi
|
||||
|
||||
# start pid control
|
||||
/usr/bin/swampd
|
||||
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo 230 > /sys/class/hwmon/*/pwm1
|
||||
echo 230 > /sys/class/hwmon/*/pwm2
|
||||
echo 230 > /sys/class/hwmon/*/pwm3
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Set Fan to Default Duty as Rebooting
|
||||
DefaultDependencies=no
|
||||
After=shutdown.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=true
|
||||
ExecStart=/usr/bin/fan-default-speed.sh
|
||||
|
||||
[Install]
|
||||
WantedBy=shutdown.target
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=OpenBMC Fan Control Daemon
|
||||
After=xyz.openbmc_project.nvme.manager.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/fan-control.sh
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
StartLimitInterval=0
|
||||
ExecStopPost=/usr/bin/fan-default-speed.sh
|
||||
|
||||
[Install]
|
||||
WantedBy=basic.target
|
||||
@@ -0,0 +1,40 @@
|
||||
FILESEXTRAPATHS:prepend:gsj := "${THISDIR}/${PN}:"
|
||||
SRC_URI:append:gsj = " file://config-8ssd.json"
|
||||
SRC_URI:append:gsj = " file://config-2ssd.json"
|
||||
SRC_URI:append:gsj = " file://fan-control.sh"
|
||||
SRC_URI:append:gsj = " file://fan-default-speed.sh"
|
||||
SRC_URI:append:gsj = " file://phosphor-pid-control.service"
|
||||
SRC_URI:append:gsj = " file://fan-reboot-control.service"
|
||||
SRC_URI:append:gsj = " file://fan-boot-control.service"
|
||||
|
||||
FILES:${PN}:append:gsj = " ${datadir}/swampd/config-8ssd.json"
|
||||
FILES:${PN}:append:gsj = " ${datadir}/swampd/config-2ssd.json"
|
||||
FILES:${PN}:append:gsj = " ${bindir}/fan-control.sh"
|
||||
FILES:${PN}:append:gsj = " ${bindir}/fan-default-speed.sh"
|
||||
|
||||
inherit systemd
|
||||
RDEPENDS:${PN} += "bash"
|
||||
|
||||
SYSTEMD_SERVICE:${PN}:append:gsj = " phosphor-pid-control.service"
|
||||
SYSTEMD_SERVICE:${PN}:append:gsj = " fan-reboot-control.service"
|
||||
SYSTEMD_SERVICE:${PN}:append:gsj = " fan-boot-control.service"
|
||||
|
||||
do_install:append:gsj() {
|
||||
install -d ${D}/${bindir}
|
||||
install -m 0755 ${WORKDIR}/fan-control.sh ${D}/${bindir}
|
||||
install -m 0755 ${WORKDIR}/fan-default-speed.sh ${D}/${bindir}
|
||||
|
||||
install -d ${D}${datadir}/swampd
|
||||
install -m 0644 -D ${WORKDIR}/config-8ssd.json \
|
||||
${D}${datadir}/swampd/config-8ssd.json
|
||||
install -m 0644 -D ${WORKDIR}/config-2ssd.json \
|
||||
${D}${datadir}/swampd/config-2ssd.json
|
||||
|
||||
install -d ${D}${systemd_unitdir}/system/
|
||||
install -m 0644 ${WORKDIR}/phosphor-pid-control.service \
|
||||
${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${WORKDIR}/fan-reboot-control.service \
|
||||
${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${WORKDIR}/fan-boot-control.service \
|
||||
${D}${systemd_unitdir}/system
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
OBMC_IMAGE_EXTRA_INSTALL:append:gsj = " quanta-nvme-powerctrl"
|
||||
OBMC_IMAGE_EXTRA_INSTALL:append:gsj = " phosphor-nvme"
|
||||
OBMC_IMAGE_EXTRA_INSTALL:append:gsj = " phosphor-pid-control"
|
||||
OBMC_IMAGE_EXTRA_INSTALL:append:gsj = " detect-fan-fail"
|
||||
OBMC_IMAGE_EXTRA_INSTALL:append:gsj = " google-ipmi-sys"
|
||||
OBMC_IMAGE_EXTRA_INSTALL:append:gsj = " gsj-hotswap-change-setting"
|
||||
OBMC_IMAGE_EXTRA_INSTALL:append:gsj = " iperf3"
|
||||
OBMC_IMAGE_EXTRA_INSTALL:append:gsj = " phosphor-ipmi-host"
|
||||
OBMC_IMAGE_EXTRA_INSTALL:append:gsj = " phosphor-hwmon"
|
||||
OBMC_IMAGE_EXTRA_INSTALL:append:gsj = " phosphor-inventory-manager"
|
||||
OBMC_IMAGE_EXTRA_INSTALL:append:gsj = " phosphor-host-postd"
|
||||
OBMC_IMAGE_EXTRA_INSTALL:append:gsj = " phosphor-led-manager"
|
||||
OBMC_IMAGE_EXTRA_INSTALL:append:gsj = " phosphor-led-sysfs"
|
||||
OBMC_IMAGE_EXTRA_INSTALL:append:gsj = " phosphor-led-manager-faultmonitor"
|
||||
@@ -0,0 +1,52 @@
|
||||
0x00:
|
||||
/system/chassis/bmc:
|
||||
entityID: 6
|
||||
entityInstance: 1
|
||||
interfaces:
|
||||
xyz.openbmc_project.Inventory.Decorator.Asset:
|
||||
BuildDate:
|
||||
IPMIFruProperty: Mfg Date
|
||||
IPMIFruSection: Board
|
||||
SerialNumber:
|
||||
IPMIFruProperty: Serial Number
|
||||
IPMIFruSection: Board
|
||||
PartNumber:
|
||||
IPMIFruProperty: Part Number
|
||||
IPMIFruSection: Board
|
||||
Manufacturer:
|
||||
IPMIFruProperty: Manufacturer
|
||||
IPMIFruSection: Board
|
||||
xyz.openbmc_project.Inventory.Item:
|
||||
PrettyName:
|
||||
IPMIFruProperty: Name
|
||||
IPMIFruSection: Board
|
||||
xyz.openbmc_project.Inventory.Decorator.Revision:
|
||||
Version:
|
||||
IPMIFruProperty: FRU File ID
|
||||
IPMIFruSection: Board
|
||||
0x01:
|
||||
/system/chassis/hsbp:
|
||||
entityID: 16
|
||||
entityInstance: 1
|
||||
interfaces:
|
||||
xyz.openbmc_project.Inventory.Decorator.Asset:
|
||||
BuildDate:
|
||||
IPMIFruProperty: Mfg Date
|
||||
IPMIFruSection: Board
|
||||
SerialNumber:
|
||||
IPMIFruProperty: Serial Number
|
||||
IPMIFruSection: Board
|
||||
PartNumber:
|
||||
IPMIFruProperty: Part Number
|
||||
IPMIFruSection: Board
|
||||
Manufacturer:
|
||||
IPMIFruProperty: Manufacturer
|
||||
IPMIFruSection: Board
|
||||
xyz.openbmc_project.Inventory.Item:
|
||||
PrettyName:
|
||||
IPMIFruProperty: Name
|
||||
IPMIFruSection: Board
|
||||
xyz.openbmc_project.Inventory.Decorator.Revision:
|
||||
Version:
|
||||
IPMIFruProperty: FRU File ID
|
||||
IPMIFruSection: Board
|
||||
@@ -0,0 +1,19 @@
|
||||
SUMMARY = "FRU properties config for ipmi-fru-parser"
|
||||
PR = "r1"
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
|
||||
|
||||
inherit phosphor-ipmi-fru
|
||||
inherit native
|
||||
|
||||
SRC_URI += "file://extra-properties.yaml"
|
||||
|
||||
PROVIDES += "virtual/phosphor-ipmi-fru-properties"
|
||||
|
||||
S = "${WORKDIR}"
|
||||
|
||||
do_install() {
|
||||
DEST=${D}${properties_datadir}
|
||||
install -d ${DEST}
|
||||
install extra-properties.yaml ${DEST}
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
/system/chassis/bmc:
|
||||
xyz.openbmc_project.Inventory.Item:
|
||||
Present: 'true'
|
||||
|
||||
/system/chassis/hsbp:
|
||||
xyz.openbmc_project.Inventory.Item:
|
||||
Present: 'true'
|
||||
@@ -0,0 +1,19 @@
|
||||
SUMMARY = "gsj inventory map for phosphor-ipmi-host"
|
||||
PR = "r1"
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
|
||||
|
||||
inherit phosphor-ipmi-host
|
||||
inherit native
|
||||
|
||||
SRC_URI += "file://config.yaml"
|
||||
|
||||
PROVIDES += "virtual/phosphor-ipmi-fru-read-inventory"
|
||||
|
||||
S = "${WORKDIR}"
|
||||
|
||||
do_install() {
|
||||
DEST=${D}${config_datadir}
|
||||
install -d ${DEST}
|
||||
install config.yaml ${DEST}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
SUMMARY = "gsj IPMI to DBus Inventory mapping."
|
||||
PR = "r1"
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
|
||||
|
||||
inherit phosphor-ipmi-fru
|
||||
inherit native
|
||||
|
||||
SRC_URI += "file://config.yaml"
|
||||
|
||||
PROVIDES += "virtual/phosphor-ipmi-fru-inventory"
|
||||
|
||||
S = "${WORKDIR}"
|
||||
|
||||
do_install() {
|
||||
DEST=${D}${config_datadir}
|
||||
install -d ${DEST}
|
||||
install config.yaml ${DEST}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
SUMMARY = "Quanta gsj IPMI to DBus Sensor mapping."
|
||||
PR = "r1"
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
|
||||
|
||||
inherit phosphor-ipmi-host
|
||||
inherit native
|
||||
|
||||
PROVIDES += "virtual/phosphor-ipmi-sensor-inventory"
|
||||
|
||||
SRC_URI += "file://config.yaml"
|
||||
|
||||
S = "${WORKDIR}"
|
||||
|
||||
do_install() {
|
||||
DEST=${D}${sensor_datadir}
|
||||
install -d ${DEST}
|
||||
install config.yaml ${DEST}/sensor.yaml
|
||||
}
|
||||
+977
@@ -0,0 +1,977 @@
|
||||
0x30:
|
||||
entityID: 0x06
|
||||
entityInstance: 1
|
||||
sensorType: 0x01
|
||||
path: /xyz/openbmc_project/sensors/temperature/KL0
|
||||
sensorReadingType: 0x01
|
||||
bExp: 0
|
||||
rExp: 0
|
||||
mutability: Mutability::Write|Mutability::Read
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: readingData
|
||||
sensorNamePattern: nameLeaf
|
||||
unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
|
||||
interfaces:
|
||||
xyz.openbmc_project.Sensor.Value:
|
||||
Value:
|
||||
Offsets:
|
||||
0xFF:
|
||||
type: double
|
||||
|
||||
0x31:
|
||||
entityID: 0x0D
|
||||
entityInstance: 1
|
||||
sensorType: 0x01
|
||||
path: /xyz/openbmc_project/sensors/temperature/KL1
|
||||
sensorReadingType: 0x01
|
||||
bExp: 0
|
||||
rExp: 0
|
||||
mutability: Mutability::Write|Mutability::Read
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: readingData
|
||||
sensorNamePattern: nameLeaf
|
||||
unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
|
||||
interfaces:
|
||||
xyz.openbmc_project.Sensor.Value:
|
||||
Value:
|
||||
Offsets:
|
||||
0xFF:
|
||||
type: double
|
||||
|
||||
0x32:
|
||||
entityID: 0x0E
|
||||
entityInstance: 1
|
||||
sensorType: 0x01
|
||||
path: /xyz/openbmc_project/sensors/temperature/KL2
|
||||
sensorReadingType: 0x01
|
||||
bExp: 0
|
||||
rExp: 0
|
||||
mutability: Mutability::Write|Mutability::Read
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: readingData
|
||||
sensorNamePattern: nameLeaf
|
||||
unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
|
||||
interfaces:
|
||||
xyz.openbmc_project.Sensor.Value:
|
||||
Value:
|
||||
Offsets:
|
||||
0xFF:
|
||||
type: double
|
||||
|
||||
0x33:
|
||||
entityID: 0x0E
|
||||
entityInstance: 2
|
||||
sensorType: 0x01
|
||||
path: /xyz/openbmc_project/sensors/temperature/KL3
|
||||
sensorReadingType: 0x01
|
||||
bExp: 0
|
||||
rExp: 0
|
||||
mutability: Mutability::Write|Mutability::Read
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: readingData
|
||||
sensorNamePattern: nameLeaf
|
||||
unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
|
||||
interfaces:
|
||||
xyz.openbmc_project.Sensor.Value:
|
||||
Value:
|
||||
Offsets:
|
||||
0xFF:
|
||||
type: double
|
||||
|
||||
0x3C:
|
||||
entityID: 0x0A
|
||||
entityInstance: 1
|
||||
sensorType: 0x01
|
||||
path: /xyz/openbmc_project/sensors/temperature/P48V_HSC_Temp
|
||||
sensorReadingType: 0x01
|
||||
bExp: 0
|
||||
rExp: 0
|
||||
mutability: Mutability::Write|Mutability::Read
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: readingData
|
||||
sensorNamePattern: nameLeaf
|
||||
unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
|
||||
interfaces:
|
||||
xyz.openbmc_project.Sensor.Value:
|
||||
Value:
|
||||
Offsets:
|
||||
0xFF:
|
||||
type: double
|
||||
0x70:
|
||||
entityID: 0x0A
|
||||
entityInstance: 5
|
||||
sensorType: 0x03
|
||||
path: /xyz/openbmc_project/sensors/current/P48V_HSC_Current
|
||||
sensorReadingType: 0x01
|
||||
multiplierM: 9
|
||||
offsetB: 0
|
||||
bExp: 0
|
||||
rExp: -2
|
||||
mutability: Mutability::Write|Mutability::Read
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: readingData
|
||||
sensorNamePattern: nameLeaf
|
||||
unit: xyz.openbmc_project.Sensor.Value.Unit.Amperes
|
||||
interfaces:
|
||||
xyz.openbmc_project.Sensor.Value:
|
||||
Value:
|
||||
Offsets:
|
||||
0xFF:
|
||||
type: double
|
||||
|
||||
0x60:
|
||||
entityID: 0x0A
|
||||
entityInstance: 3
|
||||
sensorType: 0x02
|
||||
path: /xyz/openbmc_project/sensors/voltage/P48V_HSC_Vol
|
||||
sensorReadingType: 0x01
|
||||
multiplierM: 243
|
||||
offsetB: 0
|
||||
bExp: 0
|
||||
rExp: -3
|
||||
mutability: Mutability::Write|Mutability::Read
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: readingData
|
||||
sensorNamePattern: nameLeaf
|
||||
unit: xyz.openbmc_project.Sensor.Value.Unit.Volts
|
||||
interfaces:
|
||||
xyz.openbmc_project.Sensor.Value:
|
||||
Value:
|
||||
Offsets:
|
||||
0xFF:
|
||||
type: double
|
||||
|
||||
0x90:
|
||||
entityID: 0x0A
|
||||
entityInstance: 6
|
||||
sensorType: 0x0B
|
||||
path: /xyz/openbmc_project/sensors/power/P48V_HSC_Power
|
||||
sensorReadingType: 0x01
|
||||
multiplierM: 310
|
||||
offsetB: 4
|
||||
bExp: 2
|
||||
rExp: -2
|
||||
mutability: Mutability::Write|Mutability::Read
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: readingData
|
||||
sensorNamePattern: nameLeaf
|
||||
unit: xyz.openbmc_project.Sensor.Value.Unit.Watts
|
||||
interfaces:
|
||||
xyz.openbmc_project.Sensor.Value:
|
||||
Value:
|
||||
Offsets:
|
||||
0xFF:
|
||||
type: double
|
||||
|
||||
0x3D:
|
||||
entityID: 0x0A
|
||||
entityInstance: 2
|
||||
sensorType: 0x01
|
||||
path: /xyz/openbmc_project/sensors/temperature/P12V_BRIC_Temp
|
||||
sensorReadingType: 0x01
|
||||
bExp: 0
|
||||
rExp: 0
|
||||
mutability: Mutability::Write|Mutability::Read
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: readingData
|
||||
sensorNamePattern: nameLeaf
|
||||
unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
|
||||
interfaces:
|
||||
xyz.openbmc_project.Sensor.Value:
|
||||
Value:
|
||||
Offsets:
|
||||
0xFF:
|
||||
type: double
|
||||
0x71:
|
||||
entityID: 0x0A
|
||||
entityInstance: 7
|
||||
sensorType: 0x03
|
||||
path: /xyz/openbmc_project/sensors/current/P12V_BRIC_Curr
|
||||
sensorReadingType: 0x01
|
||||
multiplierM: 200
|
||||
offsetB: 0
|
||||
bExp: 0
|
||||
rExp: -3
|
||||
mutability: Mutability::Write|Mutability::Read
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: readingData
|
||||
sensorNamePattern: nameLeaf
|
||||
unit: xyz.openbmc_project.Sensor.Value.Unit.Amperes
|
||||
interfaces:
|
||||
xyz.openbmc_project.Sensor.Value:
|
||||
Value:
|
||||
Offsets:
|
||||
0xFF:
|
||||
type: double
|
||||
|
||||
0x61:
|
||||
entityID: 0x0A
|
||||
entityInstance: 4
|
||||
sensorType: 0x02
|
||||
path: /xyz/openbmc_project/sensors/voltage/P12V_BRIC_Vol
|
||||
sensorReadingType: 0x01
|
||||
multiplierM: 509
|
||||
offsetB: 0
|
||||
bExp: 0
|
||||
rExp: -4
|
||||
mutability: Mutability::Write|Mutability::Read
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: readingData
|
||||
sensorNamePattern: nameLeaf
|
||||
unit: xyz.openbmc_project.Sensor.Value.Unit.Volts
|
||||
interfaces:
|
||||
xyz.openbmc_project.Sensor.Value:
|
||||
Value:
|
||||
Offsets:
|
||||
0xFF:
|
||||
type: double
|
||||
|
||||
|
||||
0x80:
|
||||
entityID: 0x1D
|
||||
entityInstance: 1
|
||||
sensorType: 0x04
|
||||
path: /xyz/openbmc_project/sensors/fan_tach/Fan0_0_RPM
|
||||
sensorReadingType: 0x01
|
||||
multiplierM: 79
|
||||
offsetB: 0
|
||||
bExp: 0
|
||||
rExp: 0
|
||||
unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: readingData
|
||||
sensorNamePattern: nameLeaf
|
||||
interfaces:
|
||||
xyz.openbmc_project.Sensor.Value:
|
||||
Value:
|
||||
Offsets:
|
||||
0xFF:
|
||||
type: double
|
||||
0x81:
|
||||
entityID: 0x1D
|
||||
entityInstance: 2
|
||||
sensorType: 0x04
|
||||
path: /xyz/openbmc_project/sensors/fan_tach/Fan0_1_RPM
|
||||
sensorReadingType: 0x01
|
||||
multiplierM: 79
|
||||
offsetB: 0
|
||||
bExp: 0
|
||||
rExp: 0
|
||||
unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: readingData
|
||||
sensorNamePattern: nameLeaf
|
||||
interfaces:
|
||||
xyz.openbmc_project.Sensor.Value:
|
||||
Value:
|
||||
Offsets:
|
||||
0xFF:
|
||||
type: double
|
||||
0x82:
|
||||
entityID: 0x1D
|
||||
entityInstance: 3
|
||||
sensorType: 0x04
|
||||
path: /xyz/openbmc_project/sensors/fan_tach/Fan1_0_RPM
|
||||
sensorReadingType: 0x01
|
||||
multiplierM: 79
|
||||
offsetB: 0
|
||||
bExp: 0
|
||||
rExp: 0
|
||||
unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: readingData
|
||||
sensorNamePattern: nameLeaf
|
||||
interfaces:
|
||||
xyz.openbmc_project.Sensor.Value:
|
||||
Value:
|
||||
Offsets:
|
||||
0xFF:
|
||||
type: double
|
||||
0x83:
|
||||
entityID: 0x1D
|
||||
entityInstance: 4
|
||||
sensorType: 0x04
|
||||
path: /xyz/openbmc_project/sensors/fan_tach/Fan1_1_RPM
|
||||
sensorReadingType: 0x01
|
||||
multiplierM: 79
|
||||
offsetB: 0
|
||||
bExp: 0
|
||||
rExp: 0
|
||||
unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: readingData
|
||||
sensorNamePattern: nameLeaf
|
||||
interfaces:
|
||||
xyz.openbmc_project.Sensor.Value:
|
||||
Value:
|
||||
Offsets:
|
||||
0xFF:
|
||||
type: double
|
||||
0x84:
|
||||
entityID: 0x1D
|
||||
entityInstance: 5
|
||||
sensorType: 0x04
|
||||
path: /xyz/openbmc_project/sensors/fan_tach/Fan2_0_RPM
|
||||
sensorReadingType: 0x01
|
||||
multiplierM: 79
|
||||
offsetB: 0
|
||||
bExp: 0
|
||||
rExp: 0
|
||||
unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: readingData
|
||||
sensorNamePattern: nameLeaf
|
||||
interfaces:
|
||||
xyz.openbmc_project.Sensor.Value:
|
||||
Value:
|
||||
Offsets:
|
||||
0xFF:
|
||||
type: double
|
||||
0x85:
|
||||
entityID: 0x1D
|
||||
entityInstance: 6
|
||||
sensorType: 0x04
|
||||
path: /xyz/openbmc_project/sensors/fan_tach/Fan2_1_RPM
|
||||
sensorReadingType: 0x01
|
||||
multiplierM: 79
|
||||
offsetB: 0
|
||||
bExp: 0
|
||||
rExp: 0
|
||||
unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: readingData
|
||||
sensorNamePattern: nameLeaf
|
||||
interfaces:
|
||||
xyz.openbmc_project.Sensor.Value:
|
||||
Value:
|
||||
Offsets:
|
||||
0xFF:
|
||||
type: double
|
||||
|
||||
0xC0: &fan_pwm
|
||||
sensorType: 0x04
|
||||
path: /xyz/openbmc_project/sensors/fan_tach/Fan0_0_RPM
|
||||
sensorReadingType: 0x01
|
||||
multiplierM: 1
|
||||
offsetB: 0
|
||||
bExp: 0
|
||||
mutability: Mutability::Write|Mutability::Read
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: readingData
|
||||
interfaces:
|
||||
xyz.openbmc_project.Control.FanPwm:
|
||||
Target:
|
||||
Offsets:
|
||||
0xFF:
|
||||
type: uint64_t
|
||||
|
||||
0xC1:
|
||||
<<: *fan_pwm
|
||||
path: /xyz/openbmc_project/sensors/fan_tach/Fan1_0_RPM
|
||||
|
||||
0xC2:
|
||||
<<: *fan_pwm
|
||||
path: /xyz/openbmc_project/sensors/fan_tach/Fan2_0_RPM
|
||||
|
||||
0x34:
|
||||
entityID: 0x07
|
||||
entityInstance: 1
|
||||
sensorType: 0x01
|
||||
path: /xyz/openbmc_project/sensors/temperature/nvme0
|
||||
sensorReadingType: 0x01
|
||||
mutability: Mutability::Write|Mutability::Read
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: readingData
|
||||
sensorNamePattern: nameLeaf
|
||||
unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
|
||||
interfaces:
|
||||
xyz.openbmc_project.Sensor.Value:
|
||||
Value:
|
||||
Offsets:
|
||||
0xFF:
|
||||
type: double
|
||||
0x35:
|
||||
entityID: 0x07
|
||||
entityInstance: 2
|
||||
sensorType: 0x01
|
||||
path: /xyz/openbmc_project/sensors/temperature/nvme1
|
||||
sensorReadingType: 0x01
|
||||
mutability: Mutability::Write|Mutability::Read
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: readingData
|
||||
sensorNamePattern: nameLeaf
|
||||
unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
|
||||
interfaces:
|
||||
xyz.openbmc_project.Sensor.Value:
|
||||
Value:
|
||||
Offsets:
|
||||
0xFF:
|
||||
type: double
|
||||
0x36:
|
||||
entityID: 0x07
|
||||
entityInstance: 3
|
||||
sensorType: 0x01
|
||||
path: /xyz/openbmc_project/sensors/temperature/nvme2
|
||||
sensorReadingType: 0x01
|
||||
mutability: Mutability::Write|Mutability::Read
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: readingData
|
||||
sensorNamePattern: nameLeaf
|
||||
unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
|
||||
interfaces:
|
||||
xyz.openbmc_project.Sensor.Value:
|
||||
Value:
|
||||
Offsets:
|
||||
0xFF:
|
||||
type: double
|
||||
0x37:
|
||||
entityID: 0x07
|
||||
entityInstance: 4
|
||||
sensorType: 0x01
|
||||
path: /xyz/openbmc_project/sensors/temperature/nvme3
|
||||
sensorReadingType: 0x01
|
||||
mutability: Mutability::Write|Mutability::Read
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: readingData
|
||||
sensorNamePattern: nameLeaf
|
||||
unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
|
||||
interfaces:
|
||||
xyz.openbmc_project.Sensor.Value:
|
||||
Value:
|
||||
Offsets:
|
||||
0xFF:
|
||||
type: double
|
||||
0x38:
|
||||
entityID: 0x07
|
||||
entityInstance: 5
|
||||
sensorType: 0x01
|
||||
path: /xyz/openbmc_project/sensors/temperature/nvme4
|
||||
sensorReadingType: 0x01
|
||||
mutability: Mutability::Write|Mutability::Read
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: readingData
|
||||
sensorNamePattern: nameLeaf
|
||||
unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
|
||||
interfaces:
|
||||
xyz.openbmc_project.Sensor.Value:
|
||||
Value:
|
||||
Offsets:
|
||||
0xFF:
|
||||
type: double
|
||||
0x39:
|
||||
entityID: 0x07
|
||||
entityInstance: 6
|
||||
sensorType: 0x01
|
||||
path: /xyz/openbmc_project/sensors/temperature/nvme5
|
||||
sensorReadingType: 0x01
|
||||
mutability: Mutability::Write|Mutability::Read
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: readingData
|
||||
sensorNamePattern: nameLeaf
|
||||
unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
|
||||
interfaces:
|
||||
xyz.openbmc_project.Sensor.Value:
|
||||
Value:
|
||||
Offsets:
|
||||
0xFF:
|
||||
type: double
|
||||
0x3A:
|
||||
entityID: 0x07
|
||||
entityInstance: 7
|
||||
sensorType: 0x01
|
||||
path: /xyz/openbmc_project/sensors/temperature/nvme6
|
||||
sensorReadingType: 0x01
|
||||
mutability: Mutability::Write|Mutability::Read
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: readingData
|
||||
sensorNamePattern: nameLeaf
|
||||
unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
|
||||
interfaces:
|
||||
xyz.openbmc_project.Sensor.Value:
|
||||
Value:
|
||||
Offsets:
|
||||
0xFF:
|
||||
type: double
|
||||
0x3B:
|
||||
entityID: 0x07
|
||||
entityInstance: 8
|
||||
sensorType: 0x01
|
||||
path: /xyz/openbmc_project/sensors/temperature/nvme7
|
||||
sensorReadingType: 0x01
|
||||
mutability: Mutability::Write|Mutability::Read
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: readingData
|
||||
sensorNamePattern: nameLeaf
|
||||
unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
|
||||
interfaces:
|
||||
xyz.openbmc_project.Sensor.Value:
|
||||
Value:
|
||||
Offsets:
|
||||
0xFF:
|
||||
type: double
|
||||
|
||||
0x40:
|
||||
entityID: 0x07
|
||||
entityInstance: 9
|
||||
sensorType: 0x21
|
||||
path: /xyz/openbmc_project/led/groups/led_u2_0_locate
|
||||
sensorReadingType: 0x6F
|
||||
mutability: Mutability::Write|Mutability::Read
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: assertion
|
||||
sensorNamePattern: nameLeaf
|
||||
interfaces:
|
||||
xyz.openbmc_project.Led.Group:
|
||||
Asserted:
|
||||
Offsets:
|
||||
0x01:
|
||||
type: bool
|
||||
assert: true
|
||||
|
||||
0x41:
|
||||
entityID: 0x07
|
||||
entityInstance: 10
|
||||
sensorType: 0x21
|
||||
path: /xyz/openbmc_project/led/groups/led_u2_1_locate
|
||||
sensorReadingType: 0x6F
|
||||
mutability: Mutability::Write|Mutability::Read
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: assertion
|
||||
sensorNamePattern: nameLeaf
|
||||
interfaces:
|
||||
xyz.openbmc_project.Led.Group:
|
||||
Asserted:
|
||||
Offsets:
|
||||
0x01:
|
||||
type: bool
|
||||
assert: true
|
||||
|
||||
0x42:
|
||||
entityID: 0x07
|
||||
entityInstance: 11
|
||||
sensorType: 0x21
|
||||
path: /xyz/openbmc_project/led/groups/led_u2_2_locate
|
||||
sensorReadingType: 0x6F
|
||||
mutability: Mutability::Write|Mutability::Read
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: assertion
|
||||
sensorNamePattern: nameLeaf
|
||||
interfaces:
|
||||
xyz.openbmc_project.Led.Group:
|
||||
Asserted:
|
||||
Offsets:
|
||||
0x01:
|
||||
type: bool
|
||||
assert: true
|
||||
|
||||
0x43:
|
||||
entityID: 0x07
|
||||
entityInstance: 12
|
||||
sensorType: 0x21
|
||||
path: /xyz/openbmc_project/led/groups/led_u2_3_locate
|
||||
sensorReadingType: 0x6F
|
||||
mutability: Mutability::Write|Mutability::Read
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: assertion
|
||||
sensorNamePattern: nameLeaf
|
||||
interfaces:
|
||||
xyz.openbmc_project.Led.Group:
|
||||
Asserted:
|
||||
Offsets:
|
||||
0x01:
|
||||
type: bool
|
||||
assert: true
|
||||
|
||||
0x44:
|
||||
entityID: 0x07
|
||||
entityInstance: 13
|
||||
sensorType: 0x21
|
||||
path: /xyz/openbmc_project/led/groups/led_u2_4_locate
|
||||
sensorReadingType: 0x6F
|
||||
mutability: Mutability::Write|Mutability::Read
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: assertion
|
||||
sensorNamePattern: nameLeaf
|
||||
interfaces:
|
||||
xyz.openbmc_project.Led.Group:
|
||||
Asserted:
|
||||
Offsets:
|
||||
0x01:
|
||||
type: bool
|
||||
assert: true
|
||||
|
||||
0x45:
|
||||
entityID: 0x07
|
||||
entityInstance: 14
|
||||
sensorType: 0x21
|
||||
path: /xyz/openbmc_project/led/groups/led_u2_5_locate
|
||||
sensorReadingType: 0x6F
|
||||
mutability: Mutability::Write|Mutability::Read
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: assertion
|
||||
sensorNamePattern: nameLeaf
|
||||
interfaces:
|
||||
xyz.openbmc_project.Led.Group:
|
||||
Asserted:
|
||||
Offsets:
|
||||
0x01:
|
||||
type: bool
|
||||
assert: true
|
||||
|
||||
0x46:
|
||||
entityID: 0x07
|
||||
entityInstance: 15
|
||||
sensorType: 0x21
|
||||
path: /xyz/openbmc_project/led/groups/led_u2_6_locate
|
||||
sensorReadingType: 0x6F
|
||||
mutability: Mutability::Write|Mutability::Read
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: assertion
|
||||
sensorNamePattern: nameLeaf
|
||||
interfaces:
|
||||
xyz.openbmc_project.Led.Group:
|
||||
Asserted:
|
||||
Offsets:
|
||||
0x01:
|
||||
type: bool
|
||||
assert: true
|
||||
|
||||
0x47:
|
||||
entityID: 0x07
|
||||
entityInstance: 16
|
||||
sensorType: 0x21
|
||||
path: /xyz/openbmc_project/led/groups/led_u2_7_locate
|
||||
sensorReadingType: 0x6F
|
||||
mutability: Mutability::Write|Mutability::Read
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: assertion
|
||||
sensorNamePattern: nameLeaf
|
||||
interfaces:
|
||||
xyz.openbmc_project.Led.Group:
|
||||
Asserted:
|
||||
Offsets:
|
||||
0x01:
|
||||
type: bool
|
||||
assert: true
|
||||
|
||||
0x50:
|
||||
entityID: 0x07
|
||||
entityInstance: 17
|
||||
sensorType: 0x21
|
||||
path: /xyz/openbmc_project/led/groups/led_u2_0_fault
|
||||
sensorReadingType: 0x6F
|
||||
mutability: Mutability::Read
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: assertion
|
||||
sensorNamePattern: nameLeaf
|
||||
interfaces:
|
||||
xyz.openbmc_project.Led.Group:
|
||||
Asserted:
|
||||
Offsets:
|
||||
0x00:
|
||||
type: bool
|
||||
assert: true
|
||||
|
||||
0x51:
|
||||
entityID: 0x07
|
||||
entityInstance: 18
|
||||
sensorType: 0x21
|
||||
path: /xyz/openbmc_project/led/groups/led_u2_1_fault
|
||||
sensorReadingType: 0x6F
|
||||
mutability: Mutability::Read
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: assertion
|
||||
sensorNamePattern: nameLeaf
|
||||
interfaces:
|
||||
xyz.openbmc_project.Led.Group:
|
||||
Asserted:
|
||||
Offsets:
|
||||
0x00:
|
||||
type: bool
|
||||
assert: true
|
||||
|
||||
0x52:
|
||||
entityID: 0x07
|
||||
entityInstance: 19
|
||||
sensorType: 0x21
|
||||
path: /xyz/openbmc_project/led/groups/led_u2_2_fault
|
||||
sensorReadingType: 0x6F
|
||||
mutability: Mutability::Read
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: assertion
|
||||
sensorNamePattern: nameLeaf
|
||||
interfaces:
|
||||
xyz.openbmc_project.Led.Group:
|
||||
Asserted:
|
||||
Offsets:
|
||||
0x00:
|
||||
type: bool
|
||||
assert: true
|
||||
|
||||
0x53:
|
||||
entityID: 0x07
|
||||
entityInstance: 20
|
||||
sensorType: 0x21
|
||||
path: /xyz/openbmc_project/led/groups/led_u2_3_fault
|
||||
sensorReadingType: 0x6F
|
||||
mutability: Mutability::Read
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: assertion
|
||||
sensorNamePattern: nameLeaf
|
||||
interfaces:
|
||||
xyz.openbmc_project.Led.Group:
|
||||
Asserted:
|
||||
Offsets:
|
||||
0x00:
|
||||
type: bool
|
||||
assert: true
|
||||
|
||||
0x54:
|
||||
entityID: 0x07
|
||||
entityInstance: 21
|
||||
sensorType: 0x21
|
||||
path: /xyz/openbmc_project/led/groups/led_u2_4_fault
|
||||
sensorReadingType: 0x6F
|
||||
mutability: Mutability::Read
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: assertion
|
||||
sensorNamePattern: nameLeaf
|
||||
interfaces:
|
||||
xyz.openbmc_project.Led.Group:
|
||||
Asserted:
|
||||
Offsets:
|
||||
0x00:
|
||||
type: bool
|
||||
assert: true
|
||||
|
||||
0x55:
|
||||
entityID: 0x07
|
||||
entityInstance: 22
|
||||
sensorType: 0x21
|
||||
path: /xyz/openbmc_project/led/groups/led_u2_5_fault
|
||||
sensorReadingType: 0x6F
|
||||
mutability: Mutability::Read
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: assertion
|
||||
sensorNamePattern: nameLeaf
|
||||
interfaces:
|
||||
xyz.openbmc_project.Led.Group:
|
||||
Asserted:
|
||||
Offsets:
|
||||
0x00:
|
||||
type: bool
|
||||
assert: true
|
||||
|
||||
0x56:
|
||||
entityID: 0x07
|
||||
entityInstance: 23
|
||||
sensorType: 0x21
|
||||
path: /xyz/openbmc_project/led/groups/led_u2_6_fault
|
||||
sensorReadingType: 0x6F
|
||||
mutability: Mutability::Read
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: assertion
|
||||
sensorNamePattern: nameLeaf
|
||||
interfaces:
|
||||
xyz.openbmc_project.Led.Group:
|
||||
Asserted:
|
||||
Offsets:
|
||||
0x00:
|
||||
type: bool
|
||||
assert: true
|
||||
|
||||
0x57:
|
||||
entityID: 0x07
|
||||
entityInstance: 24
|
||||
sensorType: 0x21
|
||||
path: /xyz/openbmc_project/led/groups/led_u2_7_fault
|
||||
sensorReadingType: 0x6F
|
||||
mutability: Mutability::Read
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: assertion
|
||||
sensorNamePattern: nameLeaf
|
||||
interfaces:
|
||||
xyz.openbmc_project.Led.Group:
|
||||
Asserted:
|
||||
Offsets:
|
||||
0x00:
|
||||
type: bool
|
||||
assert: true
|
||||
|
||||
0xB0:
|
||||
entityID: 0x20
|
||||
entityInstance: 1
|
||||
sensorType: 0x0C
|
||||
path: /xyz/openbmc_project/metrics/memory/BmcECC
|
||||
sensorReadingType: 0x6F
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: assertion
|
||||
mutability: Mutability::Read
|
||||
sensorNamePattern: nameLeaf
|
||||
interfaces:
|
||||
xyz.openbmc_project.Memory.MemoryECC:
|
||||
state:
|
||||
Offsets:
|
||||
0x00:
|
||||
type: string
|
||||
assert: xyz.openbmc_project.Memory.MemoryECC.ECCStatus.CE
|
||||
0x01:
|
||||
type: string
|
||||
assert: xyz.openbmc_project.Memory.MemoryECC.ECCStatus.UE
|
||||
0x05:
|
||||
type: string
|
||||
assert: xyz.openbmc_project.Memory.MemoryECC.ECCStatus.LogFull
|
||||
|
||||
0x62:
|
||||
entityID: 0x0A
|
||||
entityInstance: 7
|
||||
sensorType: 0x02
|
||||
path: /xyz/openbmc_project/sensors/voltage/P3V3_STBY_Vol
|
||||
sensorReadingType: 0x01
|
||||
multiplierM: 156
|
||||
offsetB: 0
|
||||
bExp: 0
|
||||
rExp: -4
|
||||
mutability: Mutability::Write|Mutability::Read
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: readingData
|
||||
sensorNamePattern: nameLeaf
|
||||
unit: xyz.openbmc_project.Sensor.Value.Unit.Volts
|
||||
interfaces:
|
||||
xyz.openbmc_project.Sensor.Value:
|
||||
Value:
|
||||
Offsets:
|
||||
0xFF:
|
||||
type: double
|
||||
|
||||
0x64:
|
||||
entityID: 0x0A
|
||||
entityInstance: 8
|
||||
sensorType: 0x02
|
||||
path: /xyz/openbmc_project/sensors/voltage/P2V5_BMC_Vol
|
||||
sensorReadingType: 0x01
|
||||
multiplierM: 117
|
||||
offsetB: 0
|
||||
bExp: 0
|
||||
rExp: -4
|
||||
mutability: Mutability::Write|Mutability::Read
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: readingData
|
||||
sensorNamePattern: nameLeaf
|
||||
unit: xyz.openbmc_project.Sensor.Value.Unit.Volts
|
||||
interfaces:
|
||||
xyz.openbmc_project.Sensor.Value:
|
||||
Value:
|
||||
Offsets:
|
||||
0xFF:
|
||||
type: double
|
||||
|
||||
0x65:
|
||||
entityID: 0x0A
|
||||
entityInstance: 9
|
||||
sensorType: 0x02
|
||||
path: /xyz/openbmc_project/sensors/voltage/P1V8_BMC_Vol
|
||||
sensorReadingType: 0x01
|
||||
multiplierM: 78
|
||||
offsetB: 0
|
||||
bExp: 0
|
||||
rExp: -4
|
||||
mutability: Mutability::Write|Mutability::Read
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: readingData
|
||||
sensorNamePattern: nameLeaf
|
||||
unit: xyz.openbmc_project.Sensor.Value.Unit.Volts
|
||||
interfaces:
|
||||
xyz.openbmc_project.Sensor.Value:
|
||||
Value:
|
||||
Offsets:
|
||||
0xFF:
|
||||
type: double
|
||||
|
||||
0x66:
|
||||
entityID: 0x0A
|
||||
entityInstance: 10
|
||||
sensorType: 0x02
|
||||
path: /xyz/openbmc_project/sensors/voltage/P1V2_BMC_Vol
|
||||
sensorReadingType: 0x01
|
||||
multiplierM: 78
|
||||
offsetB: 0
|
||||
bExp: 0
|
||||
rExp: -4
|
||||
mutability: Mutability::Write|Mutability::Read
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: readingData
|
||||
sensorNamePattern: nameLeaf
|
||||
unit: xyz.openbmc_project.Sensor.Value.Unit.Volts
|
||||
interfaces:
|
||||
xyz.openbmc_project.Sensor.Value:
|
||||
Value:
|
||||
Offsets:
|
||||
0xFF:
|
||||
type: double
|
||||
|
||||
0x67:
|
||||
entityID: 0x0A
|
||||
entityInstance: 11
|
||||
sensorType: 0x02
|
||||
path: /xyz/openbmc_project/sensors/voltage/PVTT_BMC_Vol
|
||||
sensorReadingType: 0x01
|
||||
multiplierM: 392
|
||||
offsetB: 0
|
||||
bExp: 0
|
||||
rExp: -5
|
||||
mutability: Mutability::Write|Mutability::Read
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: readingData
|
||||
sensorNamePattern: nameLeaf
|
||||
unit: xyz.openbmc_project.Sensor.Value.Unit.Volts
|
||||
interfaces:
|
||||
xyz.openbmc_project.Sensor.Value:
|
||||
Value:
|
||||
Offsets:
|
||||
0xFF:
|
||||
type: double
|
||||
|
||||
0x68:
|
||||
entityID: 0x0A
|
||||
entityInstance: 12
|
||||
sensorType: 0x02
|
||||
path: /xyz/openbmc_project/sensors/voltage/P1V175_BMC_Vol
|
||||
sensorReadingType: 0x01
|
||||
multiplierM: 78
|
||||
offsetB: 0
|
||||
bExp: 0
|
||||
rExp: -4
|
||||
mutability: Mutability::Write|Mutability::Read
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: readingData
|
||||
sensorNamePattern: nameLeaf
|
||||
unit: xyz.openbmc_project.Sensor.Value.Unit.Volts
|
||||
interfaces:
|
||||
xyz.openbmc_project.Sensor.Value:
|
||||
Value:
|
||||
Offsets:
|
||||
0xFF:
|
||||
type: double
|
||||
|
||||
0x69:
|
||||
entityID: 0x0A
|
||||
entityInstance: 13
|
||||
sensorType: 0x02
|
||||
path: /xyz/openbmc_project/sensors/voltage/P3V3_PEVPH_Vol
|
||||
sensorReadingType: 0x01
|
||||
multiplierM: 156
|
||||
offsetB: 0
|
||||
bExp: 0
|
||||
rExp: -4
|
||||
mutability: Mutability::Write|Mutability::Read
|
||||
serviceInterface: org.freedesktop.DBus.Properties
|
||||
readingType: readingData
|
||||
sensorNamePattern: nameLeaf
|
||||
unit: xyz.openbmc_project.Sensor.Value.Unit.Volts
|
||||
interfaces:
|
||||
xyz.openbmc_project.Sensor.Value:
|
||||
Value:
|
||||
Offsets:
|
||||
0xFF:
|
||||
type: double
|
||||
@@ -0,0 +1 @@
|
||||
FILESEXTRAPATHS:prepend:gsj := "${THISDIR}/${PN}:"
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"0" : {
|
||||
"access_mode" : "always_available",
|
||||
"user_auth_disabled" : false,
|
||||
"per_msg_auth_disabled" : false,
|
||||
"alerting_disabled" : false,
|
||||
"priv_limit" : "priv-admin"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"0" : {
|
||||
"name" : "usb0",
|
||||
"is_valid" : true,
|
||||
"active_sessions" : 0,
|
||||
"channel_info" : {
|
||||
"medium_type" : "lan-802.3",
|
||||
"protocol_type" : "ipmb-1.0",
|
||||
"session_supported" : "multi-session",
|
||||
"is_ipmi" : true
|
||||
}
|
||||
},
|
||||
"8" : {
|
||||
"name" : "INTRABMC",
|
||||
"is_valid" : true,
|
||||
"active_sessions" : 0,
|
||||
"channel_info" : {
|
||||
"medium_type" : "oem",
|
||||
"protocol_type" : "oem",
|
||||
"session_supported" : "session-less",
|
||||
"is_ipmi" : true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
PACKAGECONFIG:append:gsj = " net-bridge reboot-update static-bmc"
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
SYSFS_PATH=/sys/bus/i2c/devices/10-0055/eeprom
|
||||
FRUID=0
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
SYSFS_PATH=/sys/bus/i2c/devices/9-0055/eeprom
|
||||
FRUID=1
|
||||
@@ -0,0 +1,20 @@
|
||||
inherit obmc-phosphor-systemd
|
||||
|
||||
FILESEXTRAPATHS:prepend:gsj := "${THISDIR}/${PN}:"
|
||||
|
||||
EEPROM_NAMES = "hsbp bmc"
|
||||
|
||||
EEPROMFMT = "system/chassis/{0}"
|
||||
EEPROM_ESCAPEDFMT = "system-chassis-{0}"
|
||||
EEPROMS = "${@compose_list(d, 'EEPROMFMT', 'EEPROM_NAMES')}"
|
||||
EEPROMS_ESCAPED = "${@compose_list(d, 'EEPROM_ESCAPEDFMT', 'EEPROM_NAMES')}"
|
||||
|
||||
ENVFMT = "obmc/eeproms/{0}"
|
||||
SYSTEMD_ENVIRONMENT_FILE:${PN}:append:gsj := " ${@compose_list(d, 'ENVFMT', 'EEPROMS')}"
|
||||
|
||||
TMPL = "obmc-read-eeprom@.service"
|
||||
TGT = "multi-user.target"
|
||||
INSTFMT = "obmc-read-eeprom@{0}.service"
|
||||
FMT = "../${TMPL}:${TGT}.wants/${INSTFMT}"
|
||||
|
||||
SYSTEMD_LINK:${PN}:append:gsj := " ${@compose_list(d, 'FMT', 'EEPROMS_ESCAPED')}"
|
||||
+61
@@ -0,0 +1,61 @@
|
||||
#<NetFn>:<Command>
|
||||
0x00:0x00 //<Chassis>:<Chassis Capabiliti>
|
||||
0x00:0x01 //<Chassis>:<Get Chassis Status>
|
||||
0x00:0x02 //<Chassis>:<Chassis Control>
|
||||
0x00:0x05 //<Chassis>:<Set Chassis Capabilities>
|
||||
0x00:0x06 //<Chassis>:<Set Power Restore Policy>
|
||||
0x00:0x08 //<Chassis>:<Set System Boot Options>
|
||||
0x00:0x09 //<Chassis>:<Get System Boot Options>
|
||||
0x04:0x20 //<Sensor/Event>:<Get Device SDR Info>
|
||||
0x04:0x21 //<Sensor/Event>:<Get Device SDR>
|
||||
0x04:0x22 //<Sensor/Event>:<Reserve Device SDR Repository>
|
||||
0x04:0x27 //<Sensor/Event>:<Get Sensor Threshold>
|
||||
0x04:0x29 //<Sensor/Event>:<Get Sensor Event Enable>
|
||||
0x04:0x2B //<Sensor/Event>:<Get Sensor Event Status>
|
||||
0x04:0x2D //<Sensor/Event>:<Get Sensor Reading>
|
||||
0x04:0x2F //<Sensor/Event>:<Get Sensor Type>
|
||||
0x04:0x30 //<Sensor/Event>:<Set Sensor Reading and Event Status>
|
||||
0x06:0x01 //<App>:<Get Device ID>
|
||||
0x06:0x02 //<App>:<Cold Reset>
|
||||
0x06:0x03 //<App>:<Warm Reset>
|
||||
0x06:0x04 //<App>:<Get Self Test Results>
|
||||
0x06:0x08 //<App>:<Get Device GUID>
|
||||
0x06:0x35 //<App>:<Read Event Message Buffer>
|
||||
0x06:0x40 //<App>:<Set Channel Access>
|
||||
0x06:0x41 //<App>:<Get Channel Access>
|
||||
0x06:0x42 //<App>:<Get Channel Info>
|
||||
0x06:0x43 //<App>:<Set User Access>
|
||||
0x06:0x44 //<App>:<Get User Access>
|
||||
0x06:0x45 //<App>:<Set User Name>
|
||||
0x06:0x46 //<App>:<Get User Name>
|
||||
0x06:0x47 //<App>:<Set User Password>
|
||||
0x06:0x48 //<App>:<Activate Payload>
|
||||
0x06:0x49 //<App>:<Deactivate Payload>
|
||||
0x06:0x4A //<App>:<Get Payload Activation Status>
|
||||
0x06:0x4B //<App>:<Get Payload Instance Info>
|
||||
0x06:0x54 //<App>:<Get Channel Cipher Suites>
|
||||
0x0A:0x10 //<Storage>:<Get FRU Inventory Area Info>
|
||||
0x0A:0x11 //<Storage>:<Read FRU Data>
|
||||
0x0A:0x20 //<Storage>:<Get SDR Repository Info>
|
||||
0x0A:0x22 //<Storage>:<Reserve SDR Repository>
|
||||
0x0A:0x23 //<Storage>:<Get SDR>
|
||||
0x0A:0x40 //<Storage>:<Get SEL Info>
|
||||
0x0A:0x42 //<Storage>:<Reserve SEL>
|
||||
0x0A:0x43 //<Storage>:<Get SEL Entry>
|
||||
0x0A:0x44 //<Storage>:<Add SEL Entry>
|
||||
0x0A:0x47 //<Storage>:<Clear SEL>
|
||||
0x0A:0x48 //<Storage>:<Get SEL Time>
|
||||
0x0A:0x49 //<Storage>:<Set SEL Time>
|
||||
0x0C:0x01 //<Transport>:<Set LAN Configuration Parameters>
|
||||
0x0C:0x02 //<Transport>:<Get LAN Configuration Parameters>
|
||||
0x2C:0x00 //<Group Extension>:<Group Extension Command>
|
||||
0x2C:0x01 //<Group Extension>:<Get DCMI Capabilities>
|
||||
0x2C:0x02 //<Group Extension>:<Get Power Reading>
|
||||
0x2C:0x03 //<Group Extension>:<Get Power Limit>
|
||||
0x2C:0x06 //<Group Extension>:<Get Asset Tag>
|
||||
0x2C:0x07 //<Group Extension>:<Get Sensor Info>
|
||||
0x2C:0x10 //<Group Extension>:<Get Temperature Readings>
|
||||
0x2C:0x3E //<Group Extension>:<Get HPM.x Capabilities>
|
||||
0x2E:0x02 //<Google OEM>:<I2C via Proxy Adapter>
|
||||
0x2E:0x30 //<Google OEM>:<Ethernet Statistics>
|
||||
0x2E:0x32 //<Google OEM>:<Sys Commands>
|
||||
@@ -0,0 +1,7 @@
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
|
||||
|
||||
# Replace the default whitelist for GSJ board.
|
||||
SRC_URI:append:gsj = " file://gsj-ipmid-whitelist.conf"
|
||||
|
||||
WHITELIST_CONF:remove:gsj = " ${S}/host-ipmid-whitelist.conf"
|
||||
WHITELIST_CONF:append:gsj = " ${WORKDIR}/gsj-ipmid-whitelist.conf"
|
||||
@@ -0,0 +1,3 @@
|
||||
# In gsj, usb0 is the interface.
|
||||
RMCPP_IFACE:gsj = "usb0"
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
SUMMARY = "Phosphor LED Group Management for gsj"
|
||||
PR = "r1"
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
|
||||
|
||||
inherit native
|
||||
|
||||
PROVIDES += "virtual/phosphor-led-manager-config-native"
|
||||
|
||||
SRC_URI += "file://led.yaml"
|
||||
S = "${WORKDIR}"
|
||||
|
||||
do_install() {
|
||||
SRC=${S}
|
||||
DEST=${D}${datadir}/phosphor-led-manager
|
||||
install -D ${SRC}/led.yaml ${DEST}/led.yaml
|
||||
}
|
||||
@@ -0,0 +1,113 @@
|
||||
BmcBooted:
|
||||
led-bmc-live:
|
||||
Action: 'Blink'
|
||||
DutyOn: 50
|
||||
Period: 1000
|
||||
LED_BMC_TRAY_PWRGD:
|
||||
LED_BMC_TRAY_PWRGD:
|
||||
Action: 'On'
|
||||
Period: 1000
|
||||
LED_U2_0_LOCATE:
|
||||
LED_U2_0_LOCATE:
|
||||
Action: 'Blink'
|
||||
DutyOn: 50
|
||||
Period: 250
|
||||
LED_U2_0_FAULT:
|
||||
Action: 'Blink'
|
||||
DutyOn: 50
|
||||
Period: 250
|
||||
LED_U2_1_LOCATE:
|
||||
LED_U2_1_LOCATE:
|
||||
Action: 'Blink'
|
||||
DutyOn: 50
|
||||
Period: 250
|
||||
LED_U2_1_FAULT:
|
||||
Action: 'Blink'
|
||||
DutyOn: 50
|
||||
Period: 250
|
||||
LED_U2_2_LOCATE:
|
||||
LED_U2_2_LOCATE:
|
||||
Action: 'Blink'
|
||||
DutyOn: 50
|
||||
Period: 250
|
||||
LED_U2_2_FAULT:
|
||||
Action: 'Blink'
|
||||
DutyOn: 50
|
||||
Period: 250
|
||||
LED_U2_3_LOCATE:
|
||||
LED_U2_3_LOCATE:
|
||||
Action: 'Blink'
|
||||
DutyOn: 50
|
||||
Period: 250
|
||||
LED_U2_3_FAULT:
|
||||
Action: 'Blink'
|
||||
DutyOn: 50
|
||||
Period: 250
|
||||
LED_U2_4_LOCATE:
|
||||
LED_U2_4_LOCATE:
|
||||
Action: 'Blink'
|
||||
DutyOn: 50
|
||||
Period: 250
|
||||
LED_U2_4_FAULT:
|
||||
Action: 'Blink'
|
||||
DutyOn: 50
|
||||
Period: 250
|
||||
LED_U2_5_LOCATE:
|
||||
LED_U2_5_LOCATE:
|
||||
Action: 'Blink'
|
||||
DutyOn: 50
|
||||
Period: 250
|
||||
LED_U2_5_FAULT:
|
||||
Action: 'Blink'
|
||||
DutyOn: 50
|
||||
Period: 250
|
||||
LED_U2_6_LOCATE:
|
||||
LED_U2_6_LOCATE:
|
||||
Action: 'Blink'
|
||||
DutyOn: 50
|
||||
Period: 250
|
||||
LED_U2_6_FAULT:
|
||||
Action: 'Blink'
|
||||
DutyOn: 50
|
||||
Period: 250
|
||||
LED_U2_7_LOCATE:
|
||||
LED_U2_7_LOCATE:
|
||||
Action: 'Blink'
|
||||
DutyOn: 50
|
||||
Period: 250
|
||||
LED_U2_7_FAULT:
|
||||
Action: 'Blink'
|
||||
DutyOn: 50
|
||||
Period: 250
|
||||
LED_U2_0_FAULT:
|
||||
LED_U2_0_FAULT:
|
||||
Action: 'On'
|
||||
Period: 1000
|
||||
LED_U2_1_FAULT:
|
||||
LED_U2_1_FAULT:
|
||||
Action: 'On'
|
||||
Period: 1000
|
||||
LED_U2_2_FAULT:
|
||||
LED_U2_2_FAULT:
|
||||
Action: 'On'
|
||||
Period: 1000
|
||||
LED_U2_3_FAULT:
|
||||
LED_U2_3_FAULT:
|
||||
Action: 'On'
|
||||
Period: 1000
|
||||
LED_U2_4_FAULT:
|
||||
LED_U2_4_FAULT:
|
||||
Action: 'On'
|
||||
Period: 1000
|
||||
LED_U2_5_FAULT:
|
||||
LED_U2_5_FAULT:
|
||||
Action: 'On'
|
||||
Period: 1000
|
||||
LED_U2_6_FAULT:
|
||||
LED_U2_6_FAULT:
|
||||
Action: 'On'
|
||||
Period: 1000
|
||||
LED_U2_7_FAULT:
|
||||
LED_U2_7_FAULT:
|
||||
Action: 'On'
|
||||
Period: 1000
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
LABEL_temp1= "KL0"
|
||||
WARNLO_temp1= "5000"
|
||||
WARNHI_temp1= "38000"
|
||||
CRITHI_temp1 = "40000"
|
||||
CRITLO_temp1 = "0"
|
||||
MINVALUE_temp1 = "-128"
|
||||
MAXVALUE_temp1 = "127"
|
||||
EVENT_temp1= "WARNHI,WARNLO,CRITHI,CRITLO"
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
LABEL_temp1= "KL1"
|
||||
WARNLO_temp1= "5000"
|
||||
WARNHI_temp1= "53000"
|
||||
CRITHI_temp1 = "56000"
|
||||
CRITLO_temp1 = "0"
|
||||
MINVALUE_temp1 = "-128"
|
||||
MAXVALUE_temp1 = "127"
|
||||
EVENT_temp1= "WARNHI,WARNLO,CRITHI,CRITLO"
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
LABEL_temp1= "KL2"
|
||||
WARNLO_temp1= "5000"
|
||||
WARNHI_temp1= "58000"
|
||||
CRITHI_temp1 = "61000"
|
||||
CRITLO_temp1 = "0"
|
||||
MINVALUE_temp1 = "-128"
|
||||
MAXVALUE_temp1 = "127"
|
||||
EVENT_temp1= "WARNHI,WARNLO,CRITHI,CRITLO"
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
LABEL_temp1= "KL3"
|
||||
WARNLO_temp1= "5000"
|
||||
WARNHI_temp1= "42000"
|
||||
CRITHI_temp1 = "44000"
|
||||
CRITLO_temp1 = "0"
|
||||
MINVALUE_temp1 = "-128"
|
||||
MAXVALUE_temp1 = "127"
|
||||
EVENT_temp1= "WARNHI,WARNLO,CRITHI,CRITLO"
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
LABEL_temp1= "P48V_HSC_Temp"
|
||||
WARNHI_temp1= "60000"
|
||||
WARNLO_temp1= "5000"
|
||||
CRITHI_temp1= "65000"
|
||||
CRITLO_temp1= "0"
|
||||
MINVALUE_temp1 = "-128"
|
||||
MAXVALUE_temp1 = "127"
|
||||
EVENT_temp1= "WARNHI,WARNLO,CRITHI,CRITLO"
|
||||
|
||||
LABEL_curr1= "P48V_HSC_Current"
|
||||
WARNLO_curr1= "4"
|
||||
CRITLO_curr1= "0"
|
||||
WARNHI_curr1= "17629"
|
||||
CRITHI_curr1= "19231"
|
||||
MINVALUE_curr1 = "0"
|
||||
MAXVALUE_curr1 = "23"
|
||||
EVENT_curr1= "WARNHI,WARNLO,CRITHI,CRITLO"
|
||||
GAIN_curr1= "0.78"
|
||||
|
||||
LABEL_in3= "P48V_HSC_Vol"
|
||||
WARNLO_in3= "39500"
|
||||
CRITLO_in3= "38500"
|
||||
WARNHI_in3= "60500"
|
||||
CRITHI_in3= "61500"
|
||||
MINVALUE_in3 = "0"
|
||||
MAXVALUE_in3 = "62"
|
||||
EVENT_in3= "WARNHI,WARNLO,CRITHI,CRITLO"
|
||||
|
||||
LABEL_power1= "P48V_HSC_Power"
|
||||
WARNLO_power1= "128205"
|
||||
CRITLO_power1= "0"
|
||||
WARNHI_power1= "705128205"
|
||||
CRITHI_power1= "769230770"
|
||||
MINVALUE_power1 = "0"
|
||||
MAXVALUE_power1 = "795"
|
||||
EVENT_power1= "WARNHI,WARNLO,CRITHI,CRITLO"
|
||||
GAIN_power1= "0.78"
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
LABEL_temp1= "P12V_BRIC_Temp"
|
||||
WARNHI_temp1= "88000"
|
||||
WARNLO_temp1= "5000"
|
||||
CRITHI_temp1= "93000"
|
||||
CRITLO_temp1= "0"
|
||||
MINVALUE_temp1 = "-128"
|
||||
MAXVALUE_temp1 = "127"
|
||||
EVENT_temp1 = "WARNHI,WARNLO,CRITHI,CRITLO"
|
||||
|
||||
LABEL_curr1= "P12V_BRIC_Curr"
|
||||
WARNLO_curr1= "9"
|
||||
CRITLO_curr1= "0"
|
||||
WARNHI_curr1= "45800"
|
||||
CRITHI_curr1= "50000"
|
||||
MINVALUE_curr1 = "0"
|
||||
MAXVALUE_curr1 = "51"
|
||||
EVENT_curr1 = "WARNHI,WARNLO,CRITHI,CRITLO"
|
||||
|
||||
LABEL_in2= "P12V_BRIC_Vol"
|
||||
WARNLO_in2= "11400"
|
||||
CRITLO_in2= "11040"
|
||||
WARNHI_in2= "12600"
|
||||
CRITHI_in2= "12960"
|
||||
MINVALUE_in2= "0"
|
||||
MAXVALUE_in2= "13"
|
||||
EVENT_in2= "WARNHI,WARNLO,CRITHI,CRITLO"
|
||||
|
||||
+62
@@ -0,0 +1,62 @@
|
||||
LABEL_in1= "P3V3_STBY_Vol"
|
||||
WARNLO_in1= "3135"
|
||||
CRITLO_in1= "3135"
|
||||
WARNHI_in1= "3465"
|
||||
CRITHI_in1= "3465"
|
||||
MINVALUE_in1= "0"
|
||||
MAXVALUE_in1= "4"
|
||||
EVENT_in1= "WARNHI,WARNLO,CRITHI,CRITLO"
|
||||
|
||||
LABEL_in2= "P2V5_BMC_Vol"
|
||||
WARNLO_in2= "2375"
|
||||
CRITLO_in2= "2375"
|
||||
WARNHI_in2= "2625"
|
||||
CRITHI_in2= "2625"
|
||||
MINVALUE_in2= "0"
|
||||
MAXVALUE_in2= "3"
|
||||
EVENT_in2= "WARNHI,WARNLO,CRITHI,CRITLO"
|
||||
|
||||
LABEL_in3= "P1V8_BMC_Vol"
|
||||
WARNLO_in3= "1710"
|
||||
CRITLO_in3= "1710"
|
||||
WARNHI_in3= "1890"
|
||||
CRITHI_in3= "1890"
|
||||
MINVALUE_in3= "0"
|
||||
MAXVALUE_in3= "2"
|
||||
EVENT_in3= "WARNHI,WARNLO,CRITHI,CRITLO"
|
||||
|
||||
LABEL_in4= "P1V2_BMC_Vol"
|
||||
WARNLO_in4= "1140"
|
||||
CRITLO_in4= "1140"
|
||||
WARNHI_in4= "1260"
|
||||
CRITHI_in4= "1260"
|
||||
MINVALUE_in4= "0"
|
||||
MAXVALUE_in4= "2"
|
||||
EVENT_in4= "WARNHI,WARNLO,CRITHI,CRITLO"
|
||||
|
||||
LABEL_in5= "PVTT_BMC_Vol"
|
||||
WARNLO_in5= "571"
|
||||
CRITLO_in5= "571"
|
||||
WARNHI_in5= "626"
|
||||
CRITHI_in5= "626"
|
||||
MINVALUE_in5= "0"
|
||||
MAXVALUE_in5= "1"
|
||||
EVENT_in5= "WARNHI,WARNLO,CRITHI,CRITLO"
|
||||
|
||||
LABEL_in6= "P1V175_BMC_Vol"
|
||||
WARNLO_in6= "1139"
|
||||
CRITLO_in6= "1139"
|
||||
WARNHI_in6= "1210"
|
||||
CRITHI_in6= "1210"
|
||||
MINVALUE_in6= "0"
|
||||
MAXVALUE_in6= "2"
|
||||
EVENT_in6= "WARNHI,WARNLO,CRITHI,CRITLO"
|
||||
|
||||
LABEL_in7= "P3V3_PEVPH_Vol"
|
||||
WARNLO_in7= "3135"
|
||||
CRITLO_in7= "3135"
|
||||
WARNHI_in7= "3465"
|
||||
CRITHI_in7= "3465"
|
||||
MINVALUE_in7= "0"
|
||||
MAXVALUE_in7= "4"
|
||||
EVENT_in7= "WARNHI,WARNLO,CRITHI,CRITLO"
|
||||
+65
@@ -0,0 +1,65 @@
|
||||
LABEL_fan1= "Fan0_0_RPM"
|
||||
TARGET_fan1= "Fan0_0_RPM"
|
||||
WARNHI_fan1= "19250"
|
||||
WARNLO_fan1= "150"
|
||||
CRITHI_fan1= "19250"
|
||||
CRITLO_fan1= "150"
|
||||
MINVALUE_fan1 = "0"
|
||||
MAXVALUE_fan1 = "20145"
|
||||
PWM_TARGET_fan1 = 1
|
||||
EVENT_fan1= "WARNHI,WARNLO,CRITHI,CRITLO"
|
||||
|
||||
LABEL_fan2= "Fan0_1_RPM"
|
||||
TARGET_fan2= "Fan0_1_RPM"
|
||||
WARNHI_fan2= "17600"
|
||||
WARNLO_fan2= "150"
|
||||
CRITHI_fan2= "17600"
|
||||
CRITLO_fan2= "150"
|
||||
MINVALUE_fan2 = "0"
|
||||
MAXVALUE_fan2 = "20145"
|
||||
PWM_TARGET_fan2 = 1
|
||||
EVENT_fan2= "WARNHI,WARNLO,CRITHI,CRITLO"
|
||||
|
||||
LABEL_fan3= "Fan1_0_RPM"
|
||||
TARGET_fan3= "Fan1_0_RPM"
|
||||
WARNHI_fan3= "19250"
|
||||
WARNLO_fan3= "150"
|
||||
CRITHI_fan3= "19250"
|
||||
CRITLO_fan3= "150"
|
||||
MINVALUE_fan3 = "0"
|
||||
MAXVALUE_fan3 = "20145"
|
||||
PWM_TARGET_fan3 = 2
|
||||
EVENT_fan3= "WARNHI,WARNLO,CRITHI,CRITLO"
|
||||
|
||||
LABEL_fan4= "Fan1_1_RPM"
|
||||
TARGET_fan4= "Fan1_1_RPM"
|
||||
WARNHI_fan4= "17600"
|
||||
WARNLO_fan4= "150"
|
||||
CRITHI_fan4= "17600"
|
||||
CRITLO_fan4= "150"
|
||||
MINVALUE_fan4 = "0"
|
||||
MAXVALUE_fan4 = "20145"
|
||||
PWM_TARGET_fan4 = 2
|
||||
EVENT_fan4= "WARNHI,WARNLO,CRITHI,CRITLO"
|
||||
|
||||
LABEL_fan5= "Fan2_0_RPM"
|
||||
TARGET_fan5= "Fan2_0_RPM"
|
||||
WARNHI_fan5= "19250"
|
||||
WARNLO_fan5= "150"
|
||||
CRITHI_fan5= "19250"
|
||||
CRITLO_fan5= "150"
|
||||
MINVALUE_fan5 = "0"
|
||||
MAXVALUE_fan5 = "20145"
|
||||
PWM_TARGET_fan5 = 3
|
||||
EVENT_fan5= "WARNHI,WARNLO,CRITHI,CRITLO"
|
||||
|
||||
LABEL_fan6= "Fan2_1_RPM"
|
||||
TARGET_fan6= "Fan2_1_RPM"
|
||||
WARNHI_fan6= "17600"
|
||||
WARNLO_fan6= "150"
|
||||
CRITHI_fan6= "17600"
|
||||
CRITLO_fan6= "150"
|
||||
MINVALUE_fan6 = "0"
|
||||
MAXVALUE_fan6 = "20145"
|
||||
PWM_TARGET_fan6 = 3
|
||||
EVENT_fan6= "WARNHI,WARNLO,CRITHI,CRITLO"
|
||||
@@ -0,0 +1,23 @@
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
|
||||
|
||||
|
||||
NAMES = " \
|
||||
i2c@81000/lm75@5c \
|
||||
i2c@82000/lm75@5c \
|
||||
i2c@83000/lm75@5c \
|
||||
i2c@84000/lm75@5c \
|
||||
i2c@8b000/hotswap@15 \
|
||||
i2c@8b000/power-brick@36 \
|
||||
i2c@8c000/ucd90160@6b \
|
||||
"
|
||||
ITEMSFMT = "ahb/apb/{0}.conf"
|
||||
|
||||
ITEMS += "${@compose_list(d, 'ITEMSFMT', 'NAMES')}"
|
||||
|
||||
ENVS = "obmc/hwmon/{0}"
|
||||
SYSTEMD_ENVIRONMENT_FILE:${PN}:append:gsj = " ${@compose_list(d, 'ENVS', 'ITEMS')}"
|
||||
|
||||
# Fan sensors
|
||||
FITEMS = "pwm-fan-controller@103000.conf"
|
||||
FENVS = "obmc/hwmon/ahb/apb/{0}"
|
||||
SYSTEMD_ENVIRONMENT_FILE:${PN}:append:gsj = " ${@compose_list(d, 'FENVS', 'FITEMS')}"
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
---
|
||||
/xyz/openbmc_project/control/host0/restriction_mode:
|
||||
- Interface: xyz.openbmc_project.Control.Security.RestrictionMode
|
||||
Properties:
|
||||
RestrictionMode:
|
||||
Default: RestrictionMode::Modes::Whitelist
|
||||
@@ -0,0 +1,2 @@
|
||||
FILESEXTRAPATHS:prepend:gsj := "${THISDIR}/${BPN}:"
|
||||
SRC_URI:append:gsj = " file://restrictionmode-default-whitelist.override.yml"
|
||||
Reference in New Issue
Block a user