Check the kernel runtime pm status to see if a drive is sleeping
before attempting the ata CHECK POWER command.
---
src/udiskslinuxdriveata.c | 30 ++
1 file changed, 30 insertions(+)
diff --git a/src/udiskslinuxdriveata.c b/src/udiskslinuxdriveata.c
index 1575b3d..6d4
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
---
src/udiskslinuxdriveata.c | 6 +++---
1 file changed, 3 insertions(+),