Menu

#1868 error returned by libusb_claim_interface() = -6LIBMTP PANIC: Unable to initialize device

1.1.16
pending
1
2022-12-30
2020-01-11
crvi
No
sid@unstable:~$ 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 14
Attempting to connect device(s)
error returned by libusb_claim_interface() = -6LIBMTP PANIC: Unable to initialize device
Unable to open raw device 0
OK.

OS: Latest Debian unstable / sid
Device: Samsung Galaxy S10

Discussion

  • Anonymous

    Anonymous - 2020-01-25

    I get the same error with a Samsung A50 (same PID)

     
  • Marcus Meissner

    Marcus Meissner - 2020-01-25

    probably is permission rela ted. can you test if it works as root , if it does the permissions need to be adjusted. (pending on your distribution)

     
  • Marcus Meissner

    Marcus Meissner - 2020-01-25
    • status: open --> pending
    • assigned_to: Marcus Meissner
     
  • Anonymous

    Anonymous - 2020-01-25

    Fails as root on the latest Fedora.

    [root@localhost libexec]# 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 3
    Attempting to connect device(s)
    error returned by libusb_claim_interface() = -6LIBMTP PANIC: Unable to initialize device
    Unable to open raw device 0
    OK.
    
     
  • Anonymous

    Anonymous - 2020-07-16

    Same issue on current latest Ubuntu (20.04)

     
  • Anonymous

    Anonymous - 2020-08-09

    The same error on ubuntu 20.04 and Samsung Galaxy A51

    root:# 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 1, dev 19
    Attempting to connect device(s)
    error returned by libusb_claim_interface() = -6LIBMTP PANIC: Unable to initialize device
    Unable to open raw device 0
    OK.

     
  • Anonymous

    Anonymous - 2020-08-18

    The same error on ubuntu 20.04 and Samsung Galaxy S10

    me@mypc:~$ 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 1, dev 12
    Attempting to connect device(s)
    error returned by libusb_claim_interface() = -6LIBMTP PANIC: Unable to initialize device
    Unable to open raw device 0
    OK.

     
  • Marcus Meissner

    Marcus Meissner - 2020-08-31

    error 6 means device already in use by another tool, likely gvfs.
    so it actually already mounted by gnome nautilus

     
  • Anonymous

    Anonymous - 2021-02-08

    In Plasma it appears only onr aoolication can have exclusive control of mtp, If Dolphin claims the mount than Cantata or Gwenview for instance, cannot connect. If Cantata has mtp access then the Dolphin file manager will not connect. Unfortunately there is no gui unmount for mtp in plasma. Closing out programs which use mtp and rebooting will allow the user to open the required program for mtp access.

     
  • Anonymous

    Anonymous - 2022-12-30

    Same issue with Samsung A53 (VID=04e8 and PID=6860) on Ubuntu 20.04 and libmtp 1.1.17

     

Anonymous
Anonymous

Add attachments
Cancel