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 11-09-2009, 03:55 PM   #1
trustno12003
Member
trustno12003 began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Nov 2008
Device: PRS-500
PRS500 not detected after upgrading Mandriva and Calibre

Hello
Yesterday I upgraded my Mandriva 2009.1 to 2010.0. In the old system I had an older version of calibre, 0.5.XX (I can't remember ther version number) and it worked perfect with my PRS500. But, after upgrading Mandriva Calibre stop working, so I've installed the last version of Calibre (0.6.21). The application works OK but it can't detect the ebook reader.

After pluging the PRS500, I've got the following message in DMESG

Code:
usb 1-3: new full speed USB device using ohci_hcd and address 4
usb 1-3: New USB device found, idVendor=054c, idProduct=029b
usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-3: Product: Sony Portable Reader System
usb 1-3: Manufacturer: Sony
usb 1-3: configuration #1 chosen from 2 choices
So apparently Mandriva has detected it, so I run calibre-debug -d and

Code:
USB devices on system: [(7531, 1, 518), (1133, 50459, 17920), (7531, 2, 518), (7531, 1, 518), (1105, 8262, 293), (1189, 8368, 70)]
Looking for BEBOOK
Looking for BEBOOK_MINI
Looking for BLACKBERRY
Looking for CYBOOKG3
Looking for EB600
Looking for ILIAD
Looking for IREXDR1000
Looking for JETBOOK
Looking for KINDLE
Looking for KINDLE2
Looking for KINDLE_DX
Looking for PRS500
Looking for ANDROID
Looking for CYBOOK_OPUS
Looking for COOL_ER
Looking for SHINEBOOK
Looking for ESLICK
Looking for NUUT2
Looking for IRIVER_STORY
So calibre can't detect it.

Looking into Mandriva Panel, I've found that It shows the Sony PRS500 as an scanner.

What can I do to have Calibre up and running with my reader?

Best Regards
trustno12003 is offline   Reply With Quote
Old 11-10-2009, 11:12 AM   #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,129
Karma: 5381911
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
According to the output from calibre-debug the 500 is not being reported as a device on your system.
kovidgoyal is offline   Reply With Quote
 
Enthusiast
Old 11-11-2009, 04:04 AM   #3
trustno12003
Member
trustno12003 began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Nov 2008
Device: PRS-500
Yes, but according to DMESG and the Mandriva Hardware tool, there is a SONY Portable Reader connected to a USB port. So my doubt is why calibre cannot detect the device. May it be a security issue?

Regards
trustno12003 is offline   Reply With Quote
Old 11-11-2009, 10:23 AM   #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,129
Karma: 5381911
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
calibre uses libusb to query the system for connected devices.
kovidgoyal is offline   Reply With Quote
Old 11-12-2009, 02:25 AM   #5
trustno12003
Member
trustno12003 began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Nov 2008
Device: PRS-500
Hi

I've launched calibre-debug -d with the root user and now it detects the device, so it seems an permissions related issue. It seems mandriva has changed the way security works with devices. Now I need to find the way to give permissions to non root users.

Code:
Looking for KINDLE2
Looking for KINDLE_DX
Looking for PRS500
Looking for PRS505
Looking for PRS700
Looking for ANDROID
Looking for CYBOOK_OPUS
Looking for COOL_ER
Looking for SHINEBOOK
Looking for ESLICK
Looking for NUUT2
Looking for IRIVER_STORY
Device possibly connected: <calibre.devices.prs500.driver.PRS500 object at 0x99b0a0c>
Trying to open device... OK
Total space:
Traceback (most recent call last):
  File "/tmp/init.py", line 48, in <module>
  File "/home/kovid/build/calibre/src/calibre/debug.py", line 178, in main
  File "/home/kovid/build/calibre/src/calibre/debug.py", line 123, in debug_device_driver
  File "/home/kovid/build/calibre/src/calibre/devices/prs500/driver.py", line 169, in run_session
AttributeError: 'PRS500' object has no attribute 'in_session'
trustno12003 is offline   Reply With Quote
Old 11-12-2009, 10:52 AM   #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,129
Karma: 5381911
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
just look at the owner/group of the device node and add your user account to the group
kovidgoyal is offline   Reply With Quote
Old 11-13-2009, 08:45 AM   #7
trustno12003
Member
trustno12003 began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Nov 2008
Device: PRS-500
Thumbs up

I've added my user to the USB group and now calibre works again. Thank you for your support.

Best regards
trustno12003 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
PRS500 - Will we be able to use PRSCustomizer after upgrading firmware? jimmyzou Sony Reader 0 11-30-2009 10:10 AM
Sony 505 not detected by Calibre albaranov Calibre 3 09-16-2009 05:19 AM
Upgrading Calibre p3aul Calibre 2 04-14-2009 01:10 AM
Does anybody got Calibre working on Mandriva 2009.0? trustno12003 Calibre 1 11-11-2008 05:50 PM
PRS 505 not detected - OSX10.4.11 / Calibre 0.4.83 dysplektia Calibre 4 09-15-2008 04:03 PM


All times are GMT -4. The time now is 09:44 AM.


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