Skip to content
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

[Edgecore][AS9716/PDDF]Support B2F and F2B psu_fan_dir sysfs #12013

Closed

Conversation

jostar-yang
Copy link
Contributor

Why I did it

Because the DUT support different PSU and their fan direction is different. So need drv to provide sysfs for psu_fan_dir.

How I did it

These PSU don't support pmbus cmd, so read from eeprom and create sysfs to provide fan-direction.

How to verify it

Test show platform fan. Log as below,

 N/A  green   PSU1_FAN1      77%       intake     Present        OK  20220908 08:01:31
 N/A  green   PSU2_FAN1      76%       intake     Present        OK  20220908 08:01:31


 N/A  green   PSU1_FAN1      77%      exhaust     Present        OK  20220908 08:11:31
 N/A  green   PSU2_FAN1      76%      exhaust     Present        OK  20220908 08:11:31

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

@jostar-yang jostar-yang requested a review from lguohan as a code owner September 8, 2022 08:36
@jostar-yang jostar-yang changed the title [Edge-Core][AS9716/PDDF]Support B2F and F2B psu_fan_dir sysfs [Edgecore][AS9716/PDDF]Support B2F and F2B psu_fan_dir sysfs Nov 24, 2022
@jostar-yang
Copy link
Contributor Author

Close this PR and create new PR:#13916
#13916 include these patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants