Peter S���tterlin changed bug 1189136
What Removed Added
Flags needinfo?(P.Suetterlin@royac.iac.es)  

Comment # 3 on bug 1189136 from
Thanks for looking at that!

> Please try the following:

> 1. Insert a card
> 2. Wait for the notification, mount the device

Done.  No issues.

> 3. Run "udisksctl unmount -p /dev/mmcblk0p1"

I get an error message:

woodstock:~% udisksctl unmount -p /dev/mmcblk0p1

(udisksctl unmount:7959): GLib-GIO-CRITICAL **: 13:54:13.601:
g_dbus_object_manager_get_object: assertion 'g_variant_is_object_path
(object_path)' failed
Error looking up object with path /dev/mmcblk0p1

Following the manpage, I assume it should have been 
  udisksctl unmount -p block_devices/mmcblk0p1

Before finding that, I had already unmounted the unit using the applet.
With that,

> 4. Does "udisksctl status" still show it? Still listed by lsblk?

If the card is in, yes.  If I remove it, not.  After re-inserting, the applet
still says 'no removable devices connected'

> 5. Run "udisksctl power-off -p /dev/mmcblk0p1"

woodstock:~% udisksctl power-off  -p block_devices/mmcblk0p1

(udisksctl power-off:8861): GLib-GIO-CRITICAL **: 14:08:27.312:
g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed
Segmentation fault (core dumped)

Ooops!?

> 6. Does "udisksctl status" still show it? Still listed by lsblk?

Yes, both show it.  And I can manually mount it.  Also in that state (mounted)
the applet says no devices connected....

> 7. Re-insert the card and wait a bit
> 8. Does "udisksctl status" show it? Does lsblk show it?

Even without waiting, both immediately show the unit.  Applet still says no
devices connected.
Maybe worth to mention:  If I open the settings manager for the applet, under
removable devices it *is* listed under "Attached Devices".
For a test, I enabled automatic mounting (it is disabled on purpose on this
machine).  With that, if I insert the card, it *does* get automatically
mounted!  But the applet still says 'No removable devices attached', so I
cannot use that to unmount it....
But "udisksctl unmount -p block_devices/mmcblk0p1" does work.  udiskctl and
lsblk still can see the device after umounting, and I can also mount it again
(without ejecting re-inserting) with 
"udisksctl mount   -p block_devices/mmcblk0p1"


You are receiving this mail because: