From nobody Mon Jun 26 05:24:05 2023 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QqGVT6S3Lz4hpZj for ; Mon, 26 Jun 2023 05:24:17 +0000 (UTC) (envelope-from jguojun@gmail.com) Received: from mail-qv1-xf2f.google.com (mail-qv1-xf2f.google.com [IPv6:2607:f8b0:4864:20::f2f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QqGVT04hCz4K0G for ; Mon, 26 Jun 2023 05:24:17 +0000 (UTC) (envelope-from jguojun@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b=MzjMEJCO; spf=pass (mx1.freebsd.org: domain of jguojun@gmail.com designates 2607:f8b0:4864:20::f2f as permitted sender) smtp.mailfrom=jguojun@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-qv1-xf2f.google.com with SMTP id 6a1803df08f44-635ddf49421so6175896d6.2 for ; Sun, 25 Jun 2023 22:24:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687757056; x=1690349056; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=TuWPInhhotavoTVK9xIiwlLWLhzy/QPFIQSc4Kn7guM=; b=MzjMEJCOdJkZDe85KYWj7Quq+ag19vzt1iGFx4XB/Tw6my84+pIrfNL8Ujlq+DGezU scMuhvrN7iT2Xapawi/Vaq2w1XgdXYJTJ9cooKqRLbI1Y+sOWW+qLbJuD9XlZNQY6O9R UyRBUTMe1n6EUAGCh2LTa2owTZh939LleWcsRv83CuRUZbGFhuVD4yuu8Tphc1UeQt19 tZv9PDpFNvKtnM+1h3c5H9yiVnVav6WLe9NP3kgkl5hAI0yUdjIOdgLMPkNM7GkCDRbn Lo7ZznSeXXZK6ezEnhhQHYTLUjNVMILmeMU6iWRSlaUT8kBgT6+WIaXdnh5zQ54qccPV urpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687757056; x=1690349056; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=TuWPInhhotavoTVK9xIiwlLWLhzy/QPFIQSc4Kn7guM=; b=ZXBcumMaCKC7V+9Kci6EpzHbZetmgjRCgkOKnCYjwaX9ts0BbYap0XAulNklZG1SbD SxEj8kgLk7gm4q5TgqTVE3xnSWtYrmh/TpybX65VQubAOw5SpJvNq7lj1IZIycGoTLEU KCI543nEmyksy+8Fv7ryERHDGMG7mLk3KpHhRg5oo/CivMR8xU46iKMYnIPMsUp4/Fxf lhZIMCKG9U3hsbyrAISKm9jxqJrkCOevY5oziwWnvziivsvb1ddV7dLXlfuE9D4bHMlU g68w/1ax/akQnA4CP97fgIdrTPzD43/a8crnes1eC2D5KclKHJ6UuoaaL6nuqpNoymOB 2vCg== X-Gm-Message-State: AC+VfDxFohnBLbt5U7ub/IWy4+ya9hLJxx3wWDuZ3zgphNUGdAIKde/b z/3jLk+JjGhtLpFvnzqSELl2rsufYTkFWPza9ign3+X8rjfN X-Google-Smtp-Source: ACHHUZ6eyMhSQptoQkKVhKQi6UQoyCjkhBITiRnaJQtn75SZ7C3Ih2fhWcVFQiiReRvAmBqow6CQnakDx4/A5l6lgN8= X-Received: by 2002:ad4:5aac:0:b0:62d:eda3:4335 with SMTP id u12-20020ad45aac000000b0062deda34335mr34453761qvg.29.1687757056132; Sun, 25 Jun 2023 22:24:16 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <20230623114629.48cd8656@happy.dwarf7.net> In-Reply-To: <20230623114629.48cd8656@happy.dwarf7.net> From: jin guojun Date: Sun, 25 Jun 2023 22:24:05 -0700 Message-ID: Subject: Re: fusefs-jmtpfs-g20190420 cannot mount smartphone after FreeBSD 13 To: Vlad Markov Cc: questions@freebsd.org Content-Type: multipart/alternative; boundary="000000000000cc489705ff018f9b" X-Spamd-Result: default: False [-1.80 / 15.00]; NEURAL_HAM_SHORT(-0.77)[-0.774]; NEURAL_HAM_LONG(-0.74)[-0.741]; NEURAL_SPAM_MEDIUM(0.72)[0.715]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20221208]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; ARC_NA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::f2f:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MLMMJ_DEST(0.00)[questions@freebsd.org]; DKIM_TRACE(0.00)[gmail.com:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_TO(0.00)[optonline.net]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4QqGVT04hCz4K0G X-Spamd-Bar: - X-ThisMailContainsUnwantedMimeParts: N --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 = wrote: > On Wed, 21 Jun 2023 19:47:47 +0200 > Tomek CEDRO 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
I tried=C2=A0[system=3D10]=C2=A0+=C2=A0devfs_system_rulese= t=3D"localrules",=C2=A0[system=3D10]=C2=A0+=C2=A0devfs_system_rul= eset=3D"system", and=C2=A0
[localrules=3D10]=C2=A0+=C2=A0devf= s_system_ruleset=3D"localrules", but no one works :-(
F= rom regular user, it always says:
%=C2=A0 =C2=A0env 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 V= lad 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.=C2=A0
>
> That is up to USB file permissions in /dev.. you can set this up with<= br> > 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_rulese= t=3D"system"

It has to match what is in the brackets.

Next question:

How do I get thumbnails to show up in the app?

--000000000000cc489705ff018f9b--