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

Compatibility with SMBus controllers without I2C Block Read functionality #25

Open
bakatrouble opened this issue Jun 12, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@bakatrouble
Copy link

bakatrouble commented Jun 12, 2024

My SMBus controller (SMBus PIIX4) is also lacking the I2C Block Read functionality, but I was able to get the check string using byte read:

$ i2cset -y 1 0x50 0x0b 0x04
$ i2cdump -y -r 0x89-0x8b 1 0x50
No size specified (using byte-data access)
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
80:                            4b 46 35                         KF5   

Maybe it's going to be better to implement the check fallback like this, for better compatibility?

@KeyofBlueS
Copy link
Owner

KeyofBlueS commented Jun 14, 2024

Hi @bakatrouble . Thanks for the suggestion!
As stated in the script:

ABOUT DETECTION

Setting register &0x0b to 0x04 on addresses 0x5[0-7] allows to read the DIMM model name, but
very often address 0x5 is write protected (as in my system), which makes this method useless.

Nevertheless, I can still attempt to implement it.

@KeyofBlueS KeyofBlueS added the enhancement New feature or request label Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants