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
[-- Attachment #1 --] 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 [-- Attachment #2 --] <div dir="ltr">In FreeBSD 11.4 and earlier, fusefs-jmtpfs requires fuse.ko, which is in kernel space.<div>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.</div><div><br></div><div>The jmtpfs version seems no change - it still 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 to mount a smartphone under FreeBSD?</div><div><br></div><div>-Jin</div><div><br></div><div><div># jmtpfs -l<br>Device 0 (VID=2717 and PID=ff40) is a Xiaomi Mi-2s (id2) (MTP).<br>Available devices (busLocation, devNum, productId, vendorId, product, vendor):<br>3, 3, 0xff40, 0x2717, Mi-2s (id2) (MTP), Xiaomi<br><br># jmtpfs -o allow_other /mnt<br>Device 0 (VID=2717 and PID=ff40) is a Xiaomi Mi-2s (id2) (MTP).<br>Android device detected, assigning default bug flags<br>fuse: failed to open fuse device: No such file or directory<br></div></div></div>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE6yT5tmTYRNpRV4yQxdxc0aTXNxvk522Wu3oVyc4HGdes%2B5Gw>
