Hi, I am unable to navigate the files on my LG-G710VM phone. I am getting the following error from mtp-detect, which I assume should be reported before anything else:
$mtp-detect | grep idProduct
Device 0 (VID=1004 and PID=62c9) is UNKNOWN in libmtp v1.1.16.
Please report this VID/PID and the device model to the development team.
Error 1: Get Storage information failed.
idProduct: 62c9
$
The output of mtp-detect is included in the attached mtp-detect.log.
On running mtpfs, the device is sort of appearing to mount on a mnt/android-phone directory I made, but any attempt to access or even stat the files is failing with the common "software caused connection abort" and in any attempt afterwards "transport endpoint is not connected" which can be seen in forums around the internet going back years.
Would the VID/PID UNKNOWN error cause this? Should I not worry about attempting to solve the transport endpoint issue until the VID/PID are compiled into the next release? Or, is this a separate issue that would better belong in a separate ticket?
Thank you in advance.
Anonymous
hmm perhaps it really needs the permissions for the USB device nodes.
is mtp-files working?
The id will be in 1.1.17 release, thanks for the report!
Thank you for adding the id.
So I still have my prior phone (a Samsung Galaxy model VID/PID 04e8/6860). I tried it out with that next and did not recieve the unknown device error (it is an old phone afterall), however, mtpfs failed in the exact same way. It looks like it is an issue with that.
I found the libmtp example programs in my bash completion and looked through the source code at this project to find them. I attempted some of them (files and filesystem) for both devices and recieved some success for the old Samsung but not the new LG. Is this maybe becuase the LG is still unknown at this time?
The Samsung did list many files, but missed the music on the expansion SD card (it found some music in Downloads which is on the native memory). Strangely, it did find the pictures on the expansion SD card. I tried to use one of the outputs of mtp-files (a photo) to run a mtp-getfile as a test but it did not work. I may have not used the getfile utility properly, I was not sure if I should use the ID number or what to refer to the file I wanted. It does not appear my distribution packages libmtp with any man pages or anything. Is there a good place for me to read up on libmtp other than attempting to read the source code? I was obviously doing that back on 1/24 but it is slow going, and the terse error messages mean much less to me than they do to a developer like you.
Since this is unrelated to the unknown device error, you would probably rather I open a new ticket, but if there is some docs I can read first I would rather start there, because if it is me not knowing how to use your software, that is not really a bug.