Thanks for helping. I run your script on Python 2.6.2 but received following error: UsbOnlyReqProc() Sequence Error [errorNo=-1, command=0x106, state=1]
Reader is connected and automaticaly switched into: 'Updating firmware now...' mode.
Code:
C:\Program Files\Sony\Reader\Data\bin>ebook.py um normal
Sony Reader utility 0.41 (c) 2006 Igor Skochinsky
UsbOnlyReqProc() Sequence Error [errorNo=-1, command=0x106, state=1]
Usage: ebook.py cmd [params]
ls <dir> [-R]: list device directory <dir> [recursively]
get <path> [destPath]: download <path> from the device to current directory or
destPath
cat <path>: dump <path> from the device to the console.
C:\Program Files\Sony\Reader\Data\bin>ebook.py um recovery
Sony Reader utility 0.41 (c) 2006 Igor Skochinsky
UsbOnlyReqProc() Sequence Error [errorNo=-1, command=0x106, state=1]
Usage: ebook.py cmd [params]
ls <dir> [-R]: list device directory <dir> [recursively]
get <path> [destPath]: download <path> from the device to current directory or
destPath
cat <path>: dump <path> from the device to the console.
C:\Program Files\Sony\Reader\Data\bin>ebook.py ls /
Sony Reader utility 0.41 (c) 2006 Igor Skochinsky
UsbOnlyReqProc() Sequence Error [errorNo=-1, command=0x106, state=1]
UsbOnlyReqProc() Sequence Error [errorNo=-1, command=0x18, state=1]
/:
There is a connection, as if the script is run without the Reader connected the error message is different:
Code:
C:\Program Files\Sony\Reader\Data\bin>ebook.py um normal
Sony Reader utility 0.41 (c) 2006 Igor Skochinsky
UsbOnlyReqProc() Usb_SendDataCon return error [err=-1, command=0x0, state=1, dat
aSize=4]
UsbInitCheck() UsbGetProtcolVer() err=-56
Device is not connected to PC
Any idea what do these errors mean?