Skip to content

Conversation

@clslucas
Copy link
Contributor

@clslucas clslucas commented Oct 16, 2025

Description

Fixed the multiplication factors Iout and Pout for the hot swap chip ADM1272.

Motivation

  1. Bumped bsp version to v3.4.0-1.
  2. Update multiplication factor is 3 because the HW design has three parallel resistors(1 milliohm) with an equivalent resistance of 0.333 milliohm.
  3. Add the power consumption field.
image

Test Plan

  • Use the jq command to format the JSON file for better readability.
  • The platform manager and sensor services are running successfully:
    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
image

@meta-cla meta-cla bot added the CLA Signed label Oct 16, 2025
"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",
Copy link
Contributor

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",
Copy link
Contributor

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,
Copy link
Contributor

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.

Copy link
Contributor

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

Copy link
Contributor Author

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.
image
image

@meta-codesync
Copy link

meta-codesync bot commented Oct 16, 2025

@somasun has imported this pull request. If you are a Meta employee, you can view this in D84837710.

Copy link
Contributor

@somasun somasun left a 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

@facebook-github-bot
Copy link
Contributor

@clslucas has updated the pull request. You must reimport the pull request before landing.

@meta-codesync
Copy link

meta-codesync bot commented Oct 22, 2025

@somasun merged this pull request in c1bb73c.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants