Bug#921559: MTP broken for number of phones with "LIBMTP PANIC: Unable to initialize device"
Hi I had a similar issue. Turns out that Gnome's gvfs was locking the mtp device. Since I run KDE, I've removed gvfs-backends package and rebooted. I now can run mtp-detect without issue. HTH
Bug#921559: MTP broken for number of phones with "LIBMTP PANIC: Unable to initialize device"
Thanks. I also got this error on a new computer, running NixOs 20.03, and on a completely different phone, a Samsung A 40: [nix-shell:~]$ mtp-detect libmtp version: 1.1.16 Listing raw device(s) Device 0 (VID=04e8 and PID=6860) is a Samsung Galaxy models (MTP). Found 1 device(s): Samsung: Galaxy models (MTP) (04e8:6860) @ bus 1, dev 124 Attempting to connect device(s) error returned by libusb_claim_interface() = -6LIBMTP PANIC: Unable to initialize device Unable to open raw device 0 OK. I also tried "android-file-transfer", and when I kill the process that is using the device, it does work. Can I help somehow? Cheers, Léo
Bug#921559: MTP broken for number of phones with "LIBMTP PANIC: Unable to initialize device"
Hi, I am really annoyed by this issue! It seems to be present in other distrib at least in Fedora but I am not able to reproduce... I have no problem with my android phones. Le ven. 19 juin 2020 à 11:51, Tobias Bora a écrit : > > I can confirm the bug also with libmtp9 1.1.17 and a Samsung Galaxy A3 > (2015, A300FU). Is there at least meanwhile a solution independant of > libmtp and a bit faster than installing a FTP server on my phone? You can try to use "android-file-transfer" (available in Debian repo), it should work because it doesn't use libmtp. Best, Dylan
Bug#921559: MTP broken for number of phones with "LIBMTP PANIC: Unable to initialize device"
I can confirm the bug also with libmtp9 1.1.17 and a Samsung Galaxy A3 (2015, A300FU). Is there at least meanwhile a solution independant of libmtp and a bit faster than installing a FTP server on my phone? $ sudo apt-cache policy libmtp9 libmtp9: Installé : 1.1.17-3 Candidat : 1.1.17-3 Table de version : *** 1.1.17-3 500 500 http://ftp.fr.debian.org/debian sid/main amd64 Packages 100 /var/lib/dpkg/status $ sudo mtp-detect libmtp version: 1.1.17 Listing raw device(s) Device 0 (VID=04e8 and PID=6860) is a Samsung Galaxy models (MTP). Found 1 device(s): Samsung: Galaxy models (MTP) (04e8:6860) @ bus 2, dev 8 Attempting to connect device(s) error returned by libusb_claim_interface() = -6LIBMTP PANIC: Unable to initialize device Unable to open raw device 0 OK.
Bug#921559: MTP broken for number of phones with "LIBMTP PANIC: Unable to initialize device"
On Thu, 5 Sep 2019 21:49:41 +0200 Eric Van Buggenhaut wrote: On Sun, 4 Aug 2019 18:59:34 +0300 Vincas Dargis wrote: > On Thu, 11 Apr 2019 09:20:01 +0200 Erwan David wrote: > > Same problem with a Huawei P9 Lite (2017) > > My problems are fixed now with libmtp 1.1.16 on Sid. Does it work now for you too? > > I'm experiencing the same problem with libmtp 1.1.16 on Buster: $ mtp-detect libmtp version: 1.1.16 Listing raw device(s) Device 0 (VID=18d1 and PID=4ee2) is a Google Inc Nexus/Pixel (MTP+ADB). Found 1 device(s): Google Inc: Nexus/Pixel (MTP+ADB) (18d1:4ee2) @ bus 1, dev 38 Attempting to connect device(s) error returned by libusb_claim_interface() = -6LIBMTP PANIC: Unable to initialize device Unable to open raw device 0 OK. Getting identical problems using libmtp 1.1.16 on Fedora with Huawei Honor 5 ( which is called Ascend P8 according to ProdID ) mtp-detect libmtp version: 1.1.16 Listing raw device(s) Device 0 (VID=12d1 and PID=1082) is a Huawei Ascend P8. Found 1 device(s): Huawei: Ascend P8 (12d1:1082) @ bus 2, dev 9 Attempting to connect device(s) error returned by libusb_claim_interface() = -6LIBMTP PANIC: Unable to initialize device Unable to open raw device 0 OK.
Bug#921559: MTP broken for number of phones with "LIBMTP PANIC: Unable to initialize device"
On Sun, 4 Aug 2019 18:59:34 +0300 Vincas Dargis wrote: > On Thu, 11 Apr 2019 09:20:01 +0200 Erwan David wrote: > > Same problem with a Huawei P9 Lite (2017) > > My problems are fixed now with libmtp 1.1.16 on Sid. Does it work now for you too? > > I'm experiencing the same problem with libmtp 1.1.16 on Buster: $ mtp-detect libmtp version: 1.1.16 Listing raw device(s) Device 0 (VID=18d1 and PID=4ee2) is a Google Inc Nexus/Pixel (MTP+ADB). Found 1 device(s): Google Inc: Nexus/Pixel (MTP+ADB) (18d1:4ee2) @ bus 1, dev 38 Attempting to connect device(s) error returned by libusb_claim_interface() = -6LIBMTP PANIC: Unable to initialize device Unable to open raw device 0 OK.
Bug#921559: MTP broken for number of phones with "LIBMTP PANIC: Unable to initialize device"
On Thu, 11 Apr 2019 09:20:01 +0200 Erwan David wrote: Same problem with a Huawei P9 Lite (2017) My problems are fixed now with libmtp 1.1.16 on Sid. Does it work now for you too?
Bug#921559: MTP broken for number of phones with "LIBMTP PANIC: Unable to initialize device"
Package: libmtp9 Version: 1.1.16-2 Followup-For: Bug #921559 Dear Maintainer, *** Reporter, please consider answering these questions, where appropriate *** * What led up to the situation? * What exactly did you do (or not do) that was effective (or ineffective)? * What was the outcome of this action? * What outcome did you expect instead? *** End of the template - remove these template lines *** Same problem with a Huawei P9 Lite (2017) I see the problem with jmtpfs or mtp-tools so definitely the bug is in libmtp9 -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'stable'), (300, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0-2-amd64 (SMP w/4 CPU cores) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages libmtp9 depends on: ii libc6 2.28-8 ii libgcrypt201.8.4-5 ii libmtp-common 1.1.16-2 ii libusb-1.0-0 2:1.0.22-2 Versions of packages libmtp9 recommends: ii libmtp-runtime 1.1.16-2 ii udev241-3 libmtp9 suggests no packages. -- no debconf information