Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 04-12-2010, 07:53 PM   #1
penguin_brian
Junior Member
penguin_brian began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Apr 2010
Device: Kindle DX
kindle dx

Hello,

Am having problems trying to get Calibre talking to my Kindle DX.

Since I had problems with Calibre in Karmic (seems to be missing the calibre-mount-helper script), I have now tried a Lucid chroot on Ubuntu Karmic, which has a newer version of Calibre:

(lucid)root@aquitard:/home/brian/tree/calibre# calibre-debug -d
Version: 0.6.42
USB devices on system:
[['0x45e',
'0x53',
'0x300',
'Microsoft',
'Microsoft 3-Button Mouse with IntelliEye(TM)',
''],
['0x8087', '0x20', '0x0', '', '', ''],
['0x1d6b',
'0x2',
'0x206',
'Linux 2.6.31.9-lxc.1 ehci_hcd',
'EHCI Host Controller',
'0000:00:1a.0'],
['0x1d6b',
'0x2',
'0x206',
'Linux 2.6.31.9-lxc.1 ehci_hcd',
'EHCI Host Controller',
'0000:00:1d.0'],
['0x1949', '0x3', '0x100', 'Amazon', 'Amazon Kindle', 'B005A0A29515045F']]
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
(6473, 3, 256, 'Amazon', 'Amazon Kindle', 'B005A0A29515045F')
Looking for NOOK
Looking for PRS505
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: Kindle DX Device Interface,
Trying to open Kindle DX Device Interface ... failed
Opening of the following devices failed
<calibre.devices.kindle.driver.KINDLE_DX object at 0x3eb98d0>
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/usbms/device.py", line 621, in open
self.open_linux()
File "/usr/lib/calibre/calibre/devices/usbms/device.py", line 591, in open_linux
%self.__class__.__name__)
DeviceError: Unable to detect the KINDLE_DX disk drive. Your kernel is probably exporting a deprecated version of SYSFS.

I can't see any evidence that my kernel is using a deprecated version of SYSFS:

brian@aquitard:~$ grep SYSFS_DEPRECATED /boot/config-`uname -r`
# CONFIG_SYSFS_DEPRECATED_V2 is not set


What am I doing wrong?

Thanks
penguin_brian is offline   Reply With Quote
Old 04-12-2010, 09:37 PM   #2
penguin_brian
Junior Member
penguin_brian began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Apr 2010
Device: Kindle DX
calibre-mount-helper

Arggh.

I repeated the same test again:

(lucid)root@aquitard:/home/brian/tree/calibre# calibre-debug -d
Version: 0.6.42
USB devices on system:
[['0x45e',
'0x53',
'0x300',
'Microsoft',
'Microsoft 3-Button Mouse with IntelliEye(TM)',
''],
['0x8087', '0x20', '0x0', '', '', ''],
['0x1d6b',
'0x2',
'0x206',
'Linux 2.6.31.9-lxc.1 ehci_hcd',
'EHCI Host Controller',
'0000:00:1a.0'],
['0x1d6b',
'0x2',
'0x206',
'Linux 2.6.31.9-lxc.1 ehci_hcd',
'EHCI Host Controller',
'0000:00:1d.0'],
['0x1949', '0x3', '0x100', 'Amazon', 'Amazon Kindle', 'B005A0A29515045F']]
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
(6473, 3, 256, 'Amazon', 'Amazon Kindle', 'B005A0A29515045F')
Looking for NOOK
Looking for PRS505
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: Kindle DX Device Interface,
Trying to open Kindle DX Device Interface ... failed
Opening of the following devices failed
<calibre.devices.kindle.driver.KINDLE_DX object at 0x40218d0>
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/usbms/device.py", line 621, in open
self.open_linux()
File "/usr/lib/calibre/calibre/devices/usbms/device.py", line 594, in open_linux
mp, ret = mount(main, 'main')
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: Could not find mount helper: calibre-mount-helper.


I am guessing the Ubuntu package is broken, as it doesn't appear to come with this helper program.

Brian May
penguin_brian is offline   Reply With Quote
Advert
Old 04-12-2010, 09:42 PM   #3
penguin_brian
Junior Member
penguin_brian began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Apr 2010
Device: Kindle DX
calibre-mount-helper

Submitted bug report to Ubuntu:

https://bugs.launchpad.net/ubuntu/+s...re/+bug/561958
penguin_brian is offline   Reply With Quote
Old 04-12-2010, 10:02 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: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
If you setup automounting for your device, you wont need the mount helper
kovidgoyal is offline   Reply With Quote
Old 04-12-2010, 11:45 PM   #5
penguin_brian
Junior Member
penguin_brian began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Apr 2010
Device: Kindle DX
kindle dx

Yes, your right, Calibre does seem to recognise if the kindle is mounted by some other means.

However now the low level connection breaks badly whenever I run Calibre (it is fine without Calibre just copying files at the command prompt). Not only that but the kernel allocates the disk a new id, and it gets rather confusing...

Linux aquitard 2.6.31.9-lxc.1 #1 SMP Wed Mar 17 14:10:05 EST 2010 x86_64 GNU/Linux

Apr 13 13:41:45 aquitard kernel: [2262269.607186] sd 62:0:0:0: [sdc] Unhandled error code
Apr 13 13:41:45 aquitard kernel: [2262269.607192] sd 62:0:0:0: [sdc] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Apr 13 13:41:45 aquitard kernel: [2262269.607198] end_request: I/O error, dev sdc, sector 29038
Apr 13 13:41:45 aquitard kernel: [2262269.607249] sd 62:0:0:0: [sdc] Unhandled error code
Apr 13 13:41:45 aquitard kernel: [2262269.607252] sd 62:0:0:0: [sdc] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Apr 13 13:41:45 aquitard kernel: [2262269.607257] end_request: I/O error, dev sdc, sector 29278
Apr 13 13:41:45 aquitard kernel: [2262269.607296] sd 62:0:0:0: [sdc] Unhandled error code
Apr 13 13:41:45 aquitard kernel: [2262269.607299] sd 62:0:0:0: [sdc] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Apr 13 13:41:45 aquitard kernel: [2262269.607303] end_request: I/O error, dev sdc, sector 29294
Apr 13 13:41:45 aquitard kernel: [2262269.607346] sd 62:0:0:0: [sdc] Unhandled error code
Apr 13 13:41:45 aquitard kernel: [2262269.607349] sd 62:0:0:0: [sdc] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Apr 13 13:41:45 aquitard kernel: [2262269.607353] end_request: I/O error, dev sdc, sector 29534
Apr 13 13:41:45 aquitard kernel: [2262269.607390] sd 62:0:0:0: [sdc] Unhandled error code
Apr 13 13:41:45 aquitard kernel: [2262269.607393] sd 62:0:0:0: [sdc] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Apr 13 13:41:45 aquitard kernel: [2262269.607397] end_request: I/O error, dev sdc, sector 29038
Apr 13 13:41:45 aquitard kernel: [2262269.607456] sd 62:0:0:0: [sdc] Unhandled error code
Apr 13 13:41:45 aquitard kernel: [2262269.607459] sd 62:0:0:0: [sdc] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Apr 13 13:41:45 aquitard kernel: [2262269.607464] end_request: I/O error, dev sdc, sector 29038
Apr 13 13:41:45 aquitard kernel: [2262269.607644] usb 1-1.1: USB disconnect, address 66
Apr 13 13:41:45 aquitard kernel: [2262269.617765] FAT: bread failed in fat_clusters_flush
Apr 13 13:41:45 aquitard kernel: [2262269.639465] FAT: Directory bread(block 13974) failed
Apr 13 13:41:45 aquitard kernel: [2262269.639471] FAT: Directory bread(block 13975) failed
Apr 13 13:41:45 aquitard kernel: [2262269.639475] FAT: Directory bread(block 13976) failed
Apr 13 13:41:45 aquitard kernel: [2262269.639479] FAT: Directory bread(block 13977) failed
Apr 13 13:41:45 aquitard kernel: [2262269.639483] FAT: Directory bread(block 13978) failed
Apr 13 13:41:45 aquitard kernel: [2262269.639487] FAT: Directory bread(block 13979) failed
Apr 13 13:41:45 aquitard kernel: [2262269.639491] FAT: Directory bread(block 13980) failed
Apr 13 13:41:45 aquitard kernel: [2262269.639494] FAT: Directory bread(block 13981) failed
Apr 13 13:41:45 aquitard kernel: [2262269.639511] FAT: Directory bread(block 141862) failed
Apr 13 13:41:45 aquitard kernel: [2262269.639515] FAT: Directory bread(block 141863) failed
Apr 13 13:41:45 aquitard kernel: [2262269.639519] FAT: Directory bread(block 141864) failed
Apr 13 13:41:45 aquitard kernel: [2262269.639523] FAT: Directory bread(block 141865) failed
Apr 13 13:41:45 aquitard kernel: [2262269.639527] FAT: Directory bread(block 141866) failed
Apr 13 13:41:45 aquitard kernel: [2262269.639530] FAT: Directory bread(block 141867) failed
Apr 13 13:41:45 aquitard kernel: [2262269.639534] FAT: Directory bread(block 141868) failed
Apr 13 13:41:45 aquitard kernel: [2262269.639538] FAT: Directory bread(block 141869) failed
Apr 13 13:41:46 aquitard kernel: [2262269.697596] usb 1-1.1: new high speed USB device using ehci_hcd and address 67
Apr 13 13:41:46 aquitard kernel: [2262269.818440] usb 1-1.1: configuration #1 chosen from 1 choice
Apr 13 13:41:46 aquitard kernel: [2262269.822506] scsi63 : SCSI emulation for USB Mass Storage devices
Apr 13 13:41:46 aquitard kernel: [2262269.822635] usb-storage: device found at 67
Apr 13 13:41:46 aquitard kernel: [2262269.822639] usb-storage: waiting for device to settle before scanning
Apr 13 13:41:51 aquitard kernel: [2262274.806641] usb-storage: device scan complete
Apr 13 13:41:51 aquitard kernel: [2262274.807833] scsi 63:0:0:0: Direct-Access Kindle Internal Storage 0100 PQ: 0 ANSI: 2
Apr 13 13:41:51 aquitard kernel: [2262274.808427] sd 63:0:0:0: Attached scsi generic sg2 type 0
Apr 13 13:41:51 aquitard kernel: [2262274.813806] sd 63:0:0:0: [sdb] 7143360 512-byte logical blocks: (3.65 GB/3.40 GiB)
Apr 13 13:41:51 aquitard kernel: [2262274.896668] sd 63:0:0:0: [sdb] Write Protect is off
Apr 13 13:41:51 aquitard kernel: [2262274.896673] sd 63:0:0:0: [sdb] Mode Sense: 0f 00 00 00
Apr 13 13:41:51 aquitard kernel: [2262274.896676] sd 63:0:0:0: [sdb] Assuming drive cache: write through
penguin_brian is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
The Frugal Kindle ~ Frugal Finds Under $9 for the Kindle (Kindle eBook Resource) eTrubrown Self-Promotions by Authors and Publishers 3 10-10-2010 06:12 PM
Transfer Kindle books from Kindle PC to Kindle 3 ppearce Amazon Kindle 15 09-16-2010 05:11 PM
Font hacks for the Kindle 2, Kindle International and Kindle DX edge777 Kindle Developer's Corner 17 04-30-2010 04:11 PM
$0.01 in Kindle Store: Interactive Sudoku for Kindle 2 and Kindle DX - Volume 1 Xia Deals and Resources (No Self-Promotion or Affiliate Links) 2 11-07-2009 10:06 AM


All times are GMT -4. The time now is 08:57 PM.


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