Gentoo Archives: gentoo-user

From: Jack <ostroffjh@×××××××××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] error trying to mount Samsung: Galaxy android models (MTP)
Date: Sun, 22 Nov 2020 01:18:27
Message-Id: HFSHD35Z.XOY467SU.IHYNHUMD@IX7SSK2S.5CCHC2YA.R4C5QJS4
In Reply to: [gentoo-user] error trying to mount Samsung: Galaxy android models (MTP) by edward m
1 On 2020.11.21 23:12, edward m wrote:
2 > hi, i receive an error when trying to mount an android phone under
3 > gentoo. im wondering if a fix, workaround exists or more likely its
4 > a bug.
5 > thanks in advance.
6 >
7 >
8 > error:
9 > mtpfs AndroidDevice/
10 > Listing raw device(s)
11 > Device 0 (VID=04e8 and PID=6860) is a Samsung Galaxy models (MTP).
12 > Found 1 device(s):
13 > Samsung: Galaxy models (MTP) (04e8:6860) @ bus 2, dev 12
14 > Attempting to connect device
15 > Error 1: Get Storage information failed.
16 > Error 2: PTP Layer error 02fe: get_all_metadata_fast(): could not get
17 > proplist of all objects.
18 > Error 2: Error 02fe: PTP Data Expected
19 > Error 2: PTP Layer error 02fe: get_handles_recursively(): could not
20 > get
21 > object handles.
22 > Error 2: Error 02fe: PTP Data Expected
23 > Listing File Information on Device with name: Galaxy A10e
24 > LIBMTP_Get_Storage() failed:-1
25 >
26 What does dmesg say right when you plug in the phone?
27 What does lsbus -v say about that device?
28
29 Are you sure the phone thinks it's connecting as an MTP device? There
30 should be a way to tell the phone how to connect, but it's probably
31 specific to each phone, although likely somewhere under settings - look
32 for developer settings.