ves/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: mount phone for file transfer? To: freebsd@dreamchaser.org, questions@freebsd.org References: <68fecabb-1b86-4533-9766-8fe3f86c875a@dreamchaser.org> <90a7d95a-b76e-4aef-b5d1-a1bd4c1c5222@dreamchaser.org> Content-Language: en-US From: "Jin Guojun[VFF]" In-Reply-To: <90a7d95a-b76e-4aef-b5d1-a1bd4c1c5222@dreamchaser.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4cr32G1Kz0z3wLb On 10/19/25 20:40, Gary Aitken wrote: > On 10/19/25 11:47, Jin Guojun[VFF] wrote: >> On 10/19/25 10:13, Gary Aitken wrote: > >>> How does one mount a phone (android) to transfer files? I can do >>> this on a lynix system but can't figure out how on my fbsd 13.5. I >>> have urndis loaded: > ... >> # kldload fusefs.ko >> >> # jmtpfs -o allow_other /mnt >> >> Make sure the phone is allowed other device to access its storage: >> usually, the phone will ask this permission when  jmtpfs command is >> issued. > > > # jmtpfs -o allow_other /mnt/memstick > Device 0 (VID=04e8 and PID=6860) is a Samsung Galaxy models (MTP). > # ls -l /mnt/memstick > ls: /mnt/memstick: Input/output error > # umount /mnt/memstick > > It acted like it worked... >   phone dinged when plugged in > The phone is set to: >   Use USB for: Transferring files/AndroidAuto >   USB controlled by: This device (I can't seem to change it) > > Once or twice I saw the notice for Allow/Disallow access and allowed, > but always after things didn't work; now I can't find it: >   plug in phone >   ding >   ... no dialog, even with no apps on screen > Swipe up, down, left, right... nada > Swipe down, I see "USB for file transfer", as if it's ok as is / > already allowed, > but ls still fails. > Thoughts? > Samsung Galaxy A15 > > Thanks, > > Gary This is a setting issue cross different phones, even between Samsung phones, who is controlling the File Transfer (F/T). To make things simpler, ignore who controls the F/T and repeat the same process twice with a umount in between. #  jmtpfs -o allow_other /mnt                 ; mount may fail due to the phone is not ready to do F/T wait for phone to ask Allow/Deny and press Allow # ls /mnt may see nothing but Input/output error because mounting process was done before phone allows F/T # umount /mnt #  jmtpfs -o allow_other /mnt              ; this time mount should be successful if phone asks Allow/Deny again due to some kind timing issue, try to do umount and jmtpfs mount one more time.