[Desktop-packages] [Bug 1239087]

2014-01-24 Thread Zeuthen
The reason that $ udisks --detach /dev/sdX spins down the disk properly but clicking the "Power off" menu item in the GNOME Disks application doesn't has to do with the fact that the udisks program is from udisks version 1 and was rewritten in udisks version 2. udisks v1: http://cgit.freedeskto

[Desktop-packages] [Bug 1239087]

2014-01-30 Thread Zeuthen
OK, I just made that change http://cgit.freedesktop.org/udisks/commit/?id=fcdd8f48b6ac9b1b6da82fdf5f59230fc2ea6feb and tested it with a couple of different units. Notes - One of my devices (bus-powered) does not accept the START STOP UNIT command so we just continue if it fails. That is, thi

[Desktop-packages] [Bug 1239087]

2014-01-30 Thread Zeuthen
> command “sg_start --stop /dev/sdX” really spin-downs my drive (sometimes > on 2nd or 3rd attempt - I don’t know why), device remains in system and > spin-up again only on my demand. Btw, this is because the sg_start command opens the device node with O_RDWR which causes an uevent 'change' event

[Desktop-packages] [Bug 1239087]

2014-01-30 Thread Zeuthen
Thanks for testing. I'll look into making udisks2 sending SYNCHRONIZE CACHE and START/STOP UNIT commands. Stay tuned. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-disk-utility in Ubuntu. https://bugs.launchpad.net/bugs/1239087 T

[Desktop-packages] [Bug 1239087]

2014-02-06 Thread Zeuthen
(Hmm, the drives have can_stop=1 start_stop_type=shutdown so everything should be good. My guess is that it's the NTFS partition that is the culprit. Specifically, unmounting it via udisks somehow fails.) If you manually unmount the partitions, does powering down the drive wo

[Desktop-packages] [Bug 1239087]

2014-02-06 Thread Zeuthen
OK, I'm interested in output of /var/log/messages when it doesn't work with the WD. Or is that what you posted in comment 15? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-disk-utility in Ubuntu. https://bugs.launchpad.net/bugs/12

[Desktop-packages] [Bug 1239087]

2014-02-06 Thread Zeuthen
(In reply to comment #22) > I have 500Gb of data on my NTFS partition, so I do not want to reformat my > HDD. I'm sorry for this. Fair enough. I'll try to see if I can repro on my hardware. > If there are no other differences - please add SYNCHRONIZE CACHE, I'm ready > to do a test and report bac

[Desktop-packages] [Bug 1239087]

2014-02-06 Thread Zeuthen
(In reply to comment #20) > >OK, I'm interested in output of /var/log/messages when it doesn't work with > >the WD. Or is that what you posted in comment 15? > I tested it again - the log in comment 15 represent both situations - when > drive spinned-down and when it does not. Only timestamps diff

[Desktop-packages] [Bug 1239087]

2014-02-06 Thread Zeuthen
Hey, thanks for testing the patches. (In reply to comment #10) > 1.2. WD - 'Safely remove drive' option in Nautilus spinned-down it, > gnome-disks 'Power off the drive' and 'udisksctl power-off -b /dev/sdX' > works too. > But there is a little difference - if I enable automount I have an idea of

[Desktop-packages] [Bug 1239087]

2014-02-06 Thread Zeuthen
Let me see if I understand this correctly: 1. Manually unmount, then power-off via the Disks GUI works as expected. 2. The "safely remove drive" button in Nautilus does not work as expected. Is that about right? -- You received this bug notification because you are a member of Desktop Package

[Desktop-packages] [Bug 1067876]

2013-02-10 Thread Zeuthen
You got it somewhat wrong - udisks does not provide any UI => it's not the right place to report this bug - there was some confusion in the UI between "Eject" and "Safely Remove Drive" -> the feature was deemed confusing and removed from the UI - the feature will be back in the upcoming udisks

[Desktop-packages] [Bug 1281588]

2014-06-28 Thread Zeuthen
I'll take a look. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to udisks2 in Ubuntu. https://bugs.launchpad.net/bugs/1281588 Title: Disk standby timer is broken Status in abstraction for enumerating and managing block devices: Confi

[Desktop-packages] [Bug 1239087]

2014-03-25 Thread Zeuthen
Hi, finally got around to making udisks also send the SYNCHRONIZE CACHE command. Please check if it works. The patch is on master and here: http://cgit.freedesktop.org/udisks/commit/?id=429892f2ec39d66732bee0f78d093eb6d2c5433f Thanks! -- You received this bug notification because you are a memb

[Desktop-packages] [Bug 1239087]

2014-03-13 Thread Zeuthen
Hi, sorry for the lack of updates. Nothing special, just been busy with work, I'm still planning on adding the SYNCHRONIZE CACHE command. Hopefully I'll get to look at it soon. Thanks. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome

[Desktop-packages] [Bug 1281588]

2014-07-09 Thread Zeuthen
(Sorry for being slow. Will post feedback soon.) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to udisks2 in Ubuntu. https://bugs.launchpad.net/bugs/1281588 Title: Disk standby timer is broken Status in abstraction for enumerating and

[Desktop-packages] [Bug 571038]

2012-10-04 Thread Zeuthen
In udisks 2.0 this is now handled by libblkid through invocation from udev so I'm closing this NOTOURBUG. That said, if you don't mind, please test if it's the problem also exists with that codebase (it's completely different from udisks-part- id). Thanks! -- You received this bug notification b