-
Notifications
You must be signed in to change notification settings - Fork 361
janga:config: Update hotswap power sensor multiplication factor #601
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -162,11 +162,22 @@ | |
| "maxAlarmVal": 63, | ||
| "upperCriticalVal": 65 | ||
| }, | ||
| "__comment__": "Update the multiplier to 3 because the HW design has 3 milliohm resistors in parallel, giving an equivalent resistance of 0.333 milliohms", | ||
| "compute": "3*@/1000.0" | ||
| }, | ||
| { | ||
| "name": "SMB_U279_MAIN_HSC_ADM1272_VIN", | ||
| "sysfsPath": "/run/devmap/sensors/SMB_U279_ADM1272_1/in1_input", | ||
| "type": 1, | ||
| "thresholds": { | ||
| "maxAlarmVal": 58, | ||
| "upperCriticalVal": 60 | ||
| }, | ||
| "compute": "@/1000.0" | ||
| }, | ||
| { | ||
| "name": "SMB_U279_MAIN_HSC_ADM1272_VOUT", | ||
| "sysfsPath": "/run/devmap/sensors/SMB_U279_ADM1272_1/in1_input", | ||
| "sysfsPath": "/run/devmap/sensors/SMB_U279_ADM1272_1/in2_input", | ||
| "type": 1, | ||
| "thresholds": { | ||
| "maxAlarmVal": 58, | ||
|
|
@@ -175,14 +186,15 @@ | |
| "compute": "@/1000.0" | ||
| }, | ||
| { | ||
| "name": "SMB_U279_MAIN_HSC_ADM1272_POUT", | ||
| "name": "SMB_U279_MAIN_HSC_ADM1272_PIN", | ||
| "sysfsPath": "/run/devmap/sensors/SMB_U279_ADM1272_1/power1_input", | ||
| "type": 0, | ||
| "thresholds": { | ||
| "maxAlarmVal": 2800, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should this sensor be called
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please let me know if there is a different reasoning to
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @somasun Update naming conventions according to the adm1272 datasheet with new commit, please help to check it. thanks. |
||
| "upperCriticalVal": 3000 | ||
| }, | ||
| "compute": "@/1000000.0" | ||
| "__comment__": "Update the multiplier to 3 because the HW design has 3 milliohm resistors in parallel, giving an equivalent resistance of 0.333 milliohms", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks for the comment |
||
| "compute": "3*@/1000000.0" | ||
| }, | ||
| { | ||
| "name": "SMB_U279_MAIN_HSC_ADM1272_TEMP", | ||
|
|
@@ -9897,5 +9909,13 @@ | |
| } | ||
| ] | ||
| } | ||
| ], | ||
| "powerConsumptionConfigs": [ | ||
| { | ||
| "__comment__": "Hot-swap VRM chip ADM1272 monitors the power consumption of the entire system", | ||
| "name": "HSC", | ||
| "voltageSensorName": "SMB_U279_MAIN_HSC_ADM1272_VOUT", | ||
| "currentSensorName": "SMB_U279_MAIN_HSC_ADM1272_IOUT" | ||
| } | ||
| ] | ||
| } | ||


There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the comment