gsmartcontrol doesn't report ATA/SATA version correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gsmartcontrol (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Ubuntu 14.04
GSmartControl 0.8.7 (package version 0.8.7-1)
smartmontools release 6.2 dated 2013-07-26 at 17:38:20 UTC (smartmontools package 6.2+svn3841-1.2)
GSmartControl doesn't parse the ATA and SATA version from the output of smartctl correctly.
The ATA or SATA version is always reported as 0.
The attached screenshot shows the smartctl output and the GSmartControl information window.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: gsmartcontrol 0.8.7-1
ProcVersionSign
Uname: Linux 3.13.0-24-generic x86_64
NonfreeKernelMo
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
CurrentDesktop: Unity
Date: Sun Apr 20 08:55:20 2014
InstallationDate: Installed on 2014-01-04 (105 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
SourcePackage: gsmartcontrol
UpgradeStatus: Upgraded to trusty on 2014-03-09 (42 days ago)
Related branches
- Daniel Holbach (community): Approve
-
Diff: 114 lines (+77/-1)5 files modifieddebian/changelog (+9/-0)
debian/control (+2/-1)
debian/patches/04_compat_with_smartmontools_6.patch (+23/-0)
debian/patches/05_fix_ATA_version.patch (+41/-0)
debian/patches/series (+2/-0)
Version is '0' because the program tries to make an integer out of the value. Matching /ATA Version/ also matched "SATA Version" and caused the two instances of "ATA Version: 0" to appear. The attached change fixes those problems.