* Re: [gentoo-user] error trying to mount Samsung: Galaxy android models (MTP)
2020-11-22 4:12 [gentoo-user] error trying to mount Samsung: Galaxy android models (MTP) edward m
@ 2020-11-22 1:18 ` Jack
2020-11-22 11:35 ` [gentoo-user] " Nuno Silva
1 sibling, 0 replies; 5+ messages in thread
From: Jack @ 2020-11-22 1:18 UTC (permalink / raw
To: gentoo-user
On 2020.11.21 23:12, 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.
>
>
> 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
>
What does dmesg say right when you plug in the phone?
What does lsbus -v say about that device?
Are you sure the phone thinks it's connecting as an MTP device? There
should be a way to tell the phone how to connect, but it's probably
specific to each phone, although likely somewhere under settings - look
for developer settings.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-user] error trying to mount Samsung: Galaxy android models (MTP)
@ 2020-11-22 4:12 edward m
2020-11-22 1:18 ` Jack
2020-11-22 11:35 ` [gentoo-user] " Nuno Silva
0 siblings, 2 replies; 5+ messages in thread
From: edward m @ 2020-11-22 4:12 UTC (permalink / raw
To: gentoo-user@lists.gentoo.org
[-- Attachment #1: Type: text/plain, Size: 783 bytes --]
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.
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
[-- Attachment #2: Type: text/html, Size: 929 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-user] Re: error trying to mount Samsung: Galaxy android models (MTP)
2020-11-22 4:12 [gentoo-user] error trying to mount Samsung: Galaxy android models (MTP) edward m
2020-11-22 1:18 ` Jack
@ 2020-11-22 11:35 ` Nuno Silva
2020-11-22 14:53 ` Dr Rainer Woitok
1 sibling, 1 reply; 5+ messages in thread
From: Nuno Silva @ 2020-11-22 11:35 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-user] Re: error trying to mount Samsung: Galaxy android models (MTP)
2020-11-22 11:35 ` [gentoo-user] " Nuno Silva
@ 2020-11-22 14:53 ` Dr Rainer Woitok
2020-11-23 2:38 ` [gentoo-user] SOLVED " edward m
0 siblings, 1 reply; 5+ messages in thread
From: Dr Rainer Woitok @ 2020-11-22 14:53 UTC (permalink / raw
To: gentoo-user, nunojsilva, edwardmgibson01
Edward and Nuno,
On Sunday, 2020-11-22 11:35:16 +0000, 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] SOLVED Re: error trying to mount Samsung: Galaxy android models (MTP)
2020-11-22 14:53 ` Dr Rainer Woitok
@ 2020-11-23 2:38 ` edward m
0 siblings, 0 replies; 5+ messages in thread
From: edward m @ 2020-11-23 2:38 UTC (permalink / raw
To: Dr Rainer Woitok; +Cc: gentoo-user@lists.gentoo.org, nunojsilva
[-- Attachment #1: Type: text/plain, Size: 1313 bytes --]
On Sun, Nov 22, 2020 at 6:53 AM Dr Rainer Woitok <rainer.woitok@gmail.com>
wrote:
> Edward and Nuno,
>
> On Sunday, 2020-11-22 11:35:16 +0000, 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
>
simple-mtpfs worked instead of mtpfs. Also the android phone screen needs
to be unlocked and answer 'allow' when a pop up
message appears. After doing that i was able to mount the android phone
[-- Attachment #2: Type: text/html, Size: 2279 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-11-22 23:17 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-22 4:12 [gentoo-user] error trying to mount Samsung: Galaxy android models (MTP) edward m
2020-11-22 1:18 ` Jack
2020-11-22 11:35 ` [gentoo-user] " Nuno Silva
2020-11-22 14:53 ` Dr Rainer Woitok
2020-11-23 2:38 ` [gentoo-user] SOLVED " edward m
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox