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:
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!