When running gmtp (libmtp 1.1.16 underneath) With a Huawei Ascend P2 plugged in and set to MTP mode, I get the following
terminal output:
$ gmtp
Device 0 (VID=12d1 and PID=1051) is a Huawei Honor U8860.
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
Note the wrong device name, although the company name is correct.
After a minute or two a pop-up window appears containing 'Failed to get storage parameters from the device - need to disconnect.'
I have attached the output from mtp-detect.
Anonymous
I get the same error with a Samsung Galaxy Nexus. It's correctly recognized though, and the error happens later during actual file transfer. This repeats indefinitely:
Also, on startup the program (mtp-detect or gmtp doesn't matter) hangs for a long time, i.e. several minutes. That might be a separate bug though.
This is also libmtp 1.1.16.
Have you enabled "Utilize Alternate Access Mode" in the preferences in gMTP?
(This should help with Android devices and slow access, but may not correct the ptp_mtp_getobjectpropssupported() failed issue).
And ensure that when you click on Connect in gMTP, that your device is unlocked. (Locking the device also locks the storage containers that are accessible via MTP).
--
Darran
gMTP Lead Developer
Last edit: D.Kartaschew 2013-11-06
Thanks, I tried to enable "Utilize Alternate Access Mode". Unfortunately it didn't help with the slowness, rather the opposite - I couldn't even browse the file structure, which works otherwise. After the long pause, I got lots of this:
and this:
and at the end one instance of:
To avoid doubt, I prodded the phone regularly to ensure that it didn't go into lock during the multi-minute wait.
Which libmtp versions are we talking about here? Has anyone tested with the GIT version?