Bug 97446

Summary: Wrong temperature attribute being used
Product: libatasmart Reporter: Phillip Susi <psusi>
Component: libraryAssignee: Lennart Poettering <lennart>
Status: NEW --- QA Contact: Lennart Poettering <lennart>
Severity: normal    
Priority: medium CC: zeuthen
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: fix-wrong-temp.patch

Description Phillip Susi 2016-08-22 21:01:45 UTC
Created attachment 125967 [details]
fix-wrong-temp.patch

Forwarding from http://launchpad.net/bugs/1581594.  User has a disk drive that kept showing up as having a temperature of 99 C all the time because libatasmart is interpreting attribute 231 as temperature, when it is in fact used by some SSDs to indicate their life remaining.  The attached patch fixed it for this user.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.