Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 08-01-2009, 12:00 PM   #1
Janothar
Member
Janothar began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Jul 2009
Device: Kindle DX
0.6.x and Kindle 2 on Linux

So, I've got Kubuntu 8.04 LTS, using KDE 3.5, and I've got the newest version of Calibre going, but it won't detect my Kindle 2. Is there something I need to do to make it work that I've missed, or is this an error?
Janothar is offline   Reply With Quote
Old 08-01-2009, 01:44 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: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
run

calibre-debug -d

and post the output
kovidgoyal is offline   Reply With Quote
Advert
Old 08-01-2009, 01:49 PM   #3
Janothar
Member
Janothar began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Jul 2009
Device: Kindle DX
USB devices on system: [(6473, 2, 256), (0, 0, 518), (0, 0, 518), (0, 0, 518), (0, 0, 518), (0, 0, 518), (0, 0, 518), (0, 0, 518)]
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 PRS505
Looking for PRS700
Looking for ANDROID
Looking for CYBOOK_OPUS
Looking for COOL_ER
Device possibly connected: <calibre.devices.kindle.driver.KINDLE2 object at 0x90e26ac>
Trying to open device... failed
Opening of the following devices failed
<calibre.devices.kindle.driver.KINDLE2 object at 0x90e26ac>
Traceback (most recent call last):
File "/home/kovid/work/calibre/src/calibre/debug.py", line 130, in debug_device_driver
File "/home/kovid/work/calibre/src/calibre/devices/usbms/device.py", line 531, in open
File "/home/kovid/work/calibre/src/calibre/devices/usbms/device.py", line 504, in open_linux
DeviceError: Unable to detect the KINDLE2 disk drive.
Janothar is offline   Reply With Quote
Old 08-01-2009, 01:53 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
Is your kernel compiled with support for the deprecated sysfs interface?
kovidgoyal is offline   Reply With Quote
Old 08-01-2009, 01:58 PM   #5
Janothar
Member
Janothar began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Jul 2009
Device: Kindle DX
I don't know, and am having trouble finding how to find out. Don't know anything about sysfs. I found libsysfs2 installed on my system already, though, if that indicates anything.
Janothar is offline   Reply With Quote
Advert
Old 08-01-2009, 02:03 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: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
zcat /proc/config.gz | grep SYSFS
kovidgoyal is offline   Reply With Quote
Old 08-01-2009, 02:06 PM   #7
Janothar
Member
Janothar began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Jul 2009
Device: Kindle DX
No such file or directory. Ok, so how do I fix this?
Janothar is offline   Reply With Quote
Old 08-01-2009, 02:28 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: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Try this instead

grep SYSFS /boot/config-`uname -r`
kovidgoyal is offline   Reply With Quote
Old 08-01-2009, 02:37 PM   #9
Janothar
Member
Janothar began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Jul 2009
Device: Kindle DX
CONFIG_ACPI_SYSFS_POWER=y
CONFIG_SYSFS=y
# CONFIG_SYSFS_DEPRECATED is not set
CONFIG_RTC_INTF_SYSFS=y
CONFIG_VIDEO_PVRUSB2_SYSFS=y
Janothar is offline   Reply With Quote
Old 08-01-2009, 02:50 PM   #10
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
grep -r 1949 `find /sys/devices/ -name idVendor`

grep -r 0002 `find /sys/devices/ -name idProduct`

With your Kindle plugged in
kovidgoyal is offline   Reply With Quote
Old 08-01-2009, 02:59 PM   #11
Janothar
Member
Janothar began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Jul 2009
Device: Kindle DX
For both, I'm getting invalid max count. I'm guessing the numbers are variable, how can I find them out?

Oh, and thanks a lot for all the help.
Janothar is offline   Reply With Quote
Old 08-01-2009, 03:00 PM   #12
Janothar
Member
Janothar began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Jul 2009
Device: Kindle DX
Ack, I had a typo:

/sys/devices/pci0000:00/0000:00:1d.7/usb7/7-2/idVendor:1949

/sys/devices/pci0000:00/0000:00:1d.7/usb7/7-2/idProduct:0002
Janothar is offline   Reply With Quote
Old 08-01-2009, 03:02 PM   #13
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
cat /sys/devices/pci0000:00/0000:00:1d.7/usb7/7-2/bcdDevice
kovidgoyal is offline   Reply With Quote
Old 08-01-2009, 03:04 PM   #14
Janothar
Member
Janothar began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Jul 2009
Device: Kindle DX
Output is

0100
Janothar is offline   Reply With Quote
Old 08-01-2009, 03:16 PM   #15
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
OK good so far now

find /sys/devices/pci0000:00/0000:00:1d.7/usb7/7-2/ -name block
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing a "normal" Debian ARMEL Linux on the Kindle choff Kindle Developer's Corner 18 09-09-2014 02:42 AM
Ubuntu linux running on a Kindle 2 Jellby News 10 09-04-2009 05:49 PM
eject kindle in linux (not unmount) demoric Amazon Kindle 4 08-02-2009 05:33 PM
Supposed linux code for Kindle Dragoro Amazon Kindle 2 03-17-2009 06:25 AM


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


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