View Single Post
Old 01-06-2009, 04:37 PM   #16
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 74,092
Karma: 315558332
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
This is from Mac OS X 10.5.6, MacBook. No other peripherals.

Without CyBook connected:
paul:~ pdurrant$ calibre-debug -c "from calibre.devices.scanner import DeviceScanner; s = DeviceScanner(); s.scan(); print repr(s.devices)"
[(1452, 32773, 272), (1452, 539, 24), (1452, 32773, 272), (1452, 32773, 272), (1452, 33344, 272), (1452, 32773, 272), (1452, 33285, 6501), (1452, 32774, 512), (1452, 34049, 388)]

With CyBook (No SD Card) Connected:
paul:~ pdurrant$ calibre-debug -c "from calibre.devices.scanner import DeviceScanner; s = DeviceScanner(); s.scan(); print repr(s.devices)"
[(1452, 32773, 272), (1452, 539, 24), (1452, 32773, 272), (1452, 32773, 272), (1452, 33344, 272), (1452, 32773, 272), (1452, 33285, 6501), (1452, 32774, 512), (1452, 34049, 388), (3034, 1795, 306)]

With CyBook (SD Card inserted) Connected:
paul:~ pdurrant$ calibre-debug -c "from calibre.devices.scanner import DeviceScanner; s = DeviceScanner(); s.scan(); print repr(s.devices)"
[(1452, 32773, 272), (1452, 539, 24), (1452, 32773, 272), (1452, 32773, 272), (1452, 33344, 272), (1452, 32773, 272), (1452, 33285, 6501), (1452, 32774, 512), (1452, 34049, 388), (3034, 1795, 306)]

I don't have a native Windows machine.

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)"
pdurrant is offline   Reply With Quote