![]() |
#1 |
Member
![]() 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?
|
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,156
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
run
calibre-debug -d and post the output |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() 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. |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,156
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Is your kernel compiled with support for the deprecated sysfs interface?
|
![]() |
![]() |
![]() |
#5 |
Member
![]() 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.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,156
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
zcat /proc/config.gz | grep SYSFS
|
![]() |
![]() |
![]() |
#7 |
Member
![]() Posts: 13
Karma: 10
Join Date: Jul 2009
Device: Kindle DX
|
No such file or directory. Ok, so how do I fix this?
|
![]() |
![]() |
![]() |
#8 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,156
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Try this instead
grep SYSFS /boot/config-`uname -r` |
![]() |
![]() |
![]() |
#9 |
Member
![]() 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 |
![]() |
![]() |
![]() |
#10 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,156
Karma: 27110894
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 |
![]() |
![]() |
![]() |
#11 |
Member
![]() 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. |
![]() |
![]() |
![]() |
#12 |
Member
![]() 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 |
![]() |
![]() |
![]() |
#13 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,156
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
cat /sys/devices/pci0000:00/0000:00:1d.7/usb7/7-2/bcdDevice
|
![]() |
![]() |
![]() |
#14 |
Member
![]() Posts: 13
Karma: 10
Join Date: Jul 2009
Device: Kindle DX
|
Output is
0100 |
![]() |
![]() |
![]() |
#15 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,156
Karma: 27110894
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 |
![]() |
![]() |
![]() |
|
![]() |
||||
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 |