Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Devices

Notices

Reply
 
Thread Tools Search this Thread
Old 12-05-2021, 06:21 PM   #1
jaiello69
Junior Member
jaiello69 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2021
Device: kindle fire
Cannot use kindel fire in Calibre 5.33.2 under Linux Mint 20 Ulyana

Hello, this is my debug mode output:

---
Spoiler:

error returned by libusb_claim_interface() = -6LIBMTP PANIC: Unable to initialize device
calibre Debug log
calibre 5.33.2 embedded-python: True is64bit: True
Linux-5.4.0-52-generic-x86_64-with-glibc2.2.5 Linux ('64bit', 'ELF')
('Linux', '5.4.0-52-generic', '#57-Ubuntu SMP Thu Oct 15 10:57:00 UTC 2020')
Python 3.8.5
Interface language: None
calibre 5.33.2 embedded-python: True is64bit: True
Linux-5.4.0-52-generic-x86_64-with-glibc2.2.5 Linux ('64bit', 'ELF')
('Linux', '5.4.0-52-generic', '#57-Ubuntu SMP Thu Oct 15 10:57:00 UTC 2020')
Python 3.8.5
Interface language: None
Turning on automatic hidpi scaling
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 100.86162790697674 x 101.07357512953367
Using calibre Qt style: True
[0.00] Starting up...
[0.00] Showing splash screen...
[0.11] splash screen shown
[0.11] Initializing db...
[0.13] db initialized
[0.13] Constructing main UI...
Error while trying to open MTPDevice(busnum=1, devnum=10, vendor_id=6473, product_id=10, bcd=534, serial='D026A0A023840BMX', manufacturer='Amazon', product='Kindle') (Driver: <calibre.devices.mtp.driver.MTP_DEVICE object at 0x7fe3dff19550>)
[0.88] main UI initialized...
[0.88] Hiding splash screen
Starting QuickView
Traceback (most recent call last):
File "calibre/devices/mtp/unix/driver.py", line 215, in open
File "calibre/devices/mtp/base.py", line 25, in synchronizer
File "calibre/devices/mtp/unix/driver.py", line 167, in create_device
libmtp.MTPError: Unable to open MTP device with busnum=1 and devnum=10, tried 1 such devices

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre/gui2/device.py", line 298, in detect_device
File "calibre/devices/mtp/driver.py", line 128, in open
File "calibre/devices/mtp/base.py", line 25, in synchronizer
File "calibre/devices/mtp/unix/driver.py", line 218, in open
calibre.devices.errors.OpenFailed: Failed to open MTPDevice(busnum=1, devnum=10, vendor_id=6473, product_id=10, bcd=534, serial='D026A0A023840BMX', manufacturer='Amazon', product='Kindle'): Error: Unable to open MTP device with busnum=1 and devnum=10, tried 1 such devices
[6.05] splash screen hidden
[6.05] Started up in 6.05 seconds with 34 books
Device 0 (VID=1949 and PID=000a) is a Amazon Kindle Fire (ID3).

Last edited by theducks; 12-05-2021 at 07:15 PM. Reason: spoilered
jaiello69 is offline   Reply With Quote
Old 12-05-2021, 06:34 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: 45,303
Karma: 27111240
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
libmtp cannot open your device, which means either that it has been mounted by some other program, like your desktop file manager or that you are running some kind of sandboxed calibre like the flatpak version. Use the official binaries from https://calibre-ebook.com/download_linux
kovidgoyal is offline   Reply With Quote
Advert
Old 12-05-2021, 06:50 PM   #3
jaiello69
Junior Member
jaiello69 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2021
Device: kindle fire
Yes, I didn't realize what that I have to Unmount the Kindle from Linux.
After doing the Unmount and laving the cable still connected, I restarted Calibre and it detected all good.

Thanks!
JJ
jaiello69 is offline   Reply With Quote
Old 12-12-2021, 06:52 AM   #4
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 13,911
Karma: 103895653
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
I go to System Monitor -> Processes and stop, not kill, gvfs-mtp-volume-monitor to prevent desktop and Caja mounting any MTP device. I found that some devices give communications errors trying to use MTP after unmount. An old Sony phone is OK just unmounting, but the Mars doesn't work.

So unless I want to use the file browser I now "pause" gvfs-mtp-volume-monitor by right click before connecting the USB cable. It will re-start if you kill it.

This is with the Mate Desktop. I found that other desktops on Mint do allow disabling mtp automount, but Mate / caja ignore the settings.

The problem is really Google/Android insistence on using MS MTP scheme instead of USB Mass Storage. I suspect to do with DRM, or just stupidity as all Linux gadgets without Android seem to use Mass Storage, not MTP.
MTP even on Windows may only allow one host program at a time.
Quoth is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre and Linux Mint 18.0 enuddleyarbl Calibre 9 07-23-2016 08:17 PM
Calibre on Linux Mint kjetil1001 Calibre 1 01-09-2015 03:46 PM
Linux Mint, Calibre and NOOKHD Moondancer Devices 2 02-22-2014 11:05 AM
Kindle Fire - Linux Mint problem cbalmforth Devices 8 12-07-2012 02:14 PM
Calibre in Linux mint Cy1clown Calibre 6 05-18-2011 02:16 PM


All times are GMT -4. The time now is 08:33 AM.


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