-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ADC sensor value is "na" and TempSensor value not update #29
Comments
Do ADC sensors have value or na on the webui sensors page? I've also noticed, that you've added And it is very hard to see anything from your output, I suggest you to properly format it. |
Thanks for your reply.
ADC sensors value is also na on the webui.
The host was off.
Thank you for your advice. I am not familiar with the usage yet, and I will pay attention to the format later. |
The data from the
|
Yes, they are the same. When BMC work, I turned off the fan, the value will must be higher than first read, but it still keep the original data. |
Are you sure that this fan cools this particular TMP75 ? You've said
You can check this theory. |
Yse, I'm sure.
I tried this theory, the next boot sensor value not change anymore. |
I added ADC and TMP75 sensors to my BaseBoard.json file just like this:
"Exposes": [ { "Index": 0, "Name": "AUX3V3", "PowerState": "On", "ScaleFactor": 0.28147, "Thresholds": [ { "Direction": "greater than", "Name": "upper critical", "Severity": 1, "Value": 3.96 }, { "Direction": "greater than", "Name": "upper non critical", "Severity": 0, "Value": 3.63 }, { "Direction": "less than", "Name": "lower non critical", "Severity": 0, "Value": 2.97 }, { "Direction": "less than", "Name": "lower critical", "Severity": 1, "Value": 2.64 } ], "Type": "ADC" }, { "Index": 1, "Name": "P1V0", "PowerState": "On", "ScaleFactor": 0.8528, "Thresholds": [ { "Direction": "greater than", "Name": "upper critical", "Severity": 1, "Value": 1.2 }, { "Direction": "greater than", "Name": "upper non critical", "Severity": 0, "Value": 1.1 }, { "Direction": "less than", "Name": "lower non critical", "Severity": 0, "Value": 0.9 }, { "Direction": "less than", "Name": "lower critical", "Severity": 1, "Value": 0.8 } ], "Type": "ADC" }, { "Index": 2, "Name": "P12V", "PowerState": "On", "ScaleFactor": 0.03701, "Thresholds": [ { "Direction": "greater than", "Name": "upper critical", "Severity": 1, "Value": 14.4 }, { "Direction": "greater than", "Name": "upper non critical", "Severity": 0, "Value": 13.2 }, { "Direction": "less than", "Name": "lower non critical", "Severity": 0, "Value": 10.8 }, { "Direction": "less than", "Name": "lower critical", "Severity": 1, "Value": 9.6 } ], "Type": "ADC" }, { "Address": "0x48", "Bus": "4", "Name": "temperature1", "Thresholds": [ { "Direction": "greater than", "Name": "upper critical", "Severity": 1, "Value": 80 }, { "Direction": "greater than", "Name": "upper non critical", "Severity": 0, "Value": 70 }, { "Direction": "less than", "Name": "lower non critical", "Severity": 0, "Value": 5 }, { "Direction": "less than", "Name": "lower critical", "Severity": 1, "Value": 2.5 } ], "Type": "TMP75" }, { "Address": "0x49", "Bus": "4", "Name": "temperature2", "Thresholds": [ { "Direction": "greater than", "Name": "upper critical", "Severity": 1, "Value": 80 }, { "Direction": "greater than", "Name": "upper non critical", "Severity": 0, "Value": 70 }, { "Direction": "less than", "Name": "lower non critical", "Severity": 0, "Value": 5 }, { "Direction": "less than", "Name": "lower critical", "Severity": 1, "Value": 2.5 } ], "Type": "TMP75" }
In BMC, they can be read by cat CMD
ADC::
# cat /sys/class/hwmon/hwmon8/in1_input# cat /sys/class/hwmon/hwmon6/temp1_input939
TMP75:
30750
But use ipmitool to send "sensor list" CMD, it return:
temperature1 | 31.000 | degrees C | ok | na | 3.000 | 5.000 | 70.000 | 80.000 | na temperature2 | 30.000 | degrees C | ok | na | 3.000 | 5.000 | 70.000 | 80.000 | na AUX3V3 | na | Volts | na | na | 2.635 | 2.962 | 3.639 | 3.966 | na P1V0 | na | Volts | na | na | 0.797 | 0.896 | 1.104 | 1.204 | na P12V | na | Volts | na | na | 9.550 | 10.887 | 13.179 | 14.325 | na
ADC sensor value is "na"
TempSensor value is ok but not update.
I found some errors by "journalctl | grep hwmon" CMD:
kernel: lm75 4-0048: hwmon6: sensor 'tmp75' kernel: lm75 4-0049: hwmon7: sensor 'tmp75' hwmontempsensor[266]: error getting SpecialMode status No route to host hwmontempsensor[266]: Error calling mapper hwmontempsensor[266]: failed to find match for 4-0048 hwmontempsensor[266]: failed to find match for 4-0049 adcsensor[264]: failed to find match for /sys/class/hwmon/hwmon8/in3_input adcsensor[264]: failed to find match for /sys/class/hwmon/hwmon8/in1_input adcsensor[264]: failed to find match for /sys/class/hwmon/hwmon8/in2_input
Is there some configuration missing or operation error ?
I‘m a beginner of openbmc, Please give me some advice.
Thank you!
The text was updated successfully, but these errors were encountered: