https://bugs.kde.org/show_bug.cgi?id=270808

--- Comment #53 from Michael Heidelbach <ottw...@gmail.com> ---
(In reply to Christoph Feck from comment #52)
> I use 'hdparm -y' to spin down the external SATA disk. This command needs
> root privileges, so I am wondering whether (or how) Solid could do it
> without root access.

$ udisksctl power-off -b ...
can do for unpriviledged users.

$ dbus --system org.freedesktop.UDisks2
/org/freedesktop/UDisks2/drives/TOSHIBA_MQ01UBD100_44K3TR2HT
void org.freedesktop.UDisks2.Drive.PowerOff(QVariantMap options)

also looks promising.
Couldn't use it with qdbus due to (QVariantMap options)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to