Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jun 2023 17:31:33 -0700
From:      jin guojun <jguojun@gmail.com>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   fusefs-jmtpfs-g20190420 cannot mount smartphone after FreeBSD 13
Message-ID:  <CAE6yT5tmTYRNpRV4yQxdxc0aTXNxvk522Wu3oVyc4HGdes%2B5Gw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--00000000000069752305fe98e4e2
Content-Type: text/plain; charset="UTF-8"

In FreeBSD 11.4 and earlier, fusefs-jmtpfs requires fuse.ko, which is in
kernel space.
After release 13, fusefs-jmtpfs depends on libmtp, which is in user space.
Somehow, it no longer works to mount the smartphone due to being unable to
open a fuse device.

The jmtpfs version seems no change - it still is g20190420, so not sure how
the underlayer changed from kernel to use space.

Does anyone know if there is another way to mount a smartphone under
FreeBSD?

-Jin

# jmtpfs -l
Device 0 (VID=2717 and PID=ff40) is a Xiaomi Mi-2s (id2) (MTP).
Available devices (busLocation, devNum, productId, vendorId, product,
vendor):
3, 3, 0xff40, 0x2717, Mi-2s (id2) (MTP), Xiaomi

# jmtpfs -o allow_other /mnt
Device 0 (VID=2717 and PID=ff40) is a Xiaomi Mi-2s (id2) (MTP).
Android device detected, assigning default bug flags
fuse: failed to open fuse device: No such file or directory

--00000000000069752305fe98e4e2
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">In FreeBSD 11.4 and earlier, fusefs-jmtpfs requires=C2=A0f=
use.ko, which is in kernel space.<div>After release 13, fusefs-jmtpfs depen=
ds on=C2=A0libmtp, which is in user space. Somehow, it no longer works to m=
ount the smartphone due to being unable=C2=A0to open a=C2=A0fuse device.</d=
iv><div><br></div><div>The jmtpfs=C2=A0version seems no change=C2=A0- it st=
ill is g20190420, so not sure how the underlayer changed from kernel to use=
 space.</div><div><br></div><div>Does anyone know if there is another way t=
o mount a smartphone under FreeBSD?</div><div><br></div><div>-Jin</div><div=
><br></div><div><div># jmtpfs -l<br>Device 0 (VID=3D2717 and PID=3Dff40) is=
 a Xiaomi Mi-2s (id2) (MTP).<br>Available devices (busLocation, devNum, pro=
ductId, vendorId, product, vendor):<br>3, 3, 0xff40, 0x2717, Mi-2s (id2) (M=
TP), Xiaomi<br><br># jmtpfs -o allow_other /mnt<br>Device 0 (VID=3D2717 and=
 PID=3Dff40) is a Xiaomi Mi-2s (id2) (MTP).<br>Android device detected, ass=
igning default bug flags<br>fuse: failed to open fuse device: No such file =
or directory<br></div></div></div>

--00000000000069752305fe98e4e2--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE6yT5tmTYRNpRV4yQxdxc0aTXNxvk522Wu3oVyc4HGdes%2B5Gw>