Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 09-16-2008, 01:44 PM   #1
BrendenM
Member
BrendenM began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Jan 2007
Device: PRS-500, Blackberry 8700c
Error trying to copy books off of the prs500

I'm trying to copy of few books off of my prs500 that I don't have in my library. When I do so though I'm getting the following error (both in the gui and from the cli).
Code:
$ prs500 ls /
Traceback (most recent call last):
  File "/usr/bin/prs500", line 8, in <module>
    load_entry_point('calibre==0.4.83', 'console_scripts', 'prs500')()
  File "build/bdist.linux-i686/egg/calibre/devices/prs500/cli/main.py", line 247, in main
  File "build/bdist.linux-i686/egg/calibre/devices/prs500/cli/main.py", line 128, in ls
  File "build/bdist.linux-i686/egg/calibre/devices/prs500/driver.py", line 161, in run_session
  File "build/bdist.linux-i686/egg/calibre/devices/prs500/driver.py", line 319, in send_validated_command
  File "build/bdist.linux-i686/egg/calibre/devices/prs500/driver.py", line 303, in _send_command
  File "build/bdist.linux-i686/egg/calibre/devices/libusb.py", line 222, in control_msg
calibre.devices.libusb.Error: Could not read 32 bytes on the control bus. Read: -110 bytes.
BrendenM is offline   Reply With Quote
Old 09-16-2008, 03:42 PM   #2
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: 26,335
Karma: 5382313
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Just reboot and you should be fine
kovidgoyal is online now   Reply With Quote
Old 09-19-2008, 02:14 PM   #3
BrendenM
Member
BrendenM began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Jan 2007
Device: PRS-500, Blackberry 8700c
Quote:
Originally Posted by kovidgoyal View Post
Just reboot and you should be fine
The reader or my computer?
BrendenM is offline   Reply With Quote
Old 09-19-2008, 02:33 PM   #4
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: 26,335
Karma: 5382313
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
your computer
kovidgoyal is online now   Reply With Quote
Old 09-22-2008, 12:40 PM   #5
BrendenM
Member
BrendenM began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Jan 2007
Device: PRS-500, Blackberry 8700c
I'm still getting the same errors after restarting both my computer & the reader. I have also upgraded to the latest version. The only difference is that I get a seg fault now at the end but per another thread you said I could ignore that.

Do I need to do a hard reset on my device?

Code:
$ prs500 ls /
Traceback (most recent call last):
  File "<string>", line 337, in <module>
  File "<string>", line 247, in main
  File "<string>", line 128, in ls
  File "library.pyz/calibre.devices.prs500.driver", line 161, in run_session
  File "library.pyz/calibre.devices.prs500.driver", line 319, in send_validated_command
  File "library.pyz/calibre.devices.prs500.driver", line 303, in _send_command
  File "library.pyz/calibre.devices.libusb", line 222, in control_msg
calibre.devices.libusb.Error: Could not read 32 bytes on the control bus. Read: -110 bytes.
/usr/bin/prs500: line 6:  8180 Segmentation fault      ./prs500 "$@"
BrendenM is offline   Reply With Quote
Old 09-22-2008, 01:09 PM   #6
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: 26,335
Karma: 5382313
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
yeah try that. That error maens that the device is not responding to USB commands properly.
kovidgoyal is online now   Reply With Quote
Old 09-22-2008, 04:44 PM   #7
BrendenM
Member
BrendenM began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Jan 2007
Device: PRS-500, Blackberry 8700c
Well I hardreset the device and then tried to upload a book through the GUI to it. I received the following error.

Code:
Job: Upload 1 books to device:The Shadow Rising
PathError: Could not create file /Data/media/books/The_Shadow_Rising_-_Robert_Jordan_88.lrf. Response code: 0xffffffd7L
Traceback:
Traceback (most recent call last):
File "library.pyz/calibre.gui2.device", line 20, in run
File "library.pyz/calibre.gui2.device", line 141, in _upload_books
File "library.pyz/calibre.devices.prs500.driver", line 158, in run_session
File "library.pyz/calibre.devices.prs500.driver", line 868, in upload_books
File "library.pyz/calibre.devices.prs500.driver", line 158, in run_session
File "library.pyz/calibre.devices.prs500.driver", line 687, in put_file
File "library.pyz/calibre.devices.prs500.driver", line 158, in run_session
File "library.pyz/calibre.devices.prs500.driver", line 653, in touch
PathError: Could not create file /Data/media/books/The_Shadow_Rising_-_Robert_Jordan_88.lrf. Response code: 0xffffffd7L
I'm also still getting the "Could not read 32 bytes on the control bus" error also. I'm thinking something is message up with possibly me system but I don't know where to start looking.

Forgot to add the following that I see in my Syslog when I try the 'prs500 ls /' command:
Code:
kernel: [  779.173310] usb 5-6.3: usbfs: USBDEVFS_CONTROL failed cmd prs500 rqt 192 rq 129 len 32 ret -110
BrendenM is offline   Reply With Quote
Old 09-22-2008, 04:52 PM   #8
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: 26,335
Karma: 5382313
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Do
Code:
prs500 mkdir /Data
prs500 mkdir /Data/media
prs500 mkdir /Data/media/books
kovidgoyal is online now   Reply With Quote
Old 09-22-2008, 05:18 PM   #9
BrendenM
Member
BrendenM began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Jan 2007
Device: PRS-500, Blackberry 8700c
This did the trick for uploading books from the GUI, thanks!
Code:
prs500 mkdir /Data/media/books
BrendenM is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
NYT David Pogue: Should e-Books Be Copy Protected? kjk News 30 12-19-2009 02:00 AM
Adding books without a copy Sanderfox Calibre 5 12-02-2009 03:32 PM
seg fault and usb bus error for prs500 on OpenSuSE 11 khassounah Calibre 4 12-30-2008 11:04 PM
Copy Books onto Replacement PRS505 swanson37 Sony Reader 9 09-21-2008 08:20 PM
HowTo Copy Books from USB to CF or Memory jasem200 iRex 4 03-06-2008 03:17 PM


All times are GMT -4. The time now is 03:17 AM.


MobileRead.com is a privately owned, operated and funded community.