Hi Greg,

When you get a chance can you run this script as well?

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")
            print device_props.Get('org.freedesktop.UDisks.Device', 
"DeviceIsRemovable")
            print 
device_props.Get('org.freedesktop.UDisks.Device','DriveMediaCompatibility')

I'm hoping DriveMediaCompatibility isn't a fibber and we can use that.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/944939

Title:
  [Lenovo e320] Checkbox fails to detect the SD and SDHC - Manual test
  works fine

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/checkbox/+bug/944939/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to