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

WDC SA530 Total Host Read & Total Host Writes display Error #233

Open
black-raison-detre opened this issue Sep 12, 2023 · 1 comment
Open

Comments

@black-raison-detre
Copy link

smart attribute is
F1 0xA9 169GB
F2 0x21 33GB

but displayed vlaue is
Total Host Reads 0GB
Total Host Writes 2GB

Total NAND Writes is correct though

CrystalDiskInfo_20230912103252.txt

@black-raison-detre
Copy link
Author

Well, it seems to there is special processing for the SA530 drive, without it now the display is correct.
So maybe multiple revision of SA530 drive, using different controller or firmware??
Mine one is using Marvell 88SS1074

diff --git a/AtaSmart.cpp b/AtaSmart.cpp
index 3b87e40..3772aa0 100644
--- a/AtaSmart.cpp
+++ b/AtaSmart.cpp
@@ -5738,14 +5738,14 @@ BOOL CAtaSmart::IsSsdWdc(ATA_SMART_INFO& asi)
        {
                flagSmartType = TRUE;

-               if (asi.Model.Find(L"SA530") >= 0)
-               {
-                       asi.HostReadsWritesUnit = HOST_READS_WRITES_16MB;
-               }
-               else
-               {
-                       asi.HostReadsWritesUnit = HOST_READS_WRITES_GB;
-               }
+               //if (asi.Model.Find(L"SA530") >= 0)
+               //{
+               //      asi.HostReadsWritesUnit = HOST_READS_WRITES_16MB;
+               //}
+               //else
+               //{
+               asi.HostReadsWritesUnit = HOST_READS_WRITES_GB;
+               //}
        }

        return flagSmartType;

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

No branches or pull requests

1 participant