[gentoo-user] Re: error trying to mount Samsung: Galaxy android models (MTP)
On 2020-11-22, edward m wrote: > hi, i receive an error when trying to mount an android phone under > gentoo. im wondering if a fix, workaround exists or more likely its a bug. > thanks in advance. I think with MTP there can be issues owing to implementation details - some phones will have trouble with some MTP tools. If you can, please try sys-fs/jmtpfs. > > > error: > mtpfs AndroidDevice/ > Listing raw device(s) > Device 0 (VID=04e8 and PID=6860) is a Samsung Galaxy models (MTP). >Found 1 device(s): >Samsung: Galaxy models (MTP) (04e8:6860) @ bus 2, dev 12 > Attempting to connect device > Error 1: Get Storage information failed. > Error 2: PTP Layer error 02fe: get_all_metadata_fast(): could not get > proplist of all objects. > Error 2: Error 02fe: PTP Data Expected > Error 2: PTP Layer error 02fe: get_handles_recursively(): could not get > object handles. > Error 2: Error 02fe: PTP Data Expected > Listing File Information on Device with name: Galaxy A10e > LIBMTP_Get_Storage() failed:-1 -- Nuno Silva
[gentoo-user] Re: error trying to mount Samsung: Galaxy android models (MTP)
Edward and Nuno, On Sunday, 2020-11-22 11:35:16 +, Nuno Silva wrote: > ... > I think with MTP there can be issues owing to implementation details - > some phones will have trouble with some MTP tools. > > If you can, please try sys-fs/jmtpfs. Hmm, according to https://packages.gentoo.org/packages/sys-fs/jmtpfs this package looks rather unmaintained, last changed in November 2013. There are also https://packages.gentoo.org/packages/sys-fs/mtpfs which doesn't look much better, maintenance-wise, and https://packages.gentoo.org/packages/sys-fs/simple-mtpfs which at least seems maintained. There are quite a few other packages listed at https://wiki.gentoo.org/wiki/MTP where it's also mentioned that Thunar can connect to MTP file systems using the "xfce-extra/thunar-volman" package. Personally I haven't yet used any of these because I'm quite satisfied using "adb" from package "dev-util/android-tools". Sincerely, Rainer