-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ping... it has been a few months and this is a feature crippling, yet very simple error.
On 11/15/2013 3:29 PM, Phillip Susi wrote: > The configuration setting for standby time was being sent to the > drive with the IDLE command, setting the IDLE timer instead of the > STANDBY timer. Use the right command to set the right timer. > > Signed-off-by: Phillip Susi <ps...@ubuntu.com> --- > src/udiskslinuxdriveata.c | 6 +++--- 1 file changed, 3 > insertions(+), 3 deletions(-) > > diff --git a/src/udiskslinuxdriveata.c b/src/udiskslinuxdriveata.c > index 9d8ce1c..f07a04c 100644 --- a/src/udiskslinuxdriveata.c +++ > b/src/udiskslinuxdriveata.c @@ -1647,8 +1647,8 @@ > apply_configuration_thread_func (gpointer user_data) > > if (data->ata_pm_standby != -1) { - /* ATA8: 7.18 IDLE - E3h, > Non-Data */ - UDisksAtaCommandInput input = {.command = 0xe3, > .count = data->ata_pm_standby}; + /* ATA8: 7.18 STANDBY - E2h, > Non-Data */ + UDisksAtaCommandInput input = {.command = 0xe2, > .count = data->ata_pm_standby}; UDisksAtaCommandOutput output = > {0}; if (!udisks_ata_send_command_sync (fd, -1, @@ -1657,7 +1657,7 > @@ apply_configuration_thread_func (gpointer user_data) &output, > &error)) { - udisks_error ("Error sending ATA command IDLE > (timeout=%d) to %s: %s (%s, %d)", + udisks_error ("Error > sending ATA command STANDBY (timeout=%d) to %s: %s (%s, %d)", > data->ata_pm_standby, device_file, error->message, > g_quark_to_string (error->domain), error->code); g_clear_error > (&error); > -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJTA3ZpAAoJEI5FoCIzSKrw1MEIAJ+LsTeVoMO6iVVL4CBpSwSA 6Ugx0RxmPYiGMU5Azr5zXUW7Mt2T/mlrDruM0BPx7ELmA7c+xKdHIHhQyYurhkjV +9n8lMPo0Qqbh9wu1Y49DIbyK74NSA3s3YUea7eitx9Cy7EkNqeQ5EWscoENl5nv bu0KBJgpnYSTy8uNMXSk91BUUhTUX5FKr4xasn55vvsqtDted/LRib3dxlXNoyeL ukiV8niQdt6XI8F6aOxZiRK7becMneK6/JetiWtEEE+mpZ9n6TdS2BiL5mVwcwqX 2SdN3GB2ojpl5gyzfehznmzY+dtKfmFX8MJfQOZixJkaffVXOfrbUtizUp9wYXo= =59kv -----END PGP SIGNATURE----- _______________________________________________ devkit-devel mailing list devkit-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/devkit-devel