Author: Phillip Susi Subject: Fix incorrect temperature reporting Description: Attribute 231 means ssd life left, not temperature. This was causing bad temperature readings. Bug-Ubuntu: https://bugs.launchpad.net/bugs/1581594 --- a/atasmart.c +++ b/atasmart.c @@ -1358,7 +1358,7 @@ [227] = { "torq-amp-count", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL }, [228] = { "power-off-retract-count-2", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL }, [230] = { "head-amplitude", SK_SMART_ATTRIBUTE_UNIT_UNKNOWN, NULL }, - [231] = { "temperature-celsius", SK_SMART_ATTRIBUTE_UNIT_MKELVIN, verify_temperature }, + [231] = { "ssd-life-left", SK_SMART_ATTRIBUTE_UNIT_UNKNOWN, NULL }, /* http://www.adtron.com/pdf/SMART_for_XceedLite_SATA_RevA.pdf */ [232] = { "endurance-remaining", SK_SMART_ATTRIBUTE_UNIT_PERCENT, NULL },