From nobody Mon Jun 26 19:04:32 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 4Qqcj11lvXz4kT36 for ; Mon, 26 Jun 2023 19:04:37 +0000 (UTC) (envelope-from dvoich@optonline.net) Received: from altprdrgo04.altice.prod.msg.synchronoss.net (altprdrgo04.altice.prod.msg.synchronoss.net [65.20.63.32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qqcj04Wy5z4MDB for ; Mon, 26 Jun 2023 19:04:36 +0000 (UTC) (envelope-from dvoich@optonline.net) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=optonline.net; s=dkim-002; t=1687806276; bh=iiY/rp+bScllQLeUxbw4hKp/ie8JPwORLGh6hSLJDf0=; h=Date:From:To:Subject:Message-ID:In-Reply-To:References:MIME-Version:Content-Type; b=jaufeplIAA8WoLHv5JUa18L9Z4hZT20TuDA+XvViqkRx+MBaiKJ/TGl0nsJGtNcuutGhfkmiq4BIXplLKeoQ9sRQrQenEzCSmzBGK4Oi45opulffG0Ajzab3rIJ7z3BOW/FBh1UJRZpEKYQpczsYNKABSHyYB3NyI+rSf08V6s15btlLWOpwSsWu3yGglS6WhWflDlgjqiOjDZ8zjXhKgo5Pvm7Nm7KxCiu8qSJpFUuESjgHpljZdU/p1g1cwMQ6KCxu/VdASZTiZUKolSuD2YPKyU/ELqem867uVPGy8Z5eSw4HluP35NMz0eREeuYT8ws9Q0kZY3e25YghMyQt7Q== X-RG-VS-CS: clean X-RG-VS-SC: 0 X-RG-VS: Clean X-Originating-IP: [24.185.149.5] X-RG-Env-Sender: dvoich@optimum.net X-RG-Rigid: 64916D8E015988AA X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedvhedrgeehfedguddvkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucetnffvkfevgfgfufdpggftfghnshhusghstghrihgsvgdpqfgfvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepfffhvffukfgjfhfogggtgfesthhqredtredtjeenucfhrhhomhepgghlrgguucforghrkhhovhcuoeguvhhoihgthhesohhpthhonhhlihhnvgdrnhgvtheqnecuggftrfgrthhtvghrnhepteelvedukeefjeehledttddtfeekleejtdeuudeiteeftdejudevheevudelkeegnecukfhppedvgedrudekhedrudegledrheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopehhrghpphihrdgufigrrhhfjedrnhgvthdpihhnvghtpedvgedrudekhedrudegledrhedpmhgrihhlfhhrohhmpeguvhhoihgthhesohhpthhonhhlihhnvgdrnhgvthdpnhgspghrtghpthhtohepvddprhgtphhtthhopehjghhuohhjuhhnsehgmhgrihhlrdgtohhmpdhrtghpthhtohepqhhuvghsthhiohhnshesfhhrvggvsghsugdrohhrghdprghuthhhpghushgvrhepughvohhitghhsehophhtihhmuhhmrdhnvghtpdhgvghokffrpegfufdpoffvtefjohhstheprghlthhprhgurhhgohdtge X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean Received: from happy.dwarf7.net (24.185.149.5) by altprdrgo04.altice.prod.msg.synchronoss.net (5.8.812) (authenticated as dvoich@optonline.net) id 64916D8E015988AA; Mon, 26 Jun 2023 15:04:34 -0400 Date: Mon, 26 Jun 2023 15:04:32 -0400 From: Vlad Markov To: jin guojun , questions@freebsd.org Subject: Re: fusefs-jmtpfs-g20190420 cannot mount smartphone after FreeBSD 13 Message-ID: <20230626150432.777dc041@happy.dwarf7.net> In-Reply-To: References: <20230623114629.48cd8656@happy.dwarf7.net> X-Mailer: Claws Mail 3.19.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.1) 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4Qqcj04Wy5z4MDB X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:31898, ipnet:65.20.63.0/24, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Sun, 25 Jun 2023 22:24:05 -0700 jin guojun wrote: > 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 '' >=20 > On Fri, Jun 23, 2023 at 8:46=E2=80=AFAM Vlad Markov wrote: >=20 > > On Wed, 21 Jun 2023 19:47:47 +0200 > > Tomek CEDRO wrote: > > =20 > > > On Wed, Jun 21, 2023 at 7:13=E2=80=AFPM Jin Guojun[VFF] wrote: =20 > > > > Thanks for help and LIBUSB_DEBUG=3D0 makes cli quiet. > > > > > > > > One slight issue is that the android-file-transfer has to be run as= =20 > > root. =20 > > > > > > 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" > > > > > > :-) > > > > > > -- =20 > > This is close but: > > > > devfs_system_ruleset=3D"localrules" should be devfs_system_ruleset=3D"s= ystem" > > > > It has to match what is in the brackets. > > > > Next question: > > > > How do I get thumbnails to show up in the app? > > > > My phone requires me to open the phone. Provided that the usb is plugged in, it then has me select from a few choic= es. If I do not select "transfer files", then the phone is not found by android= _file_transfer. You don't say whether root can access the phone, can root access the phone? my setup: devfs.rules: [system=3D10] add path 'unlpt*' mode 0660 group cups add path 'ulpt*' mode 0660 group cups add path 'lpt*' mode 0660 group cups add path 'usb/X.Y.Z' mode 0660 group cups add path 'usb/*' mode 0660 group operator add path 'da*s*' mode 0660 group operator rc.conf: devfs_system_ruleset=3D"system" devfs_enable=3D"YES" Perhaps the user is not part of the operator group? --=20 I dream of a better tomorrow, where chickens can cross the road and not be = questioned about their motives.=E2=80=9D =E2=80=93 Ralph Waldo Emerson