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

[AS5835-54T] Support PDDF #7520

Closed

Conversation

jostar-yang
Copy link
Contributor

Signed-off-by: Jostar Yang jostar_yang@accton.com.tw

Why I did it

Support PDDF

How I did it

Implement PDDF

How to verify it

Test sensors and pddf cmd.
root@sonic:/home/admin# sensors

lm75-i2c-27-4c
Adapter: i2c-2-mux (chan_id 1)
temp1: +29.5 C (high = +80.0 C, hyst = +75.0 C)

psu_pmbus-i2c-12-5b
Adapter: i2c-2-mux (chan_id 2)
in3: +0.00 V
fan1: 0 RPM
power2: 0.00 W
curr2: +0.00 A

psu_pmbus-i2c-11-58
Adapter: i2c-2-mux (chan_id 1)
in3: +11.81 V
fan1: 12592 RPM
power2: 147.00 W
curr2: +12.48 A

acpitz-virtual-0
Adapter: Virtual device
temp1: +0.0 C (crit = +91.0 C)

fan_ctrl-i2c-3-63
Adapter: i2c-1-mux (chan_id 1)
fan1: 21000 RPM
fan2: 18150 RPM
fan3: 0 RPM
fan4: 0 RPM
fan5: 20550 RPM
fan6: 17850 RPM
fan7: 21000 RPM
fan8: 17850 RPM
fan9: 20850 RPM
fan10: 17850 RPM

lm75-i2c-28-49
Adapter: i2c-2-mux (chan_id 2)
temp1: +31.0 C (high = +80.0 C, hyst = +75.0 C)

lm75-i2c-26-4b
Adapter: i2c-2-mux (chan_id 0)
temp1: +26.5 C (high = +80.0 C, hyst = +75.0 C)

coretemp-isa-0000
Adapter: ISA adapter
Physical id 0: +31.0 C (high = +71.0 C, crit = +91.0 C)
Core 2: +29.0 C (high = +71.0 C, crit = +91.0 C)
Core 6: +28.0 C (high = +71.0 C, crit = +91.0 C)
Core 8: +26.0 C (high = +71.0 C, crit = +91.0 C)
Core 12: +29.0 C (high = +71.0 C, crit = +91.0 C)

lm75-i2c-29-4a
Adapter: i2c-2-mux (chan_id 3)
temp1: +27.0 C (high = +80.0 C, hyst = +75.0 C)

root@sonic:/home/admin# pddf_psuutil seninfo
PSU1 is OK
Output Voltage: 11806.0 mv
Output Current: 12703.0 ma
Output Power: 150000.0 mw
Fan1 Speed: 12688 rpm

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

  • 201811
  • 201911
  • 202006
  • 202012

Description for the changelog

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

Signed-off-by: Jostar Yang <jostar_yang@accton.com.tw>
@lgtm-com
Copy link

lgtm-com bot commented May 5, 2021

This pull request introduces 13 alerts when merging a07fcd7 into 0bc0f98 - view on LGTM.com

new alerts:

  • 9 for Unused import
  • 2 for Unused local variable
  • 2 for Use of 'global' at module level

@lgtm-com
Copy link

lgtm-com bot commented May 5, 2021

This pull request introduces 1 alert when merging 210173f into 0bc0f98 - view on LGTM.com

new alerts:

  • 1 for Unused import

jleveque
jleveque previously approved these changes May 7, 2021
@jleveque
Copy link
Contributor

jleveque commented May 7, 2021

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jleveque
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jostar-yang
Copy link
Contributor Author

/azpw run

@mssonicbld
Copy link
Collaborator

/AzurePipelines run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

FuzailBrcm
FuzailBrcm previously approved these changes Jul 28, 2021
@lgtm-com
Copy link

lgtm-com bot commented Aug 3, 2021

This pull request introduces 1 alert when merging d23d3d7 into 93e939b - view on LGTM.com

new alerts:

  • 1 for Unused import

@seanwu-ec seanwu-ec mentioned this pull request Dec 28, 2021
5 tasks
@jostar-yang
Copy link
Contributor Author

/azpw run

@mssonicbld
Copy link
Collaborator

/AzurePipelines run

@azure-pipelines
Copy link

You have several pipelines (over 10) configured to build pull requests in this repository. Specify which pipelines you would like to run by using /azp run [pipelines] command. You can specify multiple pipelines using a comma separated list.

@lgtm-com
Copy link

lgtm-com bot commented Mar 10, 2022

This pull request introduces 2 alerts when merging ba85297 into c8db7a2 - view on LGTM.com

new alerts:

  • 2 for Unused import

@jostar-yang jostar-yang requested a review from a team as a code owner June 10, 2022 02:01
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Mar 16, 2023

CLA Missing ID CLA Not Signed

Signed-off-by: michael_shih <michael_shih@edge-core.com>
@jostar-yang
Copy link
Contributor Author

Close the PR because some easyCLA issue. It can't fix in this PR. So create new PR
https://github.com/sonic-net/sonic-buildimage/pull/14387/files

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.

5 participants