Hi!
I have the same problem with my PRS-500... Calibre work ok at home...
but at work, my computer don't recognize the Reader.
The Reader software was ok. (Actually don't see the reader after uninstall the sony drivers)
I executed all the debug code that I found on the thread... these are my results:
Code:
In [1]: import wmi, pythoncom
In [2]: pythoncom.CoInitialize()
In [3]: _wmi = wmi.WMI()
In [4]:
In [5]: for c in _wmi.USBControllerDevice(): print c.Dependent.DeviceID.upper()
...:
USB\ROOT_HUB\4&2600A89F&0
USB\ROOT_HUB\4&3B6FF112&0
USB\ROOT_HUB20\4&1087794A&0
USB\ROOT_HUB\4&10B2C51B&0
USB\ROOT_HUB\4&270D945D&0
USB\VID_054C&PID_029B\5&2C65B59D&0&1
USB\ROOT_HUB\4&2FB3158C&0
USB\ROOT_HUB20\4&27A8BD23&0
Code:
In [1]: import wmi, pythoncom
In [2]: pythoncom.CoInitialize()
In [3]: _wmi = wmi.WMI()
In [4]: from calibre.devices.scanner import DeviceScanner
In [5]: from calibre.devices import devices
In [6]: ds = DeviceScanner(_wmi)
In [7]: for d in devices(): print d, ds.is_device_connected(d)
...:
<class 'calibre.devices.prs500.driver.PRS500'> False
<class 'calibre.devices.prs505.driver.PRS505'> False
<class 'calibre.devices.kindle.driver.KINDLE'> False
Code:
In [1]: import wmi, pythoncom
In [2]: pythoncom.CoInitialize()
In [3]: _wmi = wmi.WMI()
In [4]: from calibre.devices.scanner import DeviceScanner
In [5]: from calibre.devices import devices
In [6]: ds = DeviceScanner(_wmi)
In [7]: ds.scan()
In [8]: for d in devices(): print d, ds.is_device_connected(d)
...:
<class 'calibre.devices.prs500.driver.PRS500'> True
<class 'calibre.devices.prs505.driver.PRS505'> False
<class 'calibre.devices.kindle.driver.KINDLE'> False
Code:
In [1]: import wmi
In [2]: from calibre.devices.prs505.driver import PRS505
In [3]: c = wmi.WMI()
In [4]: for drive in c.Win32_DiskDrive():
...: print str(drive.PNPDeviceID)
...: if PRS50.is_device(str(drive.PNPDeviceID)):
...: print drive.Partitions
...: if drive.Partitions == 0: continue
...: partitions = drive.associators("Win32_DiskDriveToDiskPartition")
...: print partitions
...:
...:
IDE\DISKST3250824AS_____________________________3.AAH___\5&2C41AB5A&0&0.0.0
Code:
In [1]: import wmi, pythoncom
In [2]: pythoncom.CoInitialize()
In [3]: _wmi = wmi.WMI()
In [4]: from calibre.devices.scanner import DeviceScanner
In [5]: scanner = DeviceScanner(_wmi)
In [6]: scanner.scan()
In [7]: from calibre.devices import devices
In [8]: for d in devices():
...: if scanner.is_device_connected(d):
...: dev = d()
...: dev.open()
...: print dev._main_prefix, dev._card_prefix
...:
...:
---------------------------------------------------------------------------
DeviceError Traceback (most recent call last)
C:\Documents and Settings\gustavoc\<ipython console> in <module>()
C:\Documents and Settings\gustavoc\calibre\devices\prs500\driver.pyo in open(self=<calibre.devices.prs500.driver.PRS500 object at 0x01CA1630>)
DeviceError: Unable to find SONY Reader. Is it connected?
In [9]:
So... i see in the 3rd try that the sony reader is connected... but Calibre don't see it....
Thanks in advance!