From 2cc510293bd7dd120e1f5a24747924ec3630aba3 Mon Sep 17 00:00:00 2001 From: Guy Taylor Date: Sun, 14 Feb 2010 21:54:25 +0000 Subject: libatasmart patch hi I have made a patch for libatasmart to add support for attribute 184 and 188. just adds the name to them. Anyway I thought you might want to take a look at it. Iv attached the patch against the git master and here is the link to the Ubuntu's bug/patch https://bugs.launchpad.net/libatasmart/+bug/521864 Thanks Guy Taylor --- atasmart.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/atasmart.c b/atasmart.c index ead52b3..a4b60c0 100644 --- a/atasmart.c +++ b/atasmart.c @@ -1290,7 +1290,9 @@ static const SkSmartAttributeInfo const attribute_info[256] = { [11] = { "calibration-retry-count", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL }, [12] = { "power-cycle-count", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL }, [13] = { "read-soft-error-rate", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL }, + [184] = { "end-to-end-error", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL }, [187] = { "reported-uncorrect", SK_SMART_ATTRIBUTE_UNIT_SECTORS, verify_sectors }, + [188] = { "command-timeout", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL }, [189] = { "high-fly-writes", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL }, [190] = { "airflow-temperature-celsius", SK_SMART_ATTRIBUTE_UNIT_MKELVIN, verify_temperature }, [191] = { "g-sense-error-rate", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL }, -- cgit