View Single Post
Old 01-10-2008, 10:34 AM   #108
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,429
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Looks like the new device detection code causes problems with the PRS500 on windows. I no longer have mine to test with, so could you do the following:

Install python 2.5 from http://python.org/ftp/python/2.5.1/python-2.5.1.msi

Then install the (python win32 extensions) from https://sourceforge.net/project/down...5.exe&12384980

Finally download the attached file to some directory on your computer.

Now open a terminal ad type the following command to start python

Code:
c:\Python25\python.exe
Now at the python prompt, with your PRS500 connected, type the following lines, line by line

Code:
import wmi, pythoncom
pythoncom.CoInitialize()
w = wmi.WMI()
devices = [c.Dependent.DeviceID.upper() for c in w.USBControllerDevice()]
for d in devices: print d
Sorry for the runaround
And post the output of the print statement
Attached Files
File Type: zip wmi.py.zip (11.7 KB, 648 views)
kovidgoyal is offline   Reply With Quote