platform/upstream/libatasmart.git
9 years agoChange ' to " in configure call to fix build 28/32828/1 accepted/tizen_3.0_ivi accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable tizen tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common tizen_3.0.2015.q2_common tizen_3.0.m1_mobile tizen_3.0.m1_tv tizen_3.0_ivi accepted/tizen/common/20141224.143655 accepted/tizen/ivi/20150112.060234 accepted/tizen/ivi/20160218.024719 accepted/tizen/mobile/20141226.003804 accepted/tizen/tv/20141226.003403 accepted/tizen/wearable/20141226.003547 submit/tizen/20141224.131315 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000005 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release tizen_3.0_ivi_release
Yury Usishchev [Wed, 24 Dec 2014 13:05:52 +0000 (16:05 +0300)]
Change ' to " in configure call to fix build

Change-Id: I34a7a0591f9a4a7e4c8967a668ae909d8ac7ea63
Signed-off-by: Yury Usishchev <y.usishchev@samsung.com>
9 years agoDo not overwrite global CFLAGS 92/32692/1 submit/tizen/20141224.011858
Yury Usishchev [Mon, 22 Dec 2014 14:06:53 +0000 (17:06 +0300)]
Do not overwrite global CFLAGS

Change-Id: Ifa2a8b47a2369f7bd1e32fe689903e09bedf1e8a
Signed-off-by: Yury Usishchev <y.usishchev@samsung.com>
10 years agoUse rpm macro For x86_64 compatibility. 21/16521/2 accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi accepted/tizen_generic accepted/tizen_ivi_panda accepted/tizen_ivi_release tizen_3.0.2014.q3_common tizen_3.0.m14.2_ivi tizen_3.0.m14.3_ivi tizen_ivi_release accepted/tizen/generic/20140228.100044 accepted/tizen/generic/20140312.105045 accepted/tizen/ivi/20140228.193351 accepted/tizen/ivi/panda/20140312.092938 accepted/tizen/ivi/release/20140312.115439 accepted/tizen/mobile/20140303.023145 submit/tizen/20140228.081006 submit/tizen/20140312.070836 submit/tizen_ivi_release/20140312.071310 submit/tizen_mobile/20141120.000000 tizen_3.0.2014.q3_common_release tizen_3.0.m14.2_ivi_release tizen_3.0.m14.3_ivi_release
Ronan Le Martret [Tue, 18 Feb 2014 08:07:26 +0000 (09:07 +0100)]
Use rpm macro For x86_64 compatibility.

Fix :Do not provide pkgconfig(libatasmart) for arch x86_64.
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
Change-Id: Ia18f881664ebb2182a0162faea2153d92db41517

10 years agoPackage split on binary and development packages accepted/tizen/ivi accepted/tizen/mobile platform/upstream/libatasmart accepted/tizen/20131203.205130 accepted/tizen/20131206.003824 submit/tizen/20131203.092352 submit/tizen/20131203.102029
Jacek Pielaszkiewicz [Fri, 4 Oct 2013 08:07:18 +0000 (10:07 +0200)]
Package split on binary and development packages

Change-Id: I15ad4d94bc15a6ff78c4b1b7ab995a508688d666
Signed-off-by: Jacek Pielaszkiewicz <j.pielaszkie@samsung.com>
10 years agoInitial packaging directory.
Jacek Pielaszkiewicz [Fri, 4 Oct 2013 06:30:44 +0000 (08:30 +0200)]
Initial packaging directory.

Change-Id: Ic59667080ca4deccbfdb8584d213448e6c2392ba
Signed-off-by: Jacek Pielaszkiewicz <j.pielaszkie@samsung.com>
11 years agobuild-sys: bump version info upstream upstream/0.19
Lennart Poettering [Sun, 20 May 2012 22:04:26 +0000 (00:04 +0200)]
build-sys: bump version info

11 years agoattributes: Add S.M.A.R.T attributes for Samsung SSD
Tobias Wolf [Sun, 21 Feb 2010 11:58:42 +0000 (12:58 +0100)]
attributes: Add S.M.A.R.T attributes for Samsung SSD

  Taken from:
  http://www.samsung.com/global/business/semiconductor/products/SSD/downloads/ds_SS805_NSSD_100_SLC_SATA_II_rev11.pdf

  Description:
           Attribute Name
       175 Program Fail Count (Chip)
       176 Erase Fail Count (Chip)
       177 Wear Leveling Count
       178 Used Reserved Block Count (Chip)
       179 Used Reserved Block Count (Total)
       180 Unused Reserved Block Count (Total)
       181 Program Fail Count (Total)
       182 Erase Fail Count (Total)
       183 Runtime bad block (Total)

Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/libatasmart/+bug/885869

11 years agoquirks: add quirks for Intel SSD Serie 320
Oleksij Rempel (Alexey Fisher) [Thu, 5 Jan 2012 08:50:17 +0000 (09:50 +0100)]
quirks: add quirks for Intel SSD Serie 320

According to Intel documantation, complete SSD Serie 320 use same
SMART parameters. I tested it with one more drive: INETL_SSDSA2CT040G3.

Also i collected serial numbers for Intel SSD Serie 320 deevices:

serie 320:
40GB:
SSDSA2CT040G3K5
SSDSA2CT040G301
SSDSA2CT040G3B5
SSDSA2CT040G310
SSDSA2BT040G3

80GB:
SSDSA2CW080G3K5
SSDSA2CW080G301
SSDSA2CW080G3B5
SSDSA2CW080G310
SSDSA2BW080G3

120GB:
SSDSA2CW120G3B5
SSDSA2CW120G3K5
SSDSA2CW120G301
SSDSA2CW120G310

160GB:
SSDSA2CW160G3K5
SSDSA2CW160G3B5
SSDSA2BW160G3

300GB:
SSDSA2CW300G3K5
SSDSA2CW300G3B5
SSDSA2BW300G3

600GB:
SSDSA2CW600G3K5
SSDSA2CW600G301
SSDSA2CW600G3B5
SSDSA2CW600G310

this patch set RegExp for all this devices.

11 years agobuild-sys: modernize build system
Lennart Poettering [Sun, 20 May 2012 21:58:07 +0000 (23:58 +0200)]
build-sys: modernize build system

12 years agobuild-sys: fix distcheck
Lennart Poettering [Tue, 11 Oct 2011 22:27:15 +0000 (00:27 +0200)]
build-sys: fix distcheck

12 years agobuild-sys: prepare release 18
Lennart Poettering [Tue, 11 Oct 2011 22:21:23 +0000 (00:21 +0200)]
build-sys: prepare release 18

12 years agobuild-sys: rename bootstrap.sh to autogen.sh
Lennart Poettering [Tue, 11 Oct 2011 22:10:43 +0000 (00:10 +0200)]
build-sys: rename bootstrap.sh to autogen.sh

12 years agobuild-sys: updates to bootstrap.sh
Lennart Poettering [Tue, 11 Oct 2011 22:10:21 +0000 (00:10 +0200)]
build-sys: updates to bootstrap.sh

12 years agoatasmart: multiply by sector threshold by 1024 to avoid false positives
Lennart Poettering [Tue, 11 Oct 2011 21:53:59 +0000 (23:53 +0200)]
atasmart: multiply by sector threshold by 1024 to avoid false positives

https://bugs.freedesktop.org/show_bug.cgi?id=25772

12 years agoSpeed up get_overall() and get_bad()
Martin Pitt [Tue, 2 Mar 2010 08:58:59 +0000 (09:58 +0100)]
Speed up get_overall() and get_bad()

Instead of iterating through all attributes four times for an
sk_disk_smart_get_overall() call, just do it once and store the results in
SkDisk. This considerably speeds up libatasmart for common operations like
smart_get_overall() and smart_get_bad().

https://bugs.freedesktop.org/show_bug.cgi?id=26834

12 years agoatasmart: sector field can never be larger then 48 bits, so no point in comparing...
Lennart Poettering [Tue, 11 Oct 2011 21:29:10 +0000 (23:29 +0200)]
atasmart: sector field can never be larger then 48 bits, so no point in comparing with (uint64_t) -1

12 years agoatasmart: ignore sector count if it is -1
Lennart Poettering [Tue, 11 Oct 2011 21:25:58 +0000 (23:25 +0200)]
atasmart: ignore sector count if it is -1

https://bugs.freedesktop.org/show_bug.cgi?id=25021

13 years agoAdd quirk names
Wojciech Piekutowski [Tue, 12 Apr 2011 22:02:50 +0000 (00:02 +0200)]
Add quirk names

13 years agoTreat 'Media Wearout Indicator' as a percentage
Wojciech Piekutowski [Tue, 12 Apr 2011 21:55:29 +0000 (23:55 +0200)]
Treat 'Media Wearout Indicator' as a percentage

13 years agoDisable short time verification for Spin Up Time
Wojciech Piekutowski [Tue, 12 Apr 2011 21:54:14 +0000 (23:54 +0200)]
Disable short time verification for Spin Up Time

13 years agoComment on difference between SMALL_PERCENT and PERCENT attribute units
Wojciech Piekutowski [Tue, 12 Apr 2011 21:29:56 +0000 (23:29 +0200)]
Comment on difference between SMALL_PERCENT and PERCENT attribute units

13 years agoSupport Timed Workload Media Wear, Timed Workload Host Reads, Workload Timer
Wojciech Piekutowski [Tue, 12 Apr 2011 21:19:51 +0000 (23:19 +0200)]
Support Timed Workload Media Wear, Timed Workload Host Reads, Workload Timer

13 years agoSupport Program Fail Count and Erase Fail Count attributes
Wojciech Piekutowski [Tue, 12 Apr 2011 20:54:04 +0000 (22:54 +0200)]
Support Program Fail Count and Erase Fail Count attributes

13 years agoShow MB, GB or TB depending on the value
Wojciech Piekutowski [Tue, 12 Apr 2011 20:49:42 +0000 (22:49 +0200)]
Show MB, GB or TB depending on the value

13 years agoStart/Stop Count always shows 0 for Intel SSD G3
Wojciech Piekutowski [Tue, 12 Apr 2011 20:15:24 +0000 (22:15 +0200)]
Start/Stop Count always shows 0 for Intel SSD G3

13 years agoHandle duplicated Available Reserved Space
Wojciech Piekutowski [Mon, 11 Apr 2011 22:39:21 +0000 (00:39 +0200)]
Handle duplicated Available Reserved Space

13 years agoHandle duplicated Total LBAs Written
Wojciech Piekutowski [Mon, 11 Apr 2011 22:36:45 +0000 (00:36 +0200)]
Handle duplicated Total LBAs Written

13 years agoHandle Total LBAs Written and Total LBSa Read
Wojciech Piekutowski [Mon, 11 Apr 2011 22:21:39 +0000 (00:21 +0200)]
Handle Total LBAs Written and Total LBSa Read

13 years agoHandle Media Wearout Indicator
Wojciech Piekutowski [Mon, 11 Apr 2011 22:08:02 +0000 (00:08 +0200)]
Handle Media Wearout Indicator

13 years agoHandle Available Reserved Space
Wojciech Piekutowski [Mon, 11 Apr 2011 21:54:17 +0000 (23:54 +0200)]
Handle Available Reserved Space

13 years agoAdd INTEL SSD 320 120GB blob
Wojciech Piekutowski [Mon, 11 Apr 2011 21:28:55 +0000 (23:28 +0200)]
Add INTEL SSD 320 120GB blob

13 years agoDisplay endurance-remaining as percentage decreasing from 100 to 0
Wojciech Piekutowski [Mon, 11 Apr 2011 21:16:56 +0000 (23:16 +0200)]
Display endurance-remaining as percentage decreasing from 100 to 0

13 years agostrpool: initialize i->suffix_of to NULL
Gianluigi Tiesi [Tue, 5 Apr 2011 17:45:27 +0000 (19:45 +0200)]
strpool: initialize i->suffix_of to NULL

https://bugs.freedesktop.org/show_bug.cgi?id=28772

13 years agobuld-sys: simplify configure script; drop unused checks.
Diego Elio Pettenò [Tue, 8 Feb 2011 15:51:06 +0000 (16:51 +0100)]
buld-sys: simplify configure script; drop unused checks.

With this change, configure is updated to a more modern syntax, a number of
tests possibly introduced by autoscan are dropped (as the code never makes
use of those), and comments are changed with dnl's so that they are not
copied in the final output.

13 years agobuild-sys: use the same flags checking as PulseAudio.
Diego Elio Pettenò [Tue, 8 Feb 2011 15:47:16 +0000 (16:47 +0100)]
build-sys: use the same flags checking as PulseAudio.

This introduces the same attributes.m4 file used there and replaces the
custom checking code.

13 years agobuild-sys: make libatasmart easily cross-compilable
Diego Elio Pettenò [Tue, 8 Feb 2011 15:41:18 +0000 (16:41 +0100)]
build-sys: make libatasmart easily cross-compilable

Pick up the AX_CC_FOR_BUILD macro from autoconf-archive (improved, going to
be sent there soon), then use that one to find the host's compiler.

Build the strpool in a different directory, since you cannot override CC
and other variables on a per-target basis yet. While this adds recursivity
to the build system is the best hope you have to properly solve the
cross-compilation.

Update .gitignore accordingly to the above changes, and make sure
bootstrap.sh search macro files in the m4 directory.

13 years agobuild-sys: allow libatasmart headers to be installed somewhere else
Christoph Thompson [Wed, 10 Nov 2010 11:06:35 +0000 (12:06 +0100)]
build-sys: allow libatasmart headers to be installed somewhere else

Please find attached a small patch which allows installing the headers of
libatasmart in a subfolder (or anywhere else for that matter) for keeping
things tidy in there. This might be also useful if libatasmart gets ported
to a non-UNIX platform one of these days.

Have a nice day.

14 years agolibatasmart patch
Guy Taylor [Sun, 14 Feb 2010 21:54:25 +0000 (21:54 +0000)]
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

14 years agoblacklist another bridge
Lennart Poettering [Fri, 18 Dec 2009 11:45:17 +0000 (12:45 +0100)]
blacklist another bridge

http://bugs.freedesktop.org/show_bug.cgi?id=24951

14 years agofix return of uninitialized variable
David Zeuthen [Wed, 9 Dec 2009 22:14:36 +0000 (17:14 -0500)]
fix return of uninitialized variable

atasmart.c: In function ‘init_smart’:
 atasmart.c:2556: warning: ‘ret’ may be used uninitialized in this function

We apparently don't initialize the ret variable in init_smart() -
unfortunately

 o  this warning is never reported with using -O0 (thanks gcc -
    see http://gcc.gnu.org/wiki/Better_Uninitialized_Warnings though)

 o  we never run into this bug with just skdump(1)

The bug does show up in the udisks (aka DeviceKit-disks) use of
libatasmart and this patch fixes it.

http://bugs.freedesktop.org/show_bug.cgi?id=25543

14 years agomake init_smart() static
Lennart Poettering [Tue, 27 Oct 2009 21:57:26 +0000 (22:57 +0100)]
make init_smart() static

14 years agoDrop LIBUDEV_I_KNOW_THE_API_IS_SUBJECT_TO_CHANGE check that is not part of modern...
Michael Biebl [Tue, 27 Oct 2009 21:55:08 +0000 (22:55 +0100)]
Drop LIBUDEV_I_KNOW_THE_API_IS_SUBJECT_TO_CHANGE check that is not part of modern libudev anymore

14 years agoRestrict the list of exported symbols to sk_.*
Michael Biebl [Tue, 27 Oct 2009 21:53:50 +0000 (22:53 +0100)]
Restrict the list of exported symbols to sk_.*

Use libtools' -export-symbols-regex to restrict the list of exported
symbols so we not accidentally export symbols like init_smart

14 years agomore Apple SSD firmware versions are evil then originally thought
Lennart Poettering [Tue, 27 Oct 2009 20:58:35 +0000 (21:58 +0100)]
more Apple SSD firmware versions are evil then originally thought

14 years agofix name of a blob in Makefile.am
Lennart Poettering [Tue, 27 Oct 2009 02:28:06 +0000 (03:28 +0100)]
fix name of a blob in Makefile.am

14 years agobump version and release
Lennart Poettering [Tue, 27 Oct 2009 02:14:05 +0000 (03:14 +0100)]
bump version and release

14 years agoadd blob for laptop drive with failing Old-Age attribute
David Zeuthen [Sat, 24 Oct 2009 23:16:35 +0000 (19:16 -0400)]
add blob for laptop drive with failing Old-Age attribute

4 start-stop-count              1     1    20   252391      0xe7d903000000 old-age online  no   no

14 years agoadd missing blob to tarball
Lennart Poettering [Fri, 23 Oct 2009 22:44:14 +0000 (00:44 +0200)]
add missing blob to tarball

14 years agoadd another SSD blob
Lennart Poettering [Fri, 23 Oct 2009 22:43:48 +0000 (00:43 +0200)]
add another SSD blob

14 years agoIgnore attributes 5 and 190 on some Apple SSD
Lennart Poettering [Fri, 23 Oct 2009 22:38:42 +0000 (00:38 +0200)]
Ignore attributes 5 and 190 on some Apple SSD

http://bugs.freedesktop.org/show_bug.cgi?id=24700

14 years agoadd link to bz
Lennart Poettering [Fri, 23 Oct 2009 22:26:29 +0000 (00:26 +0200)]
add link to bz

14 years agocheck the right boolean when calculating blob size
Lennart Poettering [Fri, 23 Oct 2009 21:40:53 +0000 (23:40 +0200)]
check the right boolean when calculating blob size

14 years agodelay smart initialization until the first SMART call is done
Lennart Poettering [Fri, 23 Oct 2009 21:38:17 +0000 (23:38 +0200)]
delay smart initialization until the first SMART call is done

14 years agoadd another blob
Lennart Poettering [Sun, 18 Oct 2009 23:39:25 +0000 (01:39 +0200)]
add another blob

14 years agoblobs: add an interesting SAMSUNG SSD blob
Lennart Poettering [Tue, 29 Sep 2009 21:15:54 +0000 (23:15 +0200)]
blobs: add an interesting SAMSUNG SSD blob

Contributed by Tobias Wolf.

14 years agobuild-sys: bump release version and soname
Lennart Poettering [Tue, 29 Sep 2009 03:39:32 +0000 (05:39 +0200)]
build-sys: bump release version and soname

14 years agoblacklist: disable jmicron access mode for some more jmicron bridges
Lennart Poettering [Tue, 29 Sep 2009 03:36:11 +0000 (05:36 +0200)]
blacklist: disable jmicron access mode for some more jmicron bridges

This is a followup on:

https://bugzilla.redhat.com/show_bug.cgi?id=515881

14 years agobump release
Lennart Poettering [Fri, 18 Sep 2009 03:16:30 +0000 (05:16 +0200)]
bump release

14 years agovala: install .vapi file
Lennart Poettering [Fri, 18 Sep 2009 03:14:58 +0000 (05:14 +0200)]
vala: install .vapi file

14 years agovala: update vala API to newest C API
Lennart Poettering [Fri, 18 Sep 2009 03:10:38 +0000 (05:10 +0200)]
vala: update vala API to newest C API

14 years agoblacklist 152d:2329 jmicron usb bridges
Lennart Poettering [Thu, 17 Sep 2009 20:54:16 +0000 (22:54 +0200)]
blacklist 152d:2329 jmicron usb bridges

14 years agoinclude more blobs in tarball
Lennart Poettering [Wed, 19 Aug 2009 22:55:04 +0000 (00:55 +0200)]
include more blobs in tarball

14 years agoadd an interesting SSD blob
Lennart Poettering [Wed, 19 Aug 2009 22:52:12 +0000 (00:52 +0200)]
add an interesting SSD blob

14 years agoactivate automake silent rules
Lennart Poettering [Wed, 19 Aug 2009 22:51:49 +0000 (00:51 +0200)]
activate automake silent rules

14 years agosupport some ssd smart attrs
Lennart Poettering [Wed, 19 Aug 2009 22:51:13 +0000 (00:51 +0200)]
support some ssd smart attrs

14 years agobump req'd versions
Lennart Poettering [Thu, 6 Aug 2009 19:28:49 +0000 (21:28 +0200)]
bump req'd versions

14 years agoupdate configure.ac a bit
Lennart Poettering [Thu, 6 Aug 2009 19:26:24 +0000 (21:26 +0200)]
update configure.ac a bit

14 years agohighlight if smart status is bad
Lennart Poettering [Thu, 6 Aug 2009 19:23:04 +0000 (21:23 +0200)]
highlight if smart status is bad

14 years agofix parsing of power-on-minutes
Lennart Poettering [Thu, 6 Aug 2009 19:04:31 +0000 (21:04 +0200)]
fix parsing of power-on-minutes

14 years agoreplace space by underscore
Lennart Poettering [Thu, 6 Aug 2009 18:56:41 +0000 (20:56 +0200)]
replace space by underscore

14 years agoreplace space by underscore
Lennart Poettering [Thu, 6 Aug 2009 18:53:16 +0000 (20:53 +0200)]
replace space by underscore

14 years agoanother entry for our db
Lennart Poettering [Thu, 6 Aug 2009 18:43:10 +0000 (20:43 +0200)]
another entry for our db

14 years agoadd another entry to our little database
Lennart Poettering [Thu, 6 Aug 2009 18:40:55 +0000 (20:40 +0200)]
add another entry to our little database

14 years agoadd another entry to our little database
Lennart Poettering [Thu, 6 Aug 2009 18:40:46 +0000 (20:40 +0200)]
add another entry to our little database

14 years agobump soname due to ABI change
Lennart Poettering [Thu, 6 Aug 2009 18:39:56 +0000 (20:39 +0200)]
bump soname due to ABI change

14 years agorework lgoic that determines verdict of drive
Lennart Poettering [Thu, 6 Aug 2009 18:35:21 +0000 (20:35 +0200)]
rework lgoic that determines verdict of drive

Distuingish attributes that are failing now vs. failed in the past.

Add 'warn' field that is used to signal UIs to highlight certain
attributes.

Beef up the "overall status" logic a bit.

This breaks ABI. Depending on your client this might break API too.

14 years agorename failed to bad
Lennart Poettering [Thu, 6 Aug 2009 18:34:35 +0000 (20:34 +0200)]
rename failed to bad

14 years agoadd MHY2250B/0085000B to quirk db
Lennart Poettering [Wed, 5 Aug 2009 23:51:18 +0000 (01:51 +0200)]
add MHY2250B/0085000B to quirk db

https://bugzilla.redhat.com/show_bug.cgi?id=499265

14 years agoverify parsing of all attributes
Lennart Poettering [Wed, 5 Aug 2009 23:16:53 +0000 (01:16 +0200)]
verify parsing of all attributes

14 years agouse AC_USE_SYSTEM_EXTENSIONS instead of AC_GNU_SOURCE
Lennart Poettering [Wed, 5 Aug 2009 21:43:04 +0000 (23:43 +0200)]
use AC_USE_SYSTEM_EXTENSIONS instead of AC_GNU_SOURCE

14 years agofix url in configure.ac
Lennart Poettering [Wed, 5 Aug 2009 21:42:44 +0000 (23:42 +0200)]
fix url in configure.ac

14 years agoblacklist attribute 5 of an hitachi drive
Lennart Poettering [Wed, 5 Aug 2009 21:41:54 +0000 (23:41 +0200)]
blacklist attribute 5 of an hitachi drive

https://bugzilla.redhat.com/show_bug.cgi?id=506254

15 years agobuild-system: add missing blob to tarball
Lennart Poettering [Sun, 10 May 2009 16:07:45 +0000 (18:07 +0200)]
build-system: add missing blob to tarball

15 years agoAdd ACLOCAL_AMFLAGS = -I m4
Michael Biebl [Wed, 29 Apr 2009 22:10:12 +0000 (00:10 +0200)]
Add ACLOCAL_AMFLAGS = -I m4

As we already use AC_CONFIG_MACRO_DIR(m4), make sure to actually include
the m4 macros in the dist tarball.

15 years agoif the ID_ATA_SMART_ACCESS udev env var is set for a device read the access method...
Lennart Poettering [Thu, 7 May 2009 00:07:35 +0000 (02:07 +0200)]
if the ID_ATA_SMART_ACCESS udev env var is set for a device read the access method from it

15 years agoshow full device string when dumping status
Lennart Poettering [Thu, 7 May 2009 00:06:30 +0000 (02:06 +0200)]
show full device string when dumping status

15 years agoallow prefixing device strings with access methods
Lennart Poettering [Wed, 6 May 2009 22:50:51 +0000 (00:50 +0200)]
allow prefixing device strings with access methods

15 years agorename SK_DISK_TYPE_ATA to SK_DISK_TYPE_LINUX_IDE
Lennart Poettering [Wed, 6 May 2009 22:50:23 +0000 (00:50 +0200)]
rename SK_DISK_TYPE_ATA to SK_DISK_TYPE_LINUX_IDE

15 years agoblack list a few attributes on FUJITSU MHY2120BH/0085000B
Lennart Poettering [Wed, 6 May 2009 18:29:50 +0000 (20:29 +0200)]
black list a few attributes on FUJITSU MHY2120BH/0085000B

15 years agoadd a weird furjitsu drive to our db
Lennart Poettering [Wed, 6 May 2009 18:21:40 +0000 (20:21 +0200)]
add a weird furjitsu drive to our db

15 years agolook at lower 32 bit of current-pending-sector raw data only, similar to reallocated...
Lennart Poettering [Wed, 6 May 2009 18:21:12 +0000 (20:21 +0200)]
look at lower 32 bit of current-pending-sector raw data only, similar to reallocated-sector-count

15 years agoadd another sunplus bridge to the list of supported sunplus bridges
Lennart Poettering [Fri, 24 Apr 2009 18:58:56 +0000 (20:58 +0200)]
add another sunplus bridge to the list of supported sunplus bridges

15 years agoadd missing 'else'
Lennart Poettering [Fri, 24 Apr 2009 17:31:28 +0000 (19:31 +0200)]
add missing 'else'

15 years agoGet rid of qurik 9_UNKNOWN again
Lennart Poettering [Thu, 23 Apr 2009 22:52:02 +0000 (00:52 +0200)]
Get rid of qurik 9_UNKNOWN again

Apparently Seagate seems to use the MSB's of the raw data of the
power-on-time field for something else on some disks, so let's just look
at the lower 32bits of that field and we get a value that works on all
disks including those from Seagate. 32bit should be more than enough to
encode the power-on-time for almost all disks so this should not be much
of a limitation.

15 years agobump version and soname
Lennart Poettering [Wed, 22 Apr 2009 22:43:02 +0000 (00:43 +0200)]
bump version and soname

15 years agoadd more smart blobs
Lennart Poettering [Wed, 22 Apr 2009 22:36:44 +0000 (00:36 +0200)]
add more smart blobs

15 years agodocument that we are not just interested in bad but also in weird drive's smart data
Lennart Poettering [Wed, 22 Apr 2009 22:36:10 +0000 (00:36 +0200)]
document that we are not just interested in bad but also in weird drive's smart data

15 years agoSeagate's ST9160821AS drive encodes something strange in attribute 9
Lennart Poettering [Wed, 22 Apr 2009 22:30:19 +0000 (00:30 +0200)]
Seagate's ST9160821AS drive encodes something strange in attribute 9

Attribute 9 of ST9160821AS apparently is not the power on time in hours.
Since we have no idea what it is and how it is encoded this adds a quirk
to mark the attribute as 'unknown' for this drive.

See rhbz #497107.

15 years agodon't claim we would know what reallocated-event-count actually is
Lennart Poettering [Wed, 22 Apr 2009 22:28:54 +0000 (00:28 +0200)]
don't claim we would know what reallocated-event-count actually is

We don't reliably know what this actually is on many drives and since it
is redundant to reallocated-sectors-count it's no loss to admit that we
have no clue.

See rhbz #497107.

15 years agouse only uppermost 32 bits for reallocated-sectors-count attribute pretty value
Lennart Poettering [Wed, 22 Apr 2009 22:25:39 +0000 (00:25 +0200)]
use only uppermost 32 bits for reallocated-sectors-count attribute pretty value

This seems to fix the attribute for Fujitsu drives. And those 32 bit
should be enough to still encode bad sectors up to 2TB which should be
more than enough. Hence it is probably safe to ignore the remaing 16 bit
even on non-Fujitsu drives.

See rhbz #496087.