platform/upstream/libatasmart.git
15 years agobump version and soname
Lennart Poettering [Fri, 10 Apr 2009 03:26:21 +0000 (05:26 +0200)]
bump version and soname

15 years agoupdate SAMSUNG HD501LJ--CR100-12 for new blob format
Lennart Poettering [Fri, 10 Apr 2009 03:24:11 +0000 (05:24 +0200)]
update SAMSUNG HD501LJ--CR100-12 for new blob format

15 years agoMerge branch 'master' of ssh://rootserver/home/lennart/git/public/libatasmart
Lennart Poettering [Fri, 10 Apr 2009 03:21:15 +0000 (05:21 +0200)]
Merge branch 'master' of ssh://rootserver/home/lennart/git/public/libatasmart

15 years agoupdate Maxtor 96147H8--BAC51KJ0 for new blob format
Lennart Poettering [Fri, 10 Apr 2009 03:21:05 +0000 (05:21 +0200)]
update Maxtor 96147H8--BAC51KJ0 for new blob format

15 years agoupdate ST320410A--3.39 for new blob format
Lennart Poettering [Fri, 10 Apr 2009 03:18:19 +0000 (05:18 +0200)]
update ST320410A--3.39 for new blob format

15 years agorevamp blob serialization and include smart status field
Lennart Poettering [Fri, 10 Apr 2009 03:16:11 +0000 (05:16 +0200)]
revamp blob serialization and include smart status field

15 years agohide more files
Lennart Poettering [Fri, 10 Apr 2009 03:15:51 +0000 (05:15 +0200)]
hide more files

15 years agodocument that when we extend the enums we don't consider that abi breakage
Lennart Poettering [Fri, 10 Apr 2009 03:13:29 +0000 (05:13 +0200)]
document that when we extend the enums we don't consider that abi breakage

15 years agominor cleanup
Lennart Poettering [Thu, 9 Apr 2009 19:19:51 +0000 (21:19 +0200)]
minor cleanup

15 years agodeal with ATA/USB truncation
Lennart Poettering [Thu, 9 Apr 2009 01:35:03 +0000 (03:35 +0200)]
deal with ATA/USB truncation

15 years agoadd support for sunplus usb/ata bridges
Lennart Poettering [Thu, 9 Apr 2009 00:26:07 +0000 (02:26 +0200)]
add support for sunplus usb/ata bridges

15 years agobump soname and version
Lennart Poettering [Tue, 7 Apr 2009 19:41:33 +0000 (21:41 +0200)]
bump soname and version

15 years agouse O_NONBLOCK mode when opening device
Lennart Poettering [Tue, 7 Apr 2009 19:39:37 +0000 (21:39 +0200)]
use O_NONBLOCK mode when opening device

15 years agofix parsing of awake status
Lennart Poettering [Tue, 7 Apr 2009 19:38:40 +0000 (21:38 +0200)]
fix parsing of awake status

15 years agoadd blobs for two failing disks
David Zeuthen [Tue, 7 Apr 2009 13:36:15 +0000 (09:36 -0400)]
add blobs for two failing disks

WDC WD5000AAKS-00TMA0--12.01C01 has bad sectors

 5 reallocated-sector-count    192   192   140   63 sectors  0x3f0000000000 prefail online  no
196 reallocated-event-count     137   137     0   63 sectors  0x3f0000000000 old-age online  no
197 current-pending-sector      194   193     0   529 sectors 0x110200000000 old-age online  no

WDC WD2500JB-00REA0-20.00K20 has a single bad sector and also report
problems with spin-up time

  3 spin-up-time                198     1    21   5.1 s       0xe31300000000 prefail online  no
197 current-pending-sector      200   200     0   1 sectors   0x010000000000 old-age online  no

15 years agobump version and soname
Lennart Poettering [Sun, 5 Apr 2009 16:55:14 +0000 (18:55 +0200)]
bump version and soname

15 years agomake sure we don't choke on attribute id 255
Lennart Poettering [Sun, 5 Apr 2009 16:51:50 +0000 (18:51 +0200)]
make sure we don't choke on attribute id 255

15 years agoadd another bad drive smart blob
Lennart Poettering [Sun, 5 Apr 2009 16:45:14 +0000 (18:45 +0200)]
add another bad drive smart blob

15 years agofix typo
Lennart Poettering [Sun, 5 Apr 2009 16:39:33 +0000 (18:39 +0200)]
fix typo

15 years agoadd another bad driver SMART blob
Lennart Poettering [Sun, 5 Apr 2009 16:39:08 +0000 (18:39 +0200)]
add another bad driver SMART blob

15 years agoinclude a few bad smart blobs for testing purposes
Lennart Poettering [Sun, 5 Apr 2009 16:35:36 +0000 (18:35 +0200)]
include a few bad smart blobs for testing purposes

15 years agoupdate --help text
Lennart Poettering [Sun, 5 Apr 2009 16:33:30 +0000 (18:33 +0200)]
update --help text

15 years agodefine type string for 'unknown'
Lennart Poettering [Sun, 5 Apr 2009 16:30:39 +0000 (18:30 +0200)]
define type string for 'unknown'

15 years agobump revision and soname
Lennart Poettering [Fri, 3 Apr 2009 17:42:44 +0000 (19:42 +0200)]
bump revision and soname

15 years agoremove | chars that are too much from regexp
Lennart Poettering [Fri, 3 Apr 2009 17:23:42 +0000 (19:23 +0200)]
remove | chars that are too much from regexp

15 years agofix parsing of power-on-minutes
Lennart Poettering [Fri, 3 Apr 2009 17:23:20 +0000 (19:23 +0200)]
fix parsing of power-on-minutes

15 years agoopen the disk device in O_RDONLY, let's see how compatible that is
Lennart Poettering [Fri, 3 Apr 2009 17:02:03 +0000 (19:02 +0200)]
open the disk device in O_RDONLY, let's see how compatible that is

15 years agomake sure the blob data is packed. it's certainly packed anyway, but let's better...
Lennart Poettering [Fri, 3 Apr 2009 16:46:53 +0000 (18:46 +0200)]
make sure the blob data is packed. it's certainly packed anyway, but let's better be safe than sorry

15 years agobump revision and soname
Lennart Poettering [Thu, 2 Apr 2009 21:45:34 +0000 (23:45 +0200)]
bump revision and soname

15 years agobeef up skdump to be able to load/save blobs
Lennart Poettering [Thu, 2 Apr 2009 21:44:56 +0000 (23:44 +0200)]
beef up skdump to be able to load/save blobs

15 years agoadd functions to save/load smart data blobs directly
Lennart Poettering [Thu, 2 Apr 2009 21:44:25 +0000 (23:44 +0200)]
add functions to save/load smart data blobs directly

15 years agobump revision for 0.3
Lennart Poettering [Tue, 24 Mar 2009 00:56:11 +0000 (01:56 +0100)]
bump revision for 0.3

15 years agocopy in new quirk table from smartmontools
Lennart Poettering [Tue, 24 Mar 2009 00:51:02 +0000 (01:51 +0100)]
copy in new quirk table from smartmontools

15 years agobump revision
Lennart Poettering [Thu, 19 Mar 2009 00:20:54 +0000 (01:20 +0100)]
bump revision

15 years agoupdate .gitignore
Lennart Poettering [Thu, 19 Mar 2009 00:19:42 +0000 (01:19 +0100)]
update .gitignore

15 years agohandle the good status of bad sector attributes especially
Lennart Poettering [Thu, 19 Mar 2009 00:19:21 +0000 (01:19 +0100)]
handle the good status of bad sector attributes especially

15 years agodrop -1 suffix from attribute names to make things more future-proof
Lennart Poettering [Thu, 19 Mar 2009 00:12:40 +0000 (01:12 +0100)]
drop -1 suffix from attribute names to make things more future-proof

15 years agoadd new API sk_disk_smart_get_overall()
Lennart Poettering [Thu, 19 Mar 2009 00:10:43 +0000 (01:10 +0100)]
add new API sk_disk_smart_get_overall()

15 years agoadd high-level sk_disk_smart_get_{power_on, temperature, bad}() calls
Lennart Poettering [Wed, 18 Mar 2009 23:37:38 +0000 (00:37 +0100)]
add high-level sk_disk_smart_get_{power_on, temperature, bad}() calls

15 years agofix a few typos
Lennart Poettering [Wed, 18 Mar 2009 23:37:08 +0000 (00:37 +0100)]
fix a few typos

15 years agouse top_builddir instead of builddir
Lennart Poettering [Wed, 18 Mar 2009 20:24:41 +0000 (21:24 +0100)]
use top_builddir instead of builddir

15 years agodump access mode
Lennart Poettering [Wed, 18 Mar 2009 20:10:03 +0000 (21:10 +0100)]
dump access mode

15 years ago12-byte SAT support for libatasmart
Matthew Garrett [Mon, 16 Mar 2009 19:00:37 +0000 (19:00 +0000)]
12-byte SAT support for libatasmart

Hi Lennart,

My USB enclosure (a Maxtor basics of some description) supports SAT, but
only the 12-byte version. I've included a patch that implements it.
RIght now it tries the 16 byte one and then falls back, which is
possibly not ideal - there's a significant pause before the 16 byte one
finishes and the 12 byte one is tried. I'd reverse the order, but I've
no idea if that would confuse other devices. Are we able to check for
which commands the firmware claims to support?

Signed-off-by: Lennart Poettering <lennart@poettering.net>
15 years agoexplicitly require am 1.9
Lennart Poettering [Mon, 28 Jul 2008 18:33:38 +0000 (20:33 +0200)]
explicitly require am 1.9

16 years agomove utilities to sbin
Lennart Poettering [Fri, 25 Jul 2008 20:18:03 +0000 (22:18 +0200)]
move utilities to sbin

16 years agoremove atasmart.strpool.c during build
Lennart Poettering [Fri, 25 Jul 2008 20:17:43 +0000 (22:17 +0200)]
remove atasmart.strpool.c during build

16 years agoset version info from configure script
Lennart Poettering [Fri, 25 Jul 2008 20:05:01 +0000 (22:05 +0200)]
set version info from configure script

16 years agofix c compiler checks
Lennart Poettering [Fri, 25 Jul 2008 20:03:29 +0000 (22:03 +0200)]
fix c compiler checks

16 years agoremove sptest
Lennart Poettering [Fri, 25 Jul 2008 19:57:12 +0000 (21:57 +0200)]
remove sptest

16 years agoignore atasmart.strpool.c
Lennart Poettering [Fri, 25 Jul 2008 19:56:29 +0000 (21:56 +0200)]
ignore atasmart.strpool.c

16 years agofix space dropping algorithm
Lennart Poettering [Fri, 25 Jul 2008 19:55:16 +0000 (21:55 +0200)]
fix space dropping algorithm

16 years agoadd missing strpool lookup
Lennart Poettering [Fri, 25 Jul 2008 19:33:38 +0000 (21:33 +0200)]
add missing strpool lookup

16 years agoignore strpool
Lennart Poettering [Fri, 25 Jul 2008 19:22:49 +0000 (21:22 +0200)]
ignore strpool

16 years agoadd more complete quirk framework
Lennart Poettering [Fri, 25 Jul 2008 19:22:18 +0000 (21:22 +0200)]
add more complete quirk framework

16 years agooffset all strpool entries by one to avoid clashes with NULL
Lennart Poettering [Fri, 25 Jul 2008 19:21:46 +0000 (21:21 +0200)]
offset all strpool entries by one to avoid clashes with NULL

16 years agofix indenting an latency
Lennart Poettering [Sat, 19 Jul 2008 20:10:03 +0000 (22:10 +0200)]
fix indenting an latency

16 years agostrinpoolize even more tables
Lennart Poettering [Sat, 19 Jul 2008 19:53:30 +0000 (21:53 +0200)]
strinpoolize even more tables

16 years agoinitialize sense data to make valgrind shut up
Lennart Poettering [Sat, 19 Jul 2008 19:53:06 +0000 (21:53 +0200)]
initialize sense data to make valgrind shut up

16 years agoactually use strpool for the atasmart sources
Lennart Poettering [Sat, 19 Jul 2008 19:22:12 +0000 (21:22 +0200)]
actually use strpool for the atasmart sources

16 years agofix write file logic
Lennart Poettering [Sat, 19 Jul 2008 19:21:37 +0000 (21:21 +0200)]
fix write file logic

16 years agoredirect gcc output to the proper original lines
Lennart Poettering [Sat, 19 Jul 2008 19:21:15 +0000 (21:21 +0200)]
redirect gcc output to the proper original lines

16 years agoremove casting warning
Lennart Poettering [Sat, 19 Jul 2008 19:20:53 +0000 (21:20 +0200)]
remove casting warning

16 years agomake strpool error output a bit more useful
Lennart Poettering [Sat, 19 Jul 2008 19:20:07 +0000 (21:20 +0200)]
make strpool error output a bit more useful

16 years agofix order strpool decorators
Lennart Poettering [Sat, 19 Jul 2008 19:19:16 +0000 (21:19 +0200)]
fix order strpool decorators

16 years agoadd a simple string pool generator
Lennart Poettering [Thu, 3 Jul 2008 20:46:19 +0000 (22:46 +0200)]
add a simple string pool generator

16 years agomake a few attribute names actually unique
Lennart Poettering [Thu, 3 Jul 2008 20:44:04 +0000 (22:44 +0200)]
make a few attribute names actually unique

16 years agoinclude raw attribute data
Lennart Poettering [Wed, 2 Jul 2008 15:45:20 +0000 (17:45 +0200)]
include raw attribute data

16 years agohighlight lines only when good_valid is set
Lennart Poettering [Wed, 2 Jul 2008 15:40:33 +0000 (17:40 +0200)]
highlight lines only when good_valid is set

16 years agocheck for threshold/value validity
Lennart Poettering [Wed, 2 Jul 2008 15:22:03 +0000 (17:22 +0200)]
check for threshold/value validity

16 years agofix definition of SkBool, so that assigning 1 to an SkBool:1 bitfield doesn't cause...
Lennart Poettering [Wed, 2 Jul 2008 15:21:26 +0000 (17:21 +0200)]
fix definition of SkBool, so that assigning 1 to an SkBool:1 bitfield doesn't cause a compiler warning

16 years agoadd C++ headers
Lennart Poettering [Wed, 2 Jul 2008 00:57:19 +0000 (02:57 +0200)]
add C++ headers

16 years agofix double inclusion macro name
Lennart Poettering [Tue, 1 Jul 2008 22:19:47 +0000 (00:19 +0200)]
fix double inclusion macro name

16 years agoinstall header file
Lennart Poettering [Tue, 1 Jul 2008 19:18:55 +0000 (21:18 +0200)]
install header file

16 years agoand yet another README fix
Lennart Poettering [Tue, 1 Jul 2008 19:05:33 +0000 (21:05 +0200)]
and yet another README fix

16 years agoyet another README fix
Lennart Poettering [Tue, 1 Jul 2008 19:05:06 +0000 (21:05 +0200)]
yet another README fix

16 years agoanother README fix
Lennart Poettering [Tue, 1 Jul 2008 19:02:23 +0000 (21:02 +0200)]
another README fix

16 years agohide .tar.gz files
Lennart Poettering [Tue, 1 Jul 2008 19:00:58 +0000 (21:00 +0200)]
hide .tar.gz files

16 years agofix a few things in the README
Lennart Poettering [Tue, 1 Jul 2008 19:00:33 +0000 (21:00 +0200)]
fix a few things in the README

16 years agoadd license text and README
Lennart Poettering [Tue, 1 Jul 2008 18:57:30 +0000 (20:57 +0200)]
add license text and README

16 years agoremove minor whitespace
Lennart Poettering [Tue, 1 Jul 2008 18:37:32 +0000 (20:37 +0200)]
remove minor whitespace

16 years agoautoconfization
Lennart Poettering [Tue, 1 Jul 2008 18:34:18 +0000 (20:34 +0200)]
autoconfization

16 years agofix copyright blurb
Lennart Poettering [Tue, 1 Jul 2008 18:11:17 +0000 (20:11 +0200)]
fix copyright blurb

16 years agofixup vapi header
Lennart Poettering [Tue, 1 Jul 2008 18:10:20 +0000 (20:10 +0200)]
fixup vapi header

16 years agorename smart.vapi to atasmart.vapi
Lennart Poettering [Tue, 1 Jul 2008 18:09:36 +0000 (20:09 +0200)]
rename smart.vapi to atasmart.vapi

16 years agofixup #includes
Lennart Poettering [Tue, 1 Jul 2008 18:08:55 +0000 (20:08 +0200)]
fixup #includes

16 years agorename smart.[ch] to atasmart.[ch]
Lennart Poettering [Tue, 1 Jul 2008 18:07:56 +0000 (20:07 +0200)]
rename smart.[ch] to atasmart.[ch]

16 years agoremove SmartKit code and UI code
Lennart Poettering [Tue, 1 Jul 2008 18:05:21 +0000 (20:05 +0200)]
remove SmartKit code and UI code

16 years agolots of updates
Lennart Poettering [Tue, 1 Jul 2008 16:57:23 +0000 (18:57 +0200)]
lots of updates

16 years agofix fail path
Lennart Poettering [Tue, 1 Jul 2008 11:46:40 +0000 (13:46 +0200)]
fix fail path

16 years agodon't depend on glib anymore, we don't really use any of its features anyway
Lennart Poettering [Tue, 1 Jul 2008 11:44:56 +0000 (13:44 +0200)]
don't depend on glib anymore, we don't really use any of its features anyway

16 years agouse millikelvin as unit, instead of kelvin for temperatures
Lennart Poettering [Tue, 1 Jul 2008 11:19:41 +0000 (13:19 +0200)]
use millikelvin as unit, instead of kelvin for temperatures

16 years agoadd D-Bus config file
Lennart Poettering [Mon, 30 Jun 2008 23:08:24 +0000 (01:08 +0200)]
add D-Bus config file

16 years agoadd attributes to D-Bus tree
Lennart Poettering [Mon, 30 Jun 2008 23:07:32 +0000 (01:07 +0200)]
add attributes to D-Bus tree

16 years agoadd new message
Lennart Poettering [Mon, 30 Jun 2008 23:07:05 +0000 (01:07 +0200)]
add new message

16 years agofix a few wrappings
Lennart Poettering [Mon, 30 Jun 2008 23:06:32 +0000 (01:06 +0200)]
fix a few wrappings

16 years agoadd basic self test support to g-d-h
Lennart Poettering [Mon, 30 Jun 2008 22:03:01 +0000 (00:03 +0200)]
add basic self test support to g-d-h

16 years agofix typo
Lennart Poettering [Mon, 30 Jun 2008 22:02:36 +0000 (00:02 +0200)]
fix typo

16 years agocompletely wrap non-attribute functions in D-Bus
Lennart Poettering [Mon, 30 Jun 2008 21:24:50 +0000 (23:24 +0200)]
completely wrap non-attribute functions in D-Bus

16 years agoadd missing API functions to vala API
Lennart Poettering [Mon, 30 Jun 2008 21:24:22 +0000 (23:24 +0200)]
add missing API functions to vala API

16 years agorename a few parameters to make them more readable
Lennart Poettering [Mon, 30 Jun 2008 21:24:00 +0000 (23:24 +0200)]
rename a few parameters to make them more readable