Hmm, possibly. Try the following
Code:
import wmi, pythoncom
pythoncom.CoInitialize()
_wmi = wmi.WMI()
from calibre.devices.scanner import DeviceScanner
scanner = DeviceScanner(_wmi)
scanner.scan()
from calibre.devices import devices
for d in devices():
if scanner.is_device_connected(d):
dev = d(log_packets=options.log_packets)
dev.open()
print dev._main_prefix, dev._card_prefix
Is the final line of output showing the wrong drive for card_prefix?