diff --git a/smartmontools/CHANGELOG b/smartmontools/CHANGELOG index c4bef0be40ab5cbf15551b2cdbe51172cd8c06e7..768177a51990f66fe2ea362006c613b3d8a18756 100644 --- a/smartmontools/CHANGELOG +++ b/smartmontools/CHANGELOG @@ -43,6 +43,11 @@ NOTES FOR FUTURE RELEASES: see TODO file. <DEVELOPERS: ADDITIONS TO THE CHANGE LOG GO JUST BELOW HERE, PLEASE> + [MS] attribute updates: + - change attributes 202,204,205 to the meanings as found in wdidle3.exe + retain old entries as comments (possible Fujitsu use) + - add attribute 240 as found in Fujitsu MHY2xxxBH + [MS] attributes updates: - attributes 225, 232 and 233 for Intel X25-E SSD - non-conflicting attributes extracted from wdidle3.exe diff --git a/smartmontools/atacmds.cpp b/smartmontools/atacmds.cpp index f1cf9d6a9173a12250b67c8468a1d188d03f58fa..13755f988348f6536454909b74869d598cdc7eba 100644 --- a/smartmontools/atacmds.cpp +++ b/smartmontools/atacmds.cpp @@ -180,6 +180,7 @@ const vendor_attr_arg_entry vendor_attribute_args[] = { {201,"detectedtacount", 1}, {220,"temp", 1}, {225,"hostwritescount", 1}, + {240,"transfererrorrate", 1}, { 0,"raw8", 253}, { 0,"raw16", 254}, { 0,"raw48", 255}, @@ -2127,9 +2128,8 @@ void ataPrintSmartAttribName(char * out, unsigned char id, const unsigned char * } break; case 202: - // Fujitsu - name="TA_Increase_Count"; - // Maxtor: Data Address Mark Errors + // Fujitsu: "TA_Increase_Count" + name="Data_Address_Mark_Errs"; break; case 203: // Fujitsu @@ -2137,14 +2137,12 @@ void ataPrintSmartAttribName(char * out, unsigned char id, const unsigned char * // Maxtor: ECC Errors break; case 204: - // Fujitsu - name="Shock_Count_Write_Opern"; - // Maxtor: Soft ECC Correction + // Fujitsu: "Shock_Count_Write_Opern" + name="Soft_ECC_Correction"; break; case 205: - // Fujitsu - name="Shock_Rate_Write_Opern"; - // Maxtor: Thermal Aspirates + // Fujitsu: "Shock_Rate_Write_Opern" + name="Thermal_Asperity_Rate"; break; case 206: // Fujitsu @@ -2219,9 +2217,16 @@ void ataPrintSmartAttribName(char * out, unsigned char id, const unsigned char * // seen in Intel X25-E SSD name="Media_Wearout_Indicator"; break; - case 240: - name="Head_Flying_Hours"; - break; + case 240: + switch (val) { + case 1: + // seen in Fujitsu MHY2xxxBH + name="Transfer_Error_Rate"; + break; + default: + name="Head_Flying_Hours"; + break; + } case 241: name="Total_LBAs_Written"; break; diff --git a/smartmontools/knowndrives.cpp b/smartmontools/knowndrives.cpp index 5b3220a77d1588fc66b8d6f615e7602fa8fadb38..b2b86063cd23ded945866e7d7a10c0e10c8507cc 100644 --- a/smartmontools/knowndrives.cpp +++ b/smartmontools/knowndrives.cpp @@ -221,7 +221,8 @@ static const drive_settings builtin_knowndrives[] = { }, { "Fujitsu MHY2 BH series", "FUJITSU MHY2(04|06|08|10|12|16|20|25)0BH.*", - "", "", "" + "", "", + "-v 240,transfererrorrate" }, { "Fujitsu MHW2 BH series", "FUJITSU MHW2(04|06|08|10|12|16)0BH.*",