View Single Post
Old 01-07-2009, 01:28 AM   #18
brudigia
Evangelist
brudigia ought to be getting tired of karma fortunes by now.brudigia ought to be getting tired of karma fortunes by now.brudigia ought to be getting tired of karma fortunes by now.brudigia ought to be getting tired of karma fortunes by now.brudigia ought to be getting tired of karma fortunes by now.brudigia ought to be getting tired of karma fortunes by now.brudigia ought to be getting tired of karma fortunes by now.brudigia ought to be getting tired of karma fortunes by now.brudigia ought to be getting tired of karma fortunes by now.brudigia ought to be getting tired of karma fortunes by now.brudigia ought to be getting tired of karma fortunes by now.
 
Posts: 491
Karma: 1401828
Join Date: Oct 2008
Location: Torino - Italy
Device: iPAD AirPro M1 12.9, Kindle Scribe, Kobo Elipsa, iPhone XV
Quote:
Originally Posted by kovidgoyal View Post
Can somebody with windows and OS X run the following code in a terminal, with the cyboook connected and without the cybook connected:

Code:
calibre-debug -c "from calibre.devices.scanner import DeviceScanner; s = DeviceScanner(); s.scan(); print repr(s.devices)"


With Cybook connected, this is what I get:

[u'usb\\root_hub&vid8086&pid24d4&rev0002', u'usb\\root_hub&vid8086&pid24d7&rev0002', u'usb\\root_hub&vid8086&pid24de&rev0002', u'usb\\root_hub&vid8086&pid24d2&rev0002', u'usb\\root_hub20&vid8086&pid24dd&rev0002', u'usb\\vid_0bda&pid_0703&rev_0132', u'usb\\vid_0e8f&pid_0003&rev_0107', u'usb\\vid_152d&pid_2338&rev_0100', u'usb\\vid_1532&pid_0009&rev_2100', u'usb\\vid_1532&pid_0009&rev_2100&mi_00', u'usb\\vid_1532&pid_0009&rev_2100&mi_01']

When Cybook is not connected, I get this.

[u'usb\\root_hub&vid8086&pid24d4&rev0002', u'usb\\root_hub&vid8086&pid24d7&rev0002', u'usb\\root_hub&vid8086&pid24de&rev0002', u'usb\\root_hub&vid8086&pid24d2&rev0002', u'usb\\root_hub20&vid8086&pid24dd&rev0002', u'usb\\vid_0bda&pid_0703&rev_0132', u'usb\\vid_0e8f&pid_0003&rev_0107', u'usb\\vid_152d&pid_2338&rev_0100', u'usb\\vid_1532&pid_0009&rev_2100', u'usb\\vid_1532&pid_0009&rev_2100&mi_00', u'usb\\vid_1532&pid_0009&rev_2100&mi_01']

Hope it helps. I look forward to some result.

Bruno
brudigia is offline   Reply With Quote