From owner-freebsd-hackers@freebsd.org Tue Feb 5 15:37:28 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9CADA14BD406 for ; Tue, 5 Feb 2019 15:37:28 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id C2A1980584 for ; Tue, 5 Feb 2019 15:37:27 +0000 (UTC) (envelope-from guru@unixarea.de) Received: by mailman.ysv.freebsd.org (Postfix) id 81B6214BD403; Tue, 5 Feb 2019 15:37:27 +0000 (UTC) Delivered-To: hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7008214BD401 for ; Tue, 5 Feb 2019 15:37:27 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from smh-06.1blu.de (smh-06.1blu.de [178.254.0.206]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0D83480583 for ; Tue, 5 Feb 2019 15:37:26 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [172.16.29.5] (helo=sh4-5.1blu.de) by smh-06.1blu.de with esmtp (Exim 4.86_2) (envelope-from ) id 1gr2mf-0000GA-MI; Tue, 05 Feb 2019 16:37:14 +0100 Received: from ftp51246-2575596 by sh4-5.1blu.de with local (Exim 4.86_2) (envelope-from ) id 1gr2mf-0002af-JM; Tue, 05 Feb 2019 16:37:13 +0100 Date: Tue, 5 Feb 2019 16:37:13 +0100 From: Matthias Apitz To: "Julian H. Stacey" Cc: hackers@freebsd.org Subject: Re: bsd android tethering using USB cable - intermittent failure Message-ID: <20190205153713.GA7280@sh4-5.1blu.de> Reply-To: Matthias Apitz References: <201902051337.x15DaxUK041711@fire.js.berklix.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <201902051337.x15DaxUK041711@fire.js.berklix.net> X-Operating-System: FreeBSD 12.0-CURRENT r314251 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. User-Agent: Mutt/1.5.24 (2015-08-30) X-Rspamd-Queue-Id: 0D83480583 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.93 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.93)[-0.932,0] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Feb 2019 15:37:28 -0000 El día Tuesday, February 05, 2019 a las 02:36:59PM +0100, Julian H. Stacey escribió: > Hi hackers@, > I tether Androids to FreeBSDs using USB cables, Using > ports/devel/android-tools-adb Mostly it works, but sometimes fails to > connect, I've no idea why. > > I've tried: different physical androids, different versions of android (4 & 5), > different physical ports (once I had a cable hanging down didnt connect on > laptop socket), via hub & direct avoiding usb hub, different FreeBSDs > (all of 10.4-RELEASE 11.2-RELEASE 13.0-CURRENT), 2 different FreeBSD PCs > > Could someone please please take a look at > http://www.berklix.org/android/#adb > & perhaps spot what I'm forgetting to initialise ? With my Ubuntu Phone (which has as well an Android kernel behind the scenes), I learned that one must enable developer mode and even with this on connect the display *must* be unlocked and a pop up answered about the permission. matthias -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub October, 7 -- The GDR was different: Peace instead of Bundeswehr and wars, Druschba instead of Nazis, to live instead of to survive.