Update: I ran the following per roadmr's suggestion to try and narrow
down what is going on here:

import dbus

bus = dbus.SystemBus()
umo=bus.get_object('org.freedesktop.UDisks','/org/freedesktop/UDisks')
um = dbus.Interface(umo,'org.freedesktop.UDisks')

for dev in um.EnumerateDevices():
    do = bus.get_object('org.freedesktop.UDisks',dev)
    dp = dbus.Interface(do,dbus.PROPERTIES_IFACE)
    print dp.Get('org.freedesktop.UDisks.Device',"DeviceMountPaths")
    print dp.Get('org.freedesktop.UDisks.Device',"DeviceIsDrive")
    print dp.Get('org.freedesktop.UDisks.Device', "DriveConnectionInterface")

Output:

ubuntu@201106-8229:~$ python test.py 
dbus.Array([], signature=dbus.Signature('s'), variant_level=1)
0
ata
dbus.Array([], signature=dbus.Signature('s'), variant_level=1)
1
ata
dbus.Array([], signature=dbus.Signature('s'), variant_level=1)
1
usb
dbus.Array([], signature=dbus.Signature('s'), variant_level=1)
0
usb
dbus.Array([dbus.String(u'/')], signature=dbus.Signature('s'), variant_level=1)
0
ata
dbus.Array([], signature=dbus.Signature('s'), variant_level=1)
0
ata
dbus.Array([], signature=dbus.Signature('s'), variant_level=1)
1
scsi
dbus.Array([dbus.String(u'/media/0E66-714A')], signature=dbus.Signature('s'), 
variant_level=1)
0
scsi

^^^^
So as we see here - the output reflects that the card reader is a SCSI device.

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to