12-27-2012, 05:16 PM | #1 |
Enthusiast
Posts: 31
Karma: 16610
Join Date: Dec 2009
Location: San Jose, CA, USA
Device: Kindle PW, Kobo Glo
|
New USB IDs for Kindle Fire HD 8.9?
I've got today a brand new Kindle Fire HD 8.9, Calibre does not recognize it. In the "Debug Device Detection" window it shows :
------- calibre 0.9.11 isfrozen: True is64bit: True Linux-3.7.1-gentoo-x86_64-Intel-R-_Core-TM-_i5-3570K_CPU_@_3.40GHz-with-gentoo-2.2 Linux ('64bit', 'ELF') ('Linux', '3.7.1-gentoo', '#1 SMP PREEMPT Mon Dec 24 17:47:33 PST 2012') Python 2.7.3 Linux: ('Gentoo Base System', '2.2', '') USB devices on system: [['0x1949', '0x8', '0x216', u'Amazon', u'Kindle', u'B0C9100425020HB3'], ['0x46d', '0xc52b', '0x1201', u'Logitech', u'USB Receiver', u''], ['0x46d', '0x81d', '0x10', u'', u'', u'B05DA890'], ['0x174c', '0x5106', '0x1', u'ASMedia', u'AS2105', u'5XW12KMY']] No disabled plugins Looking for devices of type: MTP_DEVICE No known MTP devices connected to system Looking for devices... Devices possibly connected: None ------- Note that product ID for the Kindle is 0x8 - I found in this forums message where Kovid mentions that Kindle Fire product IDs known to him are 0x6 and 0x7 (and 0xa after he updated Calibre as a result of the message), see https://www.mobileread.com/forums/sho...11&postcount=2 Is this a new version of Kindle Fire HD 8.9 with new USB IDs? If this is so, would it be possible to update Calibre to include these IDs into a list of known Kindle Fire HD devices? |
12-27-2012, 05:32 PM | #2 |
Enthusiast
Posts: 31
Karma: 16610
Join Date: Dec 2009
Location: San Jose, CA, USA
Device: Kindle PW, Kobo Glo
|
I tried to use USER_DEFINED device plugin in Calibre, by entering USB IDs into configuration dialog of the user defined device plugin, and disabling Kindle Fire plugin; after restart, Calibre still did not recognize the device, but the "Debug device detection" now says:
---------- calibre 0.9.11 isfrozen: True is64bit: True Linux-3.7.1-gentoo-x86_64-Intel-R-_Core-TM-_i5-3570K_CPU_@_3.40GHz-with-gentoo-2.2 Linux ('64bit', 'ELF') ('Linux', '3.7.1-gentoo', '#1 SMP PREEMPT Mon Dec 24 17:47:33 PST 2012') Python 2.7.3 Linux: ('Gentoo Base System', '2.2', '') USB devices on system: [['0x1949', '0x8', '0x216', u'Amazon', u'Kindle', u'B0C9100425020HB3'], ['0x46d', '0xc52b', '0x1201', u'Logitech', u'USB Receiver', u''], ['0x46d', '0x81d', '0x10', u'', u'', u'B05DA890'], ['0x174c', '0x5106', '0x1', u'ASMedia', u'AS2105', u'5XW12KMY']] Disabled plugins: KINDLE_FIRE Looking for devices of type: MTP_DEVICE No known MTP devices connected to system Looking for devices... USBDevice(busnum=3, devnum=10, vendor_id=0x1949, product_id=0x0008, bcd=0x0216, manufacturer=Amazon, product=Kindle, serial=B0C9100425020HB3) Detected possible device USER_DEFINED Devices possibly connected: User Defined USB driver, Trying to open User Defined USB driver ... failed Opening of the following devices failed <calibre.devices.user_defined.driver.USER_DEFINE D object at 0x1916610> Traceback (most recent call last): File "site-packages/calibre/devices/__init__.py", line 157, in debug File "site-packages/calibre/devices/usbms/device.py", line 862, in open File "site-packages/calibre/devices/usbms/device.py", line 617, in open_linux DeviceError: Unable to detect the USER_DEFINED disk drive. Either the device has already been ejected, or your kernel is exporting a deprecated version of SYSFS. ---------- Is this because USER_DEFINED plugin can't work with device that uses MTP protocol even if it knows it's USB IDs? |
Advert | |
|
12-27-2012, 06:44 PM | #3 |
Enthusiast
Posts: 31
Karma: 16610
Join Date: Dec 2009
Location: San Jose, CA, USA
Device: Kindle PW, Kobo Glo
|
OK, following patch fixes this: (just add the line with new ID to the array initialization). After rebuild/install, Calibre recognizes my Kindle Fire HD 8.9
Code:
*** calibre/src/calibre/devices/mtp/unix/devices.c.old 2012-12-27 15:39:46.218207350 -0800 --- calibre/src/calibre/devices/mtp/unix/devices.c 2012-12-27 15:36:17.480203715 -0800 *************** *** 13,18 **** --- 13,19 ---- // Amazon Kindle Fire HD , { "Amazon", 0x1949, "Fire HD", 0x0007, DEVICE_FLAGS_ANDROID_BUGS} + , { "Amazon", 0x1949, "Fire HD", 0x0008, DEVICE_FLAGS_ANDROID_BUGS} , { "Amazon", 0x1949, "Fire HD", 0x000a, DEVICE_FLAGS_ANDROID_BUGS} // Nexus 10 |
12-27-2012, 09:14 PM | #4 |
creator of calibre
Posts: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Thanks, will be in next release.
|
12-28-2012, 10:15 PM | #5 |
Enthusiast
Posts: 31
Karma: 16610
Join Date: Dec 2009
Location: San Jose, CA, USA
Device: Kindle PW, Kobo Glo
|
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre Not Connecting to Kindle Fire Via USB | ScottyAG | Devices | 6 | 09-28-2012 05:45 PM |
USB to Fire mini USB Cable needed | swiftness | Kindle Fire | 6 | 12-06-2011 01:37 PM |
Does Kindle spread USB virus like USB flash drive? | rockchen | General Discussions | 49 | 02-17-2011 10:03 AM |