Opened 13 years ago

Closed 9 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 9 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 by Christian Franke, 9 years ago

Milestone: unscheduled

by Thomas Gatterweh, 9 years ago

comment:2 by Thomas Gatterweh, 9 years ago

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 by Christian Franke, 9 years ago

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

Patch looks good, thanks.

comment:4 by Christian Franke, 9 years ago

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

comment:5 by Christian Franke, 9 years ago

Resolution: fixed
Status: acceptedclosed

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

Note: See TracTickets for help on using tickets.