Skip to content

[as5835-54x]Set sfp port tx_disable to disable #5672

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

Closed

Conversation

jostar-yang
Copy link
Contributor

- Why I did it
Set tx_disable to disable for each boot.
Because CPLD default setting is enable.
- How I did it
Add disable code to accton_as5835_54x_util.py
- How to verify it
Make sure tx_disable offset is enable.
./accton_as5835_54x_util.py clean
./accton_as5835_54x_util.py install
root@sonic:/usr/local/bin# cat /sys/bus/i2c/devices/3-0061/module_tx_disable_1
0
root@sonic:/usr/local/bin# cat /sys/bus/i2c/devices/3-0061/module_tx_disable_1
0
.....
Other sfp ports tx_dis sysfs are 0.
- Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006

- Description for the changelog

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

@jostar-yang
Copy link
Contributor Author

Retest please

1 similar comment
@jostar-yang
Copy link
Contributor Author

Retest please

@jostar-yang jostar-yang requested a review from lguohan as a code owner February 6, 2021 20:29
@jostar-yang
Copy link
Contributor Author

The PR is too old and it it pytho2.7 file. So close and resend PR.

@jostar-yang
Copy link
Contributor Author

The PR is too old and get file conflict. So create new PR to handle related fixed code.
#9797

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.

1 participant