Comment 2 for bug 953160

Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

I suspect this could be because your card reader is on the scsi bus rather than the sdio bus. Can you put this in a script and run it?

import dbus

bus = dbus.SystemBus()

ud_mgr_obj = bus.get_object("org.freedesktop.UDisks", "/org/freedesktop/UDisks")
ud_mgr = dbus.Interface(ud_mgr_obj, "org.freedesktop.UDisks")

for dev in ud_mgr.EnumerateDevices():
    try:
        device_obj = bus.get_object("org.freedesktop.UDisks", dev)
        device_props = dbus.Interface(device_obj, dbus.PROPERTIES_IFACE)
        if device_props.Get('org.freedesktop.UDisks.Device', "DeviceIsDrive"):
            print device_props.Get('org.freedesktop.UDisks.Device', "DeviceFile")
            print device_props.Get('org.freedesktop.UDisks.Device', "DriveConnectionInterface")
    except dbus.DBusException:
        pass