我再root.sr中
“Entity_AdcSensor_1V2”: {
“Id”: 100,
“Name”: “Adc voltage Sensor”,
“PowerState”: 1,
“Presence”: 1,
“Instance”: 100
},
“ThresholdSensor_AdcSensor_1V2”: {
“OwnerId”: 32,
“OwnerLun”: 0,
“EntityId”: “<=/Entity_AdcSensor_1V2.Id”,
“EntityInstance”: “<=/Entity_AdcSensor_1V2.Instance”,
“Initialization”: 127,
“Capabilities”: 232,
“SensorType”: 2,
“ReadingType”: 1,
“SensorName”: “P1V2”,
“Unit”: 0,
“BaseUnit”: 4,
“ModifierUnit”: 0,
“Analog”: 1,
“NominalReading”: 120,
“NormalMaximum”: 126,
“NormalMinimum”: 114,
“MaximumReading”: 127,
“MinimumReading”: 0,
“Reading”: “<=/Scanner_Adc_0.Value |> expr($1 / 10)”,
“AssertMask”: 516,
“DeassertMask”: 516,
“ReadingMask”: 4626,
“Linearization”: 0,
“RBExp”: 208,
“M”: 20,
“UpperNonrecoverable”: 72,
“UpperCritical”: 66,
“UpperNoncritica”: 63,
“LowerNonrecoverable”: 48,
“LowerCritical”: 54,
“LowerNonCritical”: 57,
“PositiveHysteresis”: 4,
“NegativeHysteresis”: 4
},
根据sensor | 文档中心 | openUBMC 查看了字段意义,
我发现设置的上下门限值,只有两个生效,其他的四个值不生效不显示。
~ ~ $ ipmcget -t sensor -d list
sensor id | sensor name | value | unit | status | lnr | lc | lnc | unc | uc | unr | phys | nhys
0x3 | 1711 Core Temp | 52.000 | degrees C | ok | na | na | na | 105.000 | na | na | 2.000 | 2.000
0x5 | P1V2 | 1.780 | Volts | cr | na | 1.080 | na | na | 1.320 | na | 0.080 | 0.080
0x6 | P1V8 | 0.890 | Volts | cr | na | 1.620 | na | na | 1.980 | na | 0.040 | 0.040
而且我发现生效的那两个值,还需要乘上系数 ”M“字段,是这样的吗?