Listing raw device(s)
Device 0 (VID=0fce and PID=0197) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
Found 1 device(s):
0fce:0197 @ bus 1, dev 9
Attempting to connect device
PTP_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 7: Found a bad handle, trying to ignore it.
Error 7: Found a bad handle, trying to ignore it.
Listing File Information on Device with name: Xperia ZR
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Interesting. I also have a Sony Xperia ZR running Android 4.1.2.
My VID:PID are 0fce:5197 though, with ADB enabled.
Strangely enough, running mtp-detect multiple times gave different results, one of them said
Device 0 (VID=0fce and PID=5197) is UNKNOWN.
and one of them gave me a huge list which unfortunately was larger than my terminal buffer so I couldn't save it, here is a small part (the last) of it:
libmtp supported (playable) filetypes:
Folder
Text file
HTML file
RIFF WAVE file
ISO MPEG-1 Audio Layer 3
JPEG file
BMP bitmap file
GIF bitmap file
JFIF file
Portable Network Graphics
TIFF bitmap file
Ogg container format
Advanced Audio Coding (AAC)/MPEG-2 Part 7/MPEG-4 Part 3
MPEG-4 Part 14 Container Format (Audio+Video Emphasis)
Abstract Album file
Abstract Playlist file
XML file
Free Lossless Audio Codec (FLAC)
Now, it seems to have stabilised at the following (also after I disabled ADB):
libmtp version: 1.1.3
Listing raw device(s)
Found 1 device(s):
0fce:5197 @ bus 2, dev 6
Attempting to connect device(s)
OK.
Not quite sure what to make of this. Running mtp-filetree gives the same VID/PID as noted in the OP:
Device 0 (VID=0fce and PID=0197) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
Attempting to connect device(s)
LIBMTP PANIC: Could not open session! (Return code 8195)
Try to reset the device.
Unable to open raw device 0
OK.
Running mtp-connect also report VID=0fce and PID=0197.
Not sure what it was, but one of the commands seem to have produced that list mentioned earlier as a file called "1", find attached. Hope that helps.
Listing raw device(s)
Device 0 (VID=0fce and PID=0197) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
Found 1 device(s):
0fce:0197 @ bus 1, dev 9
Attempting to connect device
PTP_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 7: Found a bad handle, trying to ignore it.
Error 7: Found a bad handle, trying to ignore it.
Listing File Information on Device with name: Xperia ZR
Interesting. I also have a Sony Xperia ZR running Android 4.1.2.
My VID:PID are 0fce:5197 though, with ADB enabled.
Strangely enough, running mtp-detect multiple times gave different results, one of them said
and one of them gave me a huge list which unfortunately was larger than my terminal buffer so I couldn't save it, here is a small part (the last) of it:
Now, it seems to have stabilised at the following (also after I disabled ADB):
Not quite sure what to make of this. Running mtp-filetree gives the same VID/PID as noted in the OP:
Running mtp-connect also report VID=0fce and PID=0197.
Not sure what it was, but one of the commands seem to have produced that list mentioned earlier as a file called "1", find attached. Hope that helps.
Attached is the full output of mtp-detect.
Sony Xperia ZR (C5503)
Normal: VID=0fce and PID=0197
ADB enabled: VID=0fce and PID=5197
I have added both ids to our git for 1.1.9 release. thanks!