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

[Platform/Seastone]: fix syseeprom tlv read issue #12200

Merged
merged 1 commit into from
Dec 5, 2022

Conversation

qnos
Copy link
Contributor

@qnos qnos commented Sep 28, 2022

Why I did it

Fix Seastone syseeprom tlv header read incorrect issue

How I did it

Set mux idle_state to MUX_IDLE_DISCONNECT.

How to verify it

# i2cdump -y -f 12 0x50 i

or

python3
F = open("/sys/class/i2c-adapter/i2c-12/12-0050/eeprom", "rb")

F.seek(0)
o = F.read(11)
o
F.seek(0)
F.close()

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)

Why I did it
Fix Seastone syseeprom tlv header read incorrect issue

How I did it
Set mux idle_state

How to verify it
i2cdump -y -f 12 0x50 i
@prgeor prgeor merged commit 64e7fff into sonic-net:master Dec 5, 2022
mssonicbld pushed a commit to mssonicbld/sonic-buildimage that referenced this pull request Dec 7, 2022
Why I did it
Fix Seastone syseeprom tlv header read incorrect issue

How I did it
Set mux idle_state

How to verify it
i2cdump -y -f 12 0x50 i
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202205: #12975

@qnos
Copy link
Contributor Author

qnos commented Jan 12, 2023

@yxieca Please also help to backport to 202211 branch. I find 202211 branch does not have this fix.

mssonicbld pushed a commit to mssonicbld/sonic-buildimage that referenced this pull request Feb 3, 2023
Why I did it
Fix Seastone syseeprom tlv header read incorrect issue

How I did it
Set mux idle_state

How to verify it
i2cdump -y -f 12 0x50 i
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202211: #13624

mssonicbld pushed a commit that referenced this pull request Feb 3, 2023
Why I did it
Fix Seastone syseeprom tlv header read incorrect issue

How I did it
Set mux idle_state

How to verify it
i2cdump -y -f 12 0x50 i
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.

7 participants