![]() |
#1 |
Member
![]() Posts: 14
Karma: 10
Join Date: Oct 2017
Device: Kindle Voyage
|
Calibre does not detect Onyx Boox in Linux Debian 11
Hello,
My device is MTP device, and I have made sure that it is not automounted. Here is the copy of the debug device detetction: === Spoiler:
Last edited by theducks; 08-22-2021 at 05:35 PM. Reason: spoilered |
![]() |
![]() |
![]() |
#2 |
Running with scissors
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,586
Karma: 14328510
Join Date: Nov 2019
Device: none
|
Does lsusb show it?
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 14
Karma: 10
Join Date: Oct 2017
Device: Kindle Voyage
|
Hello,
I am not sure about isusb, but the OS detect my device. I can send books to my device via Dolphin File Manager (in KDE Debian Linux). Kind regards, Aleksandar |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,320
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Only one program can access an MTP device at a time on Linux. Prevent your desktop/file manager from automounting the device and it will be detected in calibre.
|
![]() |
![]() |
![]() |
#5 |
Member
![]() Posts: 14
Karma: 10
Join Date: Oct 2017
Device: Kindle Voyage
|
Hello,
Thanks for your input. I have disabled automounting in settings, see the image settings.png. In the notifyer for removable devices, there is a button to mount, see the image not-mounted.png. But Calibre does not detect the device. I have once again copied the report of the debug device detection. This problem appeared after upgrading to Debian 11. I had no such problems in the previous release of Debian 10. Kind regards, Aleksandar === COPY from the Debug Device Detection: calibre 5.25 embedded-python: True is64bit: True Linux-5.10.0-8-amd64-x86_64-with-glibc2.2.5 Linux ('64bit', 'ELF') ('Linux', '5.10.0-8-amd64', '#1 SMP Debian 5.10.46-4 (2021-08-03)') Python 3.8.5 Interface language: en_GB Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 41, 0) && DeDRM (7, 2, 1) && Package KFX (from KFX Input) (1, 41, 0) && KFX metadata reader (from KFX Input) (1, 41, 0) && KFX Input (1, 41, 0) && Set KFX metadata (from KFX Output) (1, 54, 0) && KFX Output (1, 54, 0) USB devices on system: [['0x8087', '0xa2b', '0x10', '', '', ''], ['0x5c6', '0xf003', '0x318', 'Android', 'Android', '134d90c8']] No disabled plugins Looking for devices of type: MTP_DEVICE MTP devices connected: USBDevice(busnum=2, devnum=3, vendor_id=0x05c6, product_id=0xf003, bcd=0x0318, manufacturer=Android, product=Android, serial=134d90c8) Trying to open: USBDevice(busnum=2, devnum=3, vendor_id=0x05c6, product_id=0xf003, bcd=0x0318, manufacturer=Android, product=Android, serial=134d90c8) Opening device failed: Traceback (most recent call last): File "calibre/devices/mtp/unix/driver.py", line 216, in open File "calibre/devices/mtp/base.py", line 25, in synchronizer File "calibre/devices/mtp/unix/driver.py", line 168, in create_device libmtp.MTPError: Unable to open MTP device with busnum=2 and devnum=3, tried 1 such devices During handling of the above exception, another exception occurred: Traceback (most recent call last): File "calibre/devices/mtp/unix/driver.py", line 146, in debug_managed_device_detection 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 219, in open calibre.devices.errors.OpenFailed: Failed to open USBDevice(busnum=2, devnum=3, vendor_id=0x05c6, product_id=0xf003, bcd=0x0318, manufacturer=Android, product=Android, serial=134d90c8): Error: Unable to open MTP device with busnum=2 and devnum=3, tried 1 such devices Looking for devices of type: SMART_DEVICE_APP All IP addresses {'lo': [{'addr': '127.0.0.1', 'netmask': '255.0.0.0', 'peer': '127.0.0.1'}], 'wlo1': [{'addr': '10.0.0.12', 'netmask': '255.255.255.0', 'broadcast': '10.0.0.255'}]} No device is connected Looking for devices... Devices possibly connected: None |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,320
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The debug output shows that libmtp is unable to open your device, so either your device is already opened or you have permissions issues. You will need to figure out which it is.
|
![]() |
![]() |
![]() |
#7 |
Member
![]() Posts: 14
Karma: 10
Join Date: Oct 2017
Device: Kindle Voyage
|
If it is permission issue, how do I solve it?
|
![]() |
![]() |
![]() |
#8 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,320
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No clue, you will need to ask in your distributions forums. In general check the permissions on the usb device nodes.
|
![]() |
![]() |
![]() |
#9 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,964
Karma: 103895653
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
I find that the file system has exclusive MTP on some versions of Linux desktop.
On some devices doing an eject solves it. But I go System Monitor -> Processes -> scroll to "gvfs-mtp-volume-monitor" Right Click: Stop Process Then Calibre works with the Boyue Likebook Mars perfectly. You need to Right Click and "Continue Process" to have File Manager access when you arn't using Calibre, maybe to copy some non-book files or something. MTP is horrible. Only one program at a time can use it. This is an MTP issue, not Linux. Same problem in Windows, such as connecting an audio library / player. By default Explorer gets it. Warning: On Linux: Don't end or Kill "gvfs-mtp-volume-monitor" as it will be automagically restarted. Some desktops/filemanagers allow disable of MTP FS and then Calibre works. I usually use Mint Linux 20.1, Mate desktop (Marco) and Caja File manager. That combo doesn't let Calibre access MTP devices and the Control Panel settings to disable MTP Filemanager only work on other desktops. Maybe KDE. I have usually 2 or 3 desktop managers and 2 or 3 accounts on every Linux I have in case of accidents and to test issues like this. It's not USB permissions. Last edited by Quoth; 08-23-2021 at 07:42 AM. Reason: Warning |
![]() |
![]() |
![]() |
#10 |
Member
![]() Posts: 14
Karma: 10
Join Date: Oct 2017
Device: Kindle Voyage
|
Hello Quoth,
Thanks for your reply. Calibre could detect my Onyx device in the previous release of Debian 10, and I recall that I had other file managers installed in my system. But after upgrading to Debian 11 (with pure installation), I did not install other file managers, but have only the default KDE file manager Dolphin. Once again, thanks for your helpful reply. Kind regards, Aleksandar |
![]() |
![]() |
![]() |
#11 |
Member
![]() Posts: 14
Karma: 10
Join Date: Oct 2017
Device: Kindle Voyage
|
The problem is now solved after I installed mtp-tools from the Debian repository. It was not installed by default. In addition one has also to install mtpfs.
After installing mtp-tools, Calibre now detects the Onyx device! |
![]() |
![]() |
![]() |
#12 |
Member
![]() Posts: 14
Karma: 10
Join Date: Oct 2017
Device: Kindle Voyage
|
The problem is now solved after installing mtp-tools! Mtp-tools must be installed and it is part of Debian repository. It is not installed by default.
After installing it, Calibre can now detetct my Onyx device! |
![]() |
![]() |
![]() |
#13 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,964
Karma: 103895653
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Linux Mint is essentially Debian with some Ubuntu. I installed the mtp-tools, but that only worked for the KDE desktop. With Mate and Caja you have to:
System Monitor -> Processes -> scroll to "gvfs-mtp-volume-monitor" Right Click: Stop Process Otherwise it mounts in the filesystem on insertion. Glad you got it sorted @Kalkas as I'd forgotten about mtp-tools. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Onyx Boox Note 10.3 on Linux | norbusan | Onyx Boox | 23 | 06-20-2019 05:52 AM |
Calibre 3 and rar on Debian Linux | norbusan | Calibre | 47 | 07-25-2017 10:14 AM |
Glo Where's Debian GNU/Linux image for Kobo Glo?哪里有Kobo Glo的Debian GNU/Linux镜像? | zaoqi | Kobo Developer's Corner | 0 | 04-09-2017 02:33 AM |
Debian/Ubuntu on Onyx Boox M96 | daniele_dll | Onyx Boox | 35 | 08-18-2016 02:13 PM |
Installing calibre 1.26 in linux debian with no sudo | Nix Hard | Calibre | 5 | 03-02-2014 10:47 PM |