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 05-02-2010, 11:23 PM   #1
Aristée
Member
Aristée began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Oct 2009
Device: Sony PRS-300 Pocket Edition
Cannot connect Sony PRS 300 to Calibre on Linux

Hi,

I cannot find a way to connect my Sony PRS 300 on Calibre (on Linux Ubuntu).

Here is the debug report:

Code:
Version: 0.6.42
USB devices on system:
[['0x46d', '0xc52f', '0x1600', 'Logitech', 'USB Receiver', ''],
 ['0x1d6b',
  '0x2',
  '0x206',
  'Linux 2.6.32-21-generic ehci_hcd',
  'EHCI Host Controller',
  '0000:00:1d.0'],
 ['0x1d6b',
  '0x2',
  '0x206',
  'Linux 2.6.32-21-generic ehci_hcd',
  'EHCI Host Controller',
  '0000:00:1a.0'],
 ['0x8087', '0x20', '0x0', '', '', ''],
 ['0x54c',
  '0x31e',
  '0x229',
  'Sony',
  'Sony Digital Book Reader',
  '0800461000B1F5F6'],
 ['0x4f2',
  '0xb128',
  '0x4007',
  'Chicony Electronics Co., Ltd.',
  'USB2.0 UVC WebCam',
  '']]
Looking for HANLINV3
Looking for HANLINV5
Looking for BLACKBERRY
Looking for CYBOOK
Looking for ILIAD
Looking for IREXDR1000
Looking for IREXDR800
Looking for JETBOOK
Looking for SHINEBOOK
Looking for POCKETBOOK360
Looking for KINDLE
Looking for KINDLE2
Looking for KINDLE_DX
Looking for NOOK
Looking for PRS505
	(1356, 798, 553, 'Sony', 'Sony Digital Book Reader', '0800461000B1F5F6')
Looking for PRS700
Looking for PRS500
Looking for ANDROID
Looking for N770
Looking for N810
Looking for COOL_ER
Looking for ESLICK
Looking for NUUT2
Looking for IRIVER_STORY
Looking for GER2
Looking for ITALICA
Looking for ECLICTO
Looking for DBOOK
Looking for INVESBOOK
Looking for BOOX
Looking for BOOQ
Looking for EB600
Looking for README
Looking for N516
Looking for EB511
Devices possibly connected: PRS-300/505 Device Interface,  
Trying to open PRS-300/505 Device Interface ... Unable to open device <calibre.devices.prs505.driver.PRS505 object at 0x37da8d0>
Traceback (most recent call last):
  File "/usr/lib/calibre/calibre/gui2/device.py", line 106, in do_connect
    dev.open()
  File "/usr/lib/calibre/calibre/devices/prs505/driver.py", line 68, in open
    Device.open(self)
  File "/usr/lib/calibre/calibre/devices/usbms/device.py", line 621, in open
    self.open_linux()
  File "/usr/lib/calibre/calibre/devices/usbms/device.py", line 605, in open_linux
    mp, ret = mount(card, typ)
  File "/usr/lib/calibre/calibre/devices/usbms/device.py", line 582, in mount
    ret = do_mount(node, label)
  File "/usr/lib/calibre/calibre/devices/usbms/device.py", line 577, in do_mount
    _('Could not find mount helper: %s.')%cmd[0])
DeviceError: Impossible de trouver l'assistant de montage: calibre-mount-helper.
Device connect failed again, giving up
failed
Opening of the following devices failed
<calibre.devices.prs505.driver.PRS505 object at 0x37da8d0>
Traceback (most recent call last):
  File "/usr/lib/calibre/calibre/devices/__init__.py", line 84, in debug
    dev.open()
  File "/usr/lib/calibre/calibre/devices/prs505/driver.py", line 68, in open
    Device.open(self)
  File "/usr/lib/calibre/calibre/devices/usbms/device.py", line 621, in open
    self.open_linux()
  File "/usr/lib/calibre/calibre/devices/usbms/device.py", line 605, in open_linux
    mp, ret = mount(card, typ)
  File "/usr/lib/calibre/calibre/devices/usbms/device.py", line 582, in mount
    ret = do_mount(node, label)
  File "/usr/lib/calibre/calibre/devices/usbms/device.py", line 577, in do_mount
    _('Could not find mount helper: %s.')%cmd[0])
DeviceError: Impossible de trouver l'assistant de montage: calibre-mount-helper.
I hope someone can help

Thanks

Hugo
Aristée is offline   Reply With Quote
Old 05-03-2010, 12:55 AM   #2
adolson
Member
adolson began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Apr 2010
Device: PRS-300
It's a problem with Ubuntu... I had the same problems... I just uninstalled it and then got the most current release using the instructions on the calibre site, and my PRS-300 works perfectly now. Kovid puts out a new release almost every week, so it's better this way anyhow - easy to upgrade and have the most current features.

I usually hate going outside of my apt sources, but calibre is moving so rapidly that I don't mind in this case.
adolson is offline   Reply With Quote
Old 05-03-2010, 06:29 AM   #3
Aristée
Member
Aristée began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Oct 2009
Device: Sony PRS-300 Pocket Edition
I do have the newest realeses of both ubuntu and calibre, and still, it isn't working... wich is strange since on my other laptop (wich died a couple of months ago), there wasn't any problem with calibre connecting my eReader.
Aristée is offline   Reply With Quote
Old 05-03-2010, 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: 43,778
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The message could not find mount helper means your installation is not complete.

Try re-installing or set up Ubuntu to automount the sony reader, in which case the mount helper wont be needed.
kovidgoyal is offline   Reply With Quote
Old 05-04-2010, 12:00 AM   #5
adolson
Member
adolson began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Apr 2010
Device: PRS-300
Quote:
Originally Posted by kovidgoyal View Post
The message could not find mount helper means your installation is not complete.

Try re-installing or set up Ubuntu to automount the sony reader, in which case the mount helper wont be needed.
Ubuntu does auto-mount the reader. It even opens up the internal storage in a Nautilus window, where I can add/remove files. But the calibre mount helper message still would come up when using Ubuntu's calibre package.

Only way to fix was to uninstall their package and use the instructions.
adolson is offline   Reply With Quote
Old 05-04-2010, 10:58 PM   #6
Aristée
Member
Aristée began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Oct 2009
Device: Sony PRS-300 Pocket Edition
Quote:
Originally Posted by adolson View Post
Only way to fix was to uninstall their package and use the instructions.
What do you mean by using the instructions ? You mean I should remove the calibre package and ... ?

Thanks
Aristée is offline   Reply With Quote
Old 05-05-2010, 01:43 AM   #7
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Quote:
Originally Posted by adolson View Post
It's a problem with Ubuntu... I had the same problems... I just uninstalled it and then got the most current release using the instructions on the calibre site

I usually hate going outside of my apt sources, but calibre is moving so rapidly that I don't mind in this case.
Quote:
Originally Posted by adolson View Post
Only way to fix was to uninstall their package and use the instructions.
Quote:
Originally Posted by Aristée View Post
What do you mean by using the instructions ? You mean I should remove the calibre package and ... ?
He is referring to uninstalling Ubuntu's Calibre package and following these instructions.
DoctorOhh is offline   Reply With Quote
Old 10-09-2010, 01:16 PM   #8
nodata
Junior Member
nodata began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Oct 2010
Device: Sony PRS-300
Alternatively, try this one liner:
https://www.mobileread.com/forums/sho...54&postcount=2
nodata is offline   Reply With Quote
Old 10-09-2010, 02:54 PM   #9
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: 43,778
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by nodata View Post
That's not a fix, that's a broken workaround.
kovidgoyal is offline   Reply With Quote
Old 10-15-2010, 02:22 AM   #10
nodata
Junior Member
nodata began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Oct 2010
Device: Sony PRS-300
Well, not really is it?

Surely Calibre should be written to work with the distributions, not against them.

The distributions already have their own automounters. The purpose of them being that the operating system handles mounting of devices in one centralised way, and that every man and his dog doesn't have to write their "own version" that mounts the devices themselves.

You could argue that Calibre is broken, after all it is trying to mount something that is already mounted. Or because it's working against the standard mechanism to mount a disk.

Letting everything that works with removable storage mount their own storage doesn't make sense: everything would be trying to mount everything more than once, it would become a nightmare.

It would be easy to fix this in Calibre: a "rescan" button that re-examines which devices are available.
The code is probably already in the debug devices section.
nodata is offline   Reply With Quote
Old 10-15-2010, 02:33 AM   #11
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by nodata View Post
Surely Calibre should be written to work with the distributions, not against them.
You were a participant in this thread where the reasons for this were discussed. For your own benefit you might want to go reread the thread.
DoctorOhh is offline   Reply With Quote
Old 10-15-2010, 11:31 AM   #12
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: 43,778
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Sigh. calibre works perfectly well on windows and OS X that actually have working automount solutions. The problem on linux is that automounting at the OS level is broken, inconsistent and for some distros non-existent. Which means that for a distro neutral package like calibre, a generic mount mechanism, that is guaranteed to work, is needed.

If a distro is making a calibre package, then the onus is on them to replace calibre's mount mechanism with something that works with whatever "flavor of the month" automounting solution they are using.
kovidgoyal is offline   Reply With Quote
Old 10-22-2010, 10:57 AM   #13
nodata
Junior Member
nodata began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Oct 2010
Device: Sony PRS-300
If automounting is so broken, why is calibre the only application that has a problem?

Every digital camera works with Linux. I don't see the difference between that and an ebook reader, both provide removable storage.

calibre could fix this really easily: provide a rescan button.
nodata is offline   Reply With Quote
Old 10-22-2010, 11:17 AM   #14
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,703
Karma: 6658935
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
@nodata: I think we have clearly established that you don't agree with Kovid, think that he is totally wrong, and don't like calibre's solution. Fine. You are entitled to your opinion. Kovid is entitled to his.

Why don't you move on from moaning about it, and instead fix it? Write the code for your 'rescan' button, ensure it doesn't break Windows or OS-X, provide the patch, and see what happens?
chaley is offline   Reply With Quote
Old 10-22-2010, 12:11 PM   #15
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by chaley View Post
Why don't you move on from moaning about it, and instead fix it? Write the code for your 'rescan' button, ensure it doesn't break Windows or OS-X, provide the patch, and see what happens?
Charles, if you think you can do it without stepping on too many toes, can you (or anyone else) tell me a bit more about this? I'm mostly a Windows user, but I run several Linux systems also. I always thought issues like this were handled by the package maintainer. When Calibre tries to access an ereader, I suppose it assumes it's mounted. In Windows/OSX, apparently, that's true, and if it's not accessible there's an error message.

In Linux, I would have thought the ereader would have been mounted the same way - presumably when the ereader was first connected? It seems that's not always the case, at least not for all distros - and thus mount-helper is provided? And the package maintainer removed it?

The OP wants a "Rescan" button because Calibre knows about the ereader, but doesn't know it's mounted and calls the (removed) mount-helper anyway? Or is it because the ereader is not mounted and the mount-helper that would have mounted it has been removed?

Any comments on the differences between Win/OSX and Linux distros in this regard would be appreciated.
Starson17 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
Fedora 14 + Sony PRS-300: calibre doesn't work nodata Calibre 14 05-20-2012 04:36 PM
Need Help: Sony PRS-500 CONNECT/eReader Problem after Calibre HankRiker Sony Reader 9 02-09-2011 09:12 PM
Problem transfering files from Calibre to my Sony PRS-300 nnanna01 Calibre 1 01-23-2010 10:38 AM
Calibre doesn't transfer book to Sony PRS 300 Krystine Calibre 2 12-27-2009 06:05 PM
Sony PRS-505/Sony Connect/Calibre thesweetone Sony Reader 26 09-30-2009 03:00 PM


All times are GMT -4. The time now is 04:25 AM.


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