View Single Post
Old 01-26-2009, 03:37 PM   #5
Riocaz
Fulfilled but not by iRex
Riocaz ought to be getting tired of karma fortunes by now.Riocaz ought to be getting tired of karma fortunes by now.Riocaz ought to be getting tired of karma fortunes by now.Riocaz ought to be getting tired of karma fortunes by now.Riocaz ought to be getting tired of karma fortunes by now.Riocaz ought to be getting tired of karma fortunes by now.Riocaz ought to be getting tired of karma fortunes by now.Riocaz ought to be getting tired of karma fortunes by now.Riocaz ought to be getting tired of karma fortunes by now.Riocaz ought to be getting tired of karma fortunes by now.Riocaz ought to be getting tired of karma fortunes by now.
 
Posts: 932
Karma: 286846
Join Date: May 2006
Location: London
Device: Far too many
Quote:
calibre>calibre-debug -c "from calibre.devices.scanner import DeviceScanner; s = DeviceScanner(); s.scan(); print s.devices"
[u'usb\\root_hub&vid8086&pid27ca&rev0002', u'usb\\root_hub&vid8086&pid27c9&rev00
02', u'usb\\root_hub&vid8086&pid27c8&rev0002', u'usb\\root_hub&vid8086&pid27cb&r
ev0002', u'usb\\root_hub20&vid8086&pid27cc&rev0002', u'usb\\vid_03ee&pid_6402&re
v_0300', u'usb\\vid_054c&pid_031e&rev_0229', u'usb\\vid_0930&pid_0403&rev_0100']

calibre>calibre-debug -c "from calibre.devices.scanner import DeviceScanner; from calibre.devices.prs505.driver import PRS505; s = DeviceScanner(); s.scan(); print s.is_device_connected(PRS505);"
True
As requested.

Last edited by Riocaz; 01-27-2009 at 05:32 AM.
Riocaz is offline   Reply With Quote