Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | libatasmart patch | Guy Taylor | 2010-02-17 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | 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 | ||||
* | blacklist another bridge | Lennart Poettering | 2009-12-18 | 1 | -4/+11 |
| | | | | http://bugs.freedesktop.org/show_bug.cgi?id=24951 | ||||
* | fix return of uninitialized variable | David Zeuthen | 2009-12-18 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | 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 | ||||
* | make init_smart() static | Lennart Poettering | 2009-10-27 | 1 | -2/+2 |
| | |||||
* | more Apple SSD firmware versions are evil then originally thought | Lennart Poettering | 2009-10-27 | 1 | -2/+3 |
| | |||||
* | Ignore attributes 5 and 190 on some Apple SSD | Lennart Poettering | 2009-10-24 | 1 | -0/+15 |
| | | | | http://bugs.freedesktop.org/show_bug.cgi?id=24700 | ||||
* | check the right boolean when calculating blob size | Lennart Poettering | 2009-10-23 | 1 | -1/+1 |
| | |||||
* | delay smart initialization until the first SMART call is done | Lennart Poettering | 2009-10-23 | 1 | -20/+48 |
| | |||||
* | blacklist: disable jmicron access mode for some more jmicron bridges | Lennart Poettering | 2009-09-29 | 1 | -7/+16 |
| | | | | | | This is a followup on: https://bugzilla.redhat.com/show_bug.cgi?id=515881 | ||||
* | blacklist 152d:2329 jmicron usb bridges | Lennart Poettering | 2009-09-17 | 1 | -3/+9 |
| | |||||
* | support some ssd smart attrs | Lennart Poettering | 2009-08-20 | 1 | -1/+10 |
| | |||||
* | highlight if smart status is bad | Lennart Poettering | 2009-08-06 | 1 | -3/+4 |
| | |||||
* | fix parsing of power-on-minutes | Lennart Poettering | 2009-08-06 | 1 | -2/+2 |
| | |||||
* | rework lgoic that determines verdict of drive | Lennart Poettering | 2009-08-06 | 1 | -32/+92 |
| | | | | | | | | | | | 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. | ||||
* | rename failed to bad | Lennart Poettering | 2009-08-06 | 1 | -6/+6 |
| | |||||
* | add MHY2250B/0085000B to quirk db | Lennart Poettering | 2009-08-06 | 1 | -1/+4 |
| | | | | https://bugzilla.redhat.com/show_bug.cgi?id=499265 | ||||
* | verify parsing of all attributes | Lennart Poettering | 2009-08-06 | 1 | -64/+128 |
| | |||||
* | blacklist attribute 5 of an hitachi drive | Lennart Poettering | 2009-08-05 | 1 | -13/+24 |
| | | | | https://bugzilla.redhat.com/show_bug.cgi?id=506254 | ||||
* | if the ID_ATA_SMART_ACCESS udev env var is set for a device read the access ↵ | Lennart Poettering | 2009-05-07 | 1 | -0/+22 |
| | | | | method from it | ||||
* | show full device string when dumping status | Lennart Poettering | 2009-05-07 | 1 | -1/+3 |
| | |||||
* | allow prefixing device strings with access methods | Lennart Poettering | 2009-05-07 | 1 | -17/+77 |
| | |||||
* | rename SK_DISK_TYPE_ATA to SK_DISK_TYPE_LINUX_IDE | Lennart Poettering | 2009-05-07 | 1 | -6/+6 |
| | |||||
* | black list a few attributes on FUJITSU MHY2120BH/0085000B | Lennart Poettering | 2009-05-06 | 1 | -2/+27 |
| | |||||
* | look at lower 32 bit of current-pending-sector raw data only, similar to ↵ | Lennart Poettering | 2009-05-06 | 1 | -1/+2 |
| | | | | reallocated-sector-count | ||||
* | add another sunplus bridge to the list of supported sunplus bridges | Lennart Poettering | 2009-04-24 | 1 | -1/+2 |
| | |||||
* | add missing 'else' | Lennart Poettering | 2009-04-24 | 1 | -1/+1 |
| | |||||
* | Get rid of qurik 9_UNKNOWN again | Lennart Poettering | 2009-04-24 | 1 | -12/+3 |
| | | | | | | | | | 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. | ||||
* | Seagate's ST9160821AS drive encodes something strange in attribute 9 | Lennart Poettering | 2009-04-23 | 1 | -1/+10 |
| | | | | | | | | 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. | ||||
* | don't claim we would know what reallocated-event-count actually is | Lennart Poettering | 2009-04-23 | 1 | -3/+2 |
| | | | | | | | | 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. | ||||
* | use only uppermost 32 bits for reallocated-sectors-count attribute pretty value | Lennart Poettering | 2009-04-23 | 1 | -0/+2 |
| | | | | | | | | | 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. | ||||
* | Support for JMicron ATA/USB bridges | Lennart Poettering | 2009-04-22 | 1 | -13/+144 |
| | |||||
* | don't look for reallocated-sector-count since some vendors seem to encode ↵ | Lennart Poettering | 2009-04-15 | 1 | -2/+1 |
| | | | | this differently than others | ||||
* | only use 'prefail' attributes for overall status | Lennart Poettering | 2009-04-15 | 1 | -1/+1 |
| | |||||
* | when dumping status print message when SMART is not supported | Lennart Poettering | 2009-04-14 | 1 | -1/+2 |
| | |||||
* | when dealing with unknown block device type don't confuse with sunplus device | Lennart Poettering | 2009-04-14 | 1 | -1/+10 |
| | |||||
* | don't depend on udev's ID_BUS variable when figuring out device type | Lennart Poettering | 2009-04-14 | 1 | -37/+25 |
| | |||||
* | initialize cmd data before passing it to the scsi ioctls | Lennart Poettering | 2009-04-14 | 1 | -0/+2 |
| | |||||
* | add new API sk_disk_smart_get_power_cycle() | Lennart Poettering | 2009-04-14 | 1 | -4/+48 |
| | |||||
* | do a basic all-NUL check for the identify data before accepting it is valid | Lennart Poettering | 2009-04-12 | 1 | -0/+14 |
| | |||||
* | revamp blob serialization and include smart status field | Lennart Poettering | 2009-04-10 | 1 | -65/+249 |
| | |||||
* | minor cleanup | Lennart Poettering | 2009-04-09 | 1 | -3/+2 |
| | |||||
* | deal with ATA/USB truncation | Lennart Poettering | 2009-04-09 | 1 | -2/+4 |
| | |||||
* | add support for sunplus usb/ata bridges | Lennart Poettering | 2009-04-09 | 1 | -20/+170 |
| | |||||
* | use O_NONBLOCK mode when opening device | Lennart Poettering | 2009-04-07 | 1 | -1/+7 |
| | |||||
* | fix parsing of awake status | Lennart Poettering | 2009-04-07 | 1 | -1/+3 |
| | |||||
* | make sure we don't choke on attribute id 255 | Lennart Poettering | 2009-04-05 | 1 | -1/+1 |
| | |||||
* | define type string for 'unknown' | Lennart Poettering | 2009-04-05 | 1 | -2/+2 |
| | |||||
* | remove | chars that are too much from regexp | Lennart Poettering | 2009-04-03 | 1 | -2/+2 |
| | |||||
* | fix parsing of power-on-minutes | Lennart Poettering | 2009-04-03 | 1 | -1/+1 |
| | |||||
* | open the disk device in O_RDONLY, let's see how compatible that is | Lennart Poettering | 2009-04-03 | 1 | -1/+1 |
| |