Skip to content

[m4062nhp] Name fan sensors by tray and rotor - #1546

Draft
anna-nexthop wants to merge 1 commit into
facebook:mainfrom
nexthop-ai:anna-nexthop.fan-sensor-names
Draft

[m4062nhp] Name fan sensors by tray and rotor#1546
anna-nexthop wants to merge 1 commit into
facebook:mainfrom
nexthop-ai:anna-nexthop.fan-sensor-names

Conversation

@anna-nexthop

Copy link
Copy Markdown
Contributor

Pre-submission checklist

  • I've ran the linters locally and fixed lint errors related to the files I modified in this PR. You can install the linters by running pip install -r requirements-dev.txt && pre-commit install
  • pre-commit run

Summary

sensor_service exposed FAN1_RPM..FAN16_RPM, one per hwmon channel, so the numbers were rotor-flat: FAN8_RPM was really tray-4-outer and FAN11_RPM tray-6-inner. A rotor failure therefore surfaced as a sensor name that maps to no fan a technician can point at on the chassis.

Rename to FAN_INNER_RPM / FAN_OUTER_RPM. sysfsPath values are unchanged, so this is purely a naming change; the four PSU fan sensors are untouched.

Test Plan

Verified on hardware

sensor_service exposed FAN1_RPM..FAN16_RPM, one per hwmon channel, so
the numbers were rotor-flat: FAN8_RPM was really tray-4-outer and
FAN11_RPM tray-6-inner. A rotor failure therefore surfaced as a sensor
name that maps to no fan a technician can point at on the chassis.

Rename to FAN<tray>_INNER_RPM / FAN<tray>_OUTER_RPM. sysfsPath values
are unchanged, so this is purely a naming change; the four PSU fan
sensors are untouched.

Signed-off-by: Anna Komarova <anna@nexthop.ai>
@meta-cla meta-cla Bot added the CLA Signed label Aug 21, 2026
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.

1 participant