Comment 41 for bug 466575

Revision history for this message
ticket (tickettothemoon2004) wrote :

I tried the fix posted above by "quirks 2010-07-25".

Alas it didn't fix the problem.

I have a media player with an internal drive and a plug-in SDHC class4 card.
The two drives show up fine when connecting the media player to the PC via USB.
The problem comes when ejecting the drives - as previously described.

I implemented quirks' fix as follows:

1. Downloaded the binary file "udisks-helper-drive-detach" from the launchpad page

2. Renamed the original file:
    cd /usr/lib/udisks
    sudo mv udisks-helper-drive-detach udisks-helper-drive-detach-orig

3. Copied the new file:
    sudo cp [path to downloaded file]/udisks-helper-drive-detach /usr/lib/udisks

4. Fixed permissions:
    sudo chmod a+x udisks-helper-drive-detach

On ejecting the drives I still get the pop up:

"Writing data to <drive>
To prevent data loss, wait until this has finished
before removing medium or disconnecting the drive"

which lasts for about 1 minute, then I get the error message popups:

"Unable to stop drive
Method "DriveDetach" with signature "as" on interface "org.freedesktop.UDisks.Device" doesn't exist"

"Unable to eject <drive>
Device is not a drive"

A reboot didn't solve the problem.
I would say that quirks' fix may have reduced the number of weird error messages appearing, but the fundamental problem of the 1 minute wait remains. Maybe my media player is doing something during this time (but this wasn't an issue at all when not using the SDHC class4 card and just the internal media player drive).

Ubuntu Release 10.04
Linux 2.6.32-25-generic
GNOME 2.30.2