Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jun 2023 22:24:05 -0700
From:      jin guojun <jguojun@gmail.com>
To:        Vlad Markov <dvoich@optonline.net>
Cc:        questions@freebsd.org
Subject:   Re: fusefs-jmtpfs-g20190420 cannot mount smartphone after FreeBSD 13
Message-ID:  <CAE6yT5ti=cGZoyReEtqYi4opOSza652P5QGM1o-TjWCDGAs51Q@mail.gmail.com>
In-Reply-To: <20230623114629.48cd8656@happy.dwarf7.net>
References:  <CAE6yT5tmTYRNpRV4yQxdxc0aTXNxvk522Wu3oVyc4HGdes%2B5Gw@mail.gmail.com> <CAFYkXjnoUyOpSRY%2BpcKu4zeoX_y%2B%2B=EmkORxt_5GXYAokKNobg@mail.gmail.com> <CAE6yT5vYTJ1CkrEiJJ2u=mtYL%2BhBoisZf3fqzyfcyXWcTxQVGQ@mail.gmail.com> <CAFYkXjnhHYAosmL7TkOySM5D-afTDFr2SmDqjWbVNHf1Mm%2B-gg@mail.gmail.com> <c0930438-0909-466d-9470-14b2dabaf9de@gmail.com> <CAFYkXjmXAffrBph8OX_tx2FV_jxUFxf45EQxNnasSmxYgAXSzQ@mail.gmail.com> <20230623114629.48cd8656@happy.dwarf7.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000cc489705ff018f9b
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

I
tried [system=3D10] + devfs_system_ruleset=3D"localrules", [system=3D10] +
devfs_system_ruleset=3D"system",
and
[localrules=3D10] + devfs_system_ruleset=3D"localrules", but no one works :=
-(
>From regular user, it always says:
%   env LIBUSB_DEBUG=3D1 aft-mtp-cli
LIBUSB_FUNCTION: libusb_init complete
device not found (filter =3D ''

On Fri, Jun 23, 2023 at 8:46=E2=80=AFAM Vlad Markov <dvoich@optonline.net> =
wrote:

> On Wed, 21 Jun 2023 19:47:47 +0200
> Tomek CEDRO <tomek@cedro.info> wrote:
>
> > On Wed, Jun 21, 2023 at 7:13=E2=80=AFPM Jin Guojun[VFF] wrote:
> > > Thanks for help and LIBUSB_DEBUG=3D0 makes cli quiet.
> > >
> > > One slight issue is that the android-file-transfer has to be run as
> root.
> >
> > That is up to USB file permissions in /dev.. you can set this up with
> > devfs, example below :-)
> >
> > Add your user to operator group:
> >
> > # pw groumod operator -m your_username
> >
> > Add this to /etc/devfs.rules:
> >
> > [system=3D10]
> > add path 'usb/*' mode 0660 group operator
> >
> > Then add this to /etc/rc.conf:
> >
> > devfs_system_ruleset=3D"localrules"
> > devfs_enable=3D"YES"
> >
> > :-)
> >
> > --
> This is close but:
>
> devfs_system_ruleset=3D"localrules" should be devfs_system_ruleset=3D"sys=
tem"
>
> It has to match what is in the brackets.
>
> Next question:
>
> How do I get thumbnails to show up in the app?
>
>

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

<div dir=3D"ltr">I tried=C2=A0[system=3D10]=C2=A0+=C2=A0devfs_system_rulese=
t=3D&quot;localrules&quot;,=C2=A0[system=3D10]=C2=A0+=C2=A0devfs_system_rul=
eset=3D&quot;system&quot;, and=C2=A0<div>[localrules=3D10]=C2=A0+=C2=A0devf=
s_system_ruleset=3D&quot;localrules&quot;, but no one works :-(</div><div>F=
rom regular user, it always says:</div><div>%=C2=A0 =C2=A0env LIBUSB_DEBUG=
=3D1 aft-mtp-cli</div>LIBUSB_FUNCTION: libusb_init complete<div>device not =
found (filter =3D &#39;&#39;</div></div><br><div class=3D"gmail_quote"><div=
 dir=3D"ltr" class=3D"gmail_attr">On Fri, Jun 23, 2023 at 8:46=E2=80=AFAM V=
lad Markov &lt;<a href=3D"mailto:dvoich@optonline.net">dvoich@optonline.net=
</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:=
0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">=
On Wed, 21 Jun 2023 19:47:47 +0200<br>
Tomek CEDRO &lt;<a href=3D"mailto:tomek@cedro.info" target=3D"_blank">tomek=
@cedro.info</a>&gt; wrote:<br>
<br>
&gt; On Wed, Jun 21, 2023 at 7:13=E2=80=AFPM Jin Guojun[VFF] wrote:<br>
&gt; &gt; Thanks for help and LIBUSB_DEBUG=3D0 makes cli quiet.<br>
&gt; &gt;<br>
&gt; &gt; One slight issue is that the android-file-transfer has to be run =
as root.=C2=A0 <br>
&gt; <br>
&gt; That is up to USB file permissions in /dev.. you can set this up with<=
br>
&gt; devfs, example below :-)<br>
&gt; <br>
&gt; Add your user to operator group:<br>
&gt; <br>
&gt; # pw groumod operator -m your_username<br>
&gt; <br>
&gt; Add this to /etc/devfs.rules:<br>
&gt; <br>
&gt; [system=3D10]<br>
&gt; add path &#39;usb/*&#39; mode 0660 group operator<br>
&gt; <br>
&gt; Then add this to /etc/rc.conf:<br>
&gt; <br>
&gt; devfs_system_ruleset=3D&quot;localrules&quot;<br>
&gt; devfs_enable=3D&quot;YES&quot;<br>
&gt; <br>
&gt; :-)<br>
&gt; <br>
&gt; -- <br>
This is close but:<br>
<br>
devfs_system_ruleset=3D&quot;localrules&quot; should be devfs_system_rulese=
t=3D&quot;system&quot;<br>
<br>
It has to match what is in the brackets.<br>
<br>
Next question:<br>
<br>
How do I get thumbnails to show up in the app?<br>
<br>
</blockquote></div>

--000000000000cc489705ff018f9b--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE6yT5ti=cGZoyReEtqYi4opOSza652P5QGM1o-TjWCDGAs51Q>