Bug 366108 - MTP recursively allow request.
Summary: MTP recursively allow request.
Status: RESOLVED UPSTREAM
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: MTP (show other bugs)
Version: 18.04.3
Platform: Kubuntu Linux
: NOR major
Target Milestone: ---
Assignee: Philipp Schmidt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-25 20:58 UTC by Maksim
Modified: 2022-01-06 12:58 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maksim 2016-07-25 20:58:31 UTC
After connect the phone I have endless 'reconnect' which started from 'deny / allow' request on the phone after seems like it goes reconnect again and ask this again and so on.

:~$ mtpfs --version
Listing raw device(s)
   No raw devices found.
mf@mf-laptop:~$ mtpfs --version
Listing raw device(s)
Device 0 (VID=1004 and PID=633e) is a LG Electronics Inc. LG G Flex 2.
   Found 1 device(s):
   LG Electronics Inc.: LG G Flex 2 (1004:633e) @ bus 2, dev 22
Attempting to connect device
ignoring libusb_claim_interface() = -6PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
Android device detected, assigning default bug flags
Error 1: Get Storage information failed.
Error 2: PTP Layer error 02fe: get_handles_recursively(): could not get object handles.
Error 2: Error 02fe: PTP: Protocol error, data expected
Listing File Information on Device with name: MF_G4
LIBMTP_Get_Storage() failed:-1

kio-mtp is already the newest version (0.75+git20140304-2).


Reproducible: Always

Steps to Reproduce:
1. connect the phone
2. press allow on popup question
3. goes to 2 stage again
Comment 1 Vlastimil Kriz 2017-04-04 21:01:51 UTC
I have the same problem!
Comment 2 Vlastimil Kriz 2017-04-04 21:06:32 UTC
(In reply to Vlastimil Kriz from comment #1)
> I have the same problem!

dub 04 22:41:45 linux-7oxy kernel: usb 1-4: USB disconnect, device number 32
dub 04 22:41:45 linux-7oxy kernel: usb 1-4: new high-speed USB device number 33 using ehci-pci
dub 04 22:41:45 linux-7oxy kernel: usb 1-4: New USB device found, idVendor=1004, idProduct=633e
dub 04 22:41:45 linux-7oxy kernel: usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
dub 04 22:41:45 linux-7oxy kernel: usb 1-4: Product: LGE Android Phone
dub 04 22:41:45 linux-7oxy kernel: usb 1-4: Manufacturer: LG Electronics Inc.
dub 04 22:41:45 linux-7oxy kernel: usb 1-4: SerialNumber: LGH815ee5c1c02
dub 04 22:41:46 linux-7oxy kernel: usb 1-4: usbfs: process 862 (mtp.so) did not claim interface 0 before use
dub 04 22:41:46 linux-7oxy kernel: usb 1-4: reset high-speed USB device number 33 using ehci-pci
dub 04 22:41:46 linux-7oxy kernel: usb 1-4: usbfs: process 862 (mtp.so) did not claim interface 0 before use
dub 04 22:41:46 linux-7oxy kernel: usb 1-4: usbfs: process 2607 (ThreadWeaver::T) did not claim interface 0 before use
dub 04 22:41:46 linux-7oxy kernel: usb 1-4: usbfs: process 2606 (ThreadWeaver::T) did not claim interface 0 before use
dub 04 22:41:46 linux-7oxy kernel: usb 1-4: reset high-speed USB device number 33 using ehci-pci
dub 04 22:41:46 linux-7oxy kernel: usb 1-4: usbfs: process 2606 (ThreadWeaver::T) did not claim interface 0 before use
dub 04 22:41:46 linux-7oxy kernel: usb 1-4: usbfs: process 862 (mtp.so) did not claim interface 0 before use
dub 04 22:41:46 linux-7oxy kernel: usb 1-4: reset high-speed USB device number 33 using ehci-pci
dub 04 22:41:46 linux-7oxy kernel: usb 1-4: usbfs: process 2606 (ThreadWeaver::T) did not claim interface 0 before use
dub 04 22:41:46 linux-7oxy kernel: usb 1-4: reset high-speed USB device number 33 using ehci-pci
dub 04 22:41:49 linux-7oxy kernel: usb 1-4: USB disconnect, device number 33
dub 04 22:41:49 linux-7oxy kernel: usb 1-4: new high-speed USB device number 34 using ehci-pci
dub 04 22:41:50 linux-7oxy kernel: usb 1-4: New USB device found, idVendor=1004, idProduct=633e
dub 04 22:41:50 linux-7oxy kernel: usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
dub 04 22:41:50 linux-7oxy kernel: usb 1-4: Product: LGE Android Phone
dub 04 22:41:50 linux-7oxy kernel: usb 1-4: Manufacturer: LG Electronics Inc.
dub 04 22:41:50 linux-7oxy kernel: usb 1-4: SerialNumber: LGH815ee5c1c02
dub 04 22:41:50 linux-7oxy kernel: usb 1-4: usbfs: process 2607 (ThreadWeaver::T) did not claim interface 0 before use
dub 04 22:41:50 linux-7oxy kernel: usb 1-4: reset high-speed USB device number 34 using ehci-pci
dub 04 22:41:50 linux-7oxy kernel: usb 1-4: usbfs: process 2607 (ThreadWeaver::T) did not claim interface 0 before use
dub 04 22:41:50 linux-7oxy kernel: usb 1-4: usbfs: process 4398 (mtp.so) did not claim interface 0 before use
dub 04 22:41:50 linux-7oxy kernel: usb 1-4: reset high-speed USB device number 34 using ehci-pci
dub 04 22:41:50 linux-7oxy kernel: usb 1-4: usbfs: process 2607 (ThreadWeaver::T) did not claim interface 0 before use
dub 04 22:41:50 linux-7oxy kernel: usb 1-4: reset high-speed USB device number 34 using ehci-pci
dub 04 22:41:51 linux-7oxy kernel: usb 1-4: usbfs: process 2606 (ThreadWeaver::T) did not claim interface 0 before use
dub 04 22:41:51 linux-7oxy kernel: usb 1-4: reset high-speed USB device number 34 using ehci-pci
dub 04 22:41:51 linux-7oxy kernel: usb 1-4: usbfs: process 2606 (ThreadWeaver::T) did not claim interface 0 before use
dub 04 22:41:51 linux-7oxy kernel: usb 1-4: usbfs: process 4398 (mtp.so) did not claim interface 0 before use
dub 04 22:41:51 linux-7oxy kernel: usb 1-4: reset high-speed USB device number 34 using ehci-pci
dub 04 22:41:51 linux-7oxy kernel: usb 1-4: usbfs: process 2606 (ThreadWeaver::T) did not claim interface 0 before use
dub 04 22:41:51 linux-7oxy kernel: usb 1-4: reset high-speed USB device number 34 using ehci-pci
dub 04 22:41:52 linux-7oxy kernel: usb 1-4: usbfs: process 4420 (mtp.so) did not claim interface 0 before use
dub 04 22:41:52 linux-7oxy kernel: usb 1-4: reset high-speed USB device number 34 using ehci-pci
dub 04 22:41:52 linux-7oxy kernel: usb 1-4: usbfs: process 4420 (mtp.so) did not claim interface 0 before use
dub 04 22:41:52 linux-7oxy kernel: usb 1-4: reset high-speed USB device number 34 using ehci-pci
dub 04 22:41:53 linux-7oxy kernel: usb 1-4: reset high-speed USB device number 34 using ehci-pci
dub 04 22:41:53 linux-7oxy kernel: usb 1-4: reset high-speed USB device number 34 using ehci-pci
Comment 3 Harald Sitter 2022-01-06 12:58:05 UTC
Bug in libmtp it seems. Best report there if you can still reproduce the issue.