-
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
Conversation
| "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", |
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
| "upperCriticalVal": 65 | ||
| }, | ||
| "compute": "@/1000.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", |
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
| "sysfsPath": "/run/devmap/sensors/SMB_U279_ADM1272_1/power1_input", | ||
| "type": 0, | ||
| "thresholds": { | ||
| "maxAlarmVal": 2800, |
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.
Should this sensor be called SMB_U279_MAIN_HSC_ADM1272_PIN, since it is tracking power1_input. Ditto, for VOUT, IOUT references for this HSC.
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.
Please let me know if there is a different reasoning to POUT
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.
@somasun Update naming conventions according to the adm1272 datasheet with new commit, please help to check it. thanks.


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.
Putting it back in your queue to address questions/comments
|
@clslucas has updated the pull request. You must reimport the pull request before landing. |
Description
Fixed the multiplication factors Iout and Pout for the hot swap chip ADM1272.
Motivation
Test Plan
Run sensor_service with the new config file: LD_LIBRARY_PATH=./fboss_lib/ ./sensor_service --config_file sensor_service.json
Currently testing the new configuration file is normal.
Janga-platform_manager_log_20251016.txt
janga_sensor_log_20251016.txt
Update the sensor test log:

janga_sensor_log_20251020.txt