! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Port to udisks2
Status:
RESOLVED: WONTFIX
Severity:
enhancement
Product:
Xfce4-power-manager
Component:
General

Comments

Description Olof Kindgren 2012-09-21 23:49:13 CEST
udisks1 seems to be deprecated in favor of udisks2.

xfce4-power-manager uses udisks for spinning down disks with Drive(un)SetAllSpindownTimeouts after asking for permissions with policykit from org.freedesktop.udisks.drive-set-spindown

This should be replace with the udisks2 equivalents
Comment 1 Samuli Suominen 2012-11-04 15:05:02 CET
+1, last UDisks1 release was over year ago and git branch is nearly dead too. 

Final UDisks2 is out and this is the only component in Xfce requiring the old version.
Comment 2 Samuli Suominen 2013-03-30 21:19:41 CET
(In reply to comment #0)
> This should be replace with the udisks2 equivalents

(latest) gnome-disk-utility should have spindown support to look example from:

https://git.gnome.org/browse/gnome-disk-utility/
http://ftp.gnome.org/pub/gnome/sources/gnome-disk-utility/

likely related too for conversion:

http://udisks.freedesktop.org/docs/latest/gdbus-org.freedesktop.UDisks2.Drive.html#gdbus-property-org-freedesktop-UDisks2-Drive.Configuration

it's the apm settings that control spindown

(thanks to people in #systemd for hinting to right direction)
Comment 3 Pablo Lezaeta 2013-06-17 07:39:27 CEST
yes, as 2013-jun this is the only package that I have that requiere explicity udisks1

in fact e17 , udiskie, libfm and THIS are the only ones that explicity need udisks1 in my distro

what is the status of this feature request actually??
Comment 4 coyote 2014-06-24 19:50:26 CEST
Is it fixed?
Comment 5 Samuli Suominen 2014-06-24 20:29:23 CEST
From xfce4-power-manager-1.3.0:

$ grep -r -i udisks *
README: - UDisks 1.0.0 or above (optional).
src/xfpm-disks.c: action_id = "org.freedesktop.udisks.drive-set-spindown";
src/xfpm-disks.c: "org.freedesktop.UDisks",
src/xfpm-disks.c: "/org/freedesktop/UDisks",
src/xfpm-disks.c: "org.freedesktop.UDisks");

No, it's not fixed. Still using UDisks1 instead of UDisks2 for spinning down the disks. Been the only package using UDisks1 on my system for past ~2 years.
Comment 6 Simon Steinbeiss editbugs 2014-09-01 09:45:18 CEST
We've removed the spin-down feature from xfpm, so this won't be fixed.

Bug #9325

Reported by:
Olof Kindgren
Reported on: 2012-09-21
Last modified on: 2014-09-01

People

Assignee:
Ali Abdallah
CC List:
6 users

Version

Version:
Unspecified

Attachments

Additional information