Opened 12 years ago

Closed 7 years ago

#184 closed enhancement (fixed)

Support new ATA POWER MODE values

Reported by: Christian Franke Owned by: Christian Franke
Priority: minor Milestone: Release 6.5
Component: all Version: 5.41
Keywords: ata Cc:

Description

ATA ACS-2 introduces new return values of CHECK POWER MODE command:
0x01, 0x40, 0x41, 0x81, 0x82, 0x83

Attachments (1)

check_power_status_result.patch (3.6 KB) - added by Thomas Gatterweh 7 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 8 years ago by Christian Franke

Milestone: unscheduled

Changed 7 years ago by Thomas Gatterweh

comment:2 Changed 7 years ago by Thomas Gatterweh

Added support for new ATA power mode values with the attached patch.

Also, with the availability of more mode values, the log message “is in XXX mode, suspending checks” is now repeated when the mode changes. That way the information in the log is up-to-date, and correctly represents the last mode seen.

comment:3 Changed 7 years ago by Christian Franke

Milestone: unscheduledRelease 6.5
Owner: changed from somebody to Christian Franke
Status: newaccepted

Patch looks good, thanks.

comment:4 Changed 7 years ago by Christian Franke

Patch applied in r4255 with minor edits (trailing whitespace, indentation, excess long line).

comment:5 Changed 7 years ago by Christian Franke

Resolution: fixed
Status: acceptedclosed

Fixed in r4255 (smartd) and r4256 (smartctl). Refactoring left for later.

Note: See TracTickets for help on using tickets.