From owner-freebsd-usb@freebsd.org Sun Nov 18 21:00:19 2018 Return-Path: Delivered-To: freebsd-usb@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 1E4F8112178F for ; Sun, 18 Nov 2018 21:00:19 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) 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 A6FBD700B5 for ; Sun, 18 Nov 2018 21:00:18 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 68543112178B; Sun, 18 Nov 2018 21:00:18 +0000 (UTC) Delivered-To: usb@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 560441121789 for ; Sun, 18 Nov 2018 21:00:18 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E9223700B3 for ; Sun, 18 Nov 2018 21:00:17 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 0A32324F5F for ; Sun, 18 Nov 2018 21:00:17 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id wAIL0GkY029548 for ; Sun, 18 Nov 2018 21:00:16 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id wAIL0GwK029546 for usb@FreeBSD.org; Sun, 18 Nov 2018 21:00:16 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201811182100.wAIL0GwK029546@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: usb@FreeBSD.org Subject: Problem reports for usb@FreeBSD.org that need special attention Date: Sun, 18 Nov 2018 21:00:16 +0000 MIME-Version: 1.0 X-Rspamd-Queue-Id: A6FBD700B5 X-Spamd-Result: default: False [0.40 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_SPAM_MEDIUM(0.28)[0.285,0]; ASN(0.00)[asn:10310, ipnet:2001:1900:2254::/48, country:US]; NEURAL_SPAM_SHORT(0.12)[0.120,0] X-Rspamd-Server: mx1.freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Nov 2018 21:00:19 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- Open | 213877 | xhci reset causes panic on SuperMicro A1SRi-2758F 1 problems total for which you should take action. From owner-freebsd-usb@freebsd.org Tue Nov 20 05:46:21 2018 Return-Path: Delivered-To: freebsd-usb@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 54DAC113F19C for ; Tue, 20 Nov 2018 05:46:21 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (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 81BE07AF5F for ; Tue, 20 Nov 2018 05:46:20 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [88.217.97.47] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1gOyrS-0004J9-TE; Tue, 20 Nov 2018 06:46:11 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id wAK5kAG5002789 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 20 Nov 2018 06:46:10 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id wAK5k9Xu002788; Tue, 20 Nov 2018 06:46:09 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Tue, 20 Nov 2018 06:46:09 +0100 From: Matthias Apitz To: freebsd-usb@freebsd.org Subject: Android Debug Bridge (adb) on FreeBSD && smartphone BQ E4.5 Message-ID: <20181120054609.GA2728@c720-r314251> Reply-To: Matthias Apitz Mail-Followup-To: freebsd-usb@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="9jxsPFA5p3P2qPhR" Content-Disposition: inline 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.8.0 (2017-02-23) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 88.217.97.47 X-Rspamd-Queue-Id: 81BE07AF5F X-Spamd-Result: default: False [-1.80 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[guru@unixarea.de]; HAS_XOIP(0.00)[]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.01)[mail.unixarea.de]; SIGNED_PGP(-2.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[101.4.254.178.list.dnswl.org : 127.0.5.1]; RECEIVED_SPAMHAUS_PBL(0.00)[47.97.217.88.zen.spamhaus.org : 127.0.0.10]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.89)[-0.886,0]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.92)[-0.921,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[unixarea.de]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-0.00)[country: DE(-0.01)]; NEURAL_SPAM_SHORT(0.83)[0.825,0]; R_SPF_NA(0.00)[]; MID_RHS_NOT_FQDN(0.50)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Nov 2018 05:46:21 -0000 --9jxsPFA5p3P2qPhR Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, Normally I enter into my Ubuntu smartphone BQ E4.5 via Wifi and SSH. But du= e to a system damage and factory reset of the phone I have had to use the ADB via = USB cable and this did not work. Attaching the phone gives in messages: Nov 20 06:26:11 c720-r314251 kernel: ugen0.5: at usbus0 Nov 20 06:26:11 c720-r314251 root: Unknown USB device: vendor 0x2a47 produc= t 0x2008 bus uhub0 And the adb says in trace mode: # uname -a FreeBSD c720-r314251 12.0-CURRENT FreeBSD 12.0-CURRENT #1 r314251M: Fri Jun= 30 08:50:03 CEST 2017 guru@c720-r314251:/usr/obj/usr/src/sys/GENERIC = amd64 # export ADB_TRACE=3Dall # adb start-server adb I 2236 100330 adb_trace.cpp:169] Android Debug Bridge version 1.0.36 adb I 2236 100330 adb_trace.cpp:169] Revision 5cf8bbd5b29d-android adb I 2236 100330 adb_trace.cpp:169]=20 adb I 2236 100330 adb_client.cpp:135] _adb_connect: host:version adb I 2236 100330 adb_client.cpp:187] adb_connect: service host:start-serv= er * daemon not running. starting it now on port 5037 * adb I 2237 100191 adb_trace.cpp:169] Android Debug Bridge version 1.0.36 adb I 2237 100191 adb_trace.cpp:169] Revision 5cf8bbd5b29d-android adb I 2237 100191 adb_trace.cpp:169]=20 adb I 2237 100191 transport.cpp:572] socketpair: (3,5) adb I 2237 100191 fdevent.cpp:152] fdevent_install (fdevent 5 A) adb I 2237 100191 fdevent.cpp:198] fdevent_set: (fdevent 5 AR), events =3D= 1 adb I 2237 100191 usb_libusb.cpp:587] usb_init(): started adb I 2237 100191 usb_libusb.cpp:587] usb_init(): started adb I 2237 100191 usb_libusb.cpp:543] scan_usb_devices(): started adb I 2237 100191 usb_libusb.cpp:399] check_device(): Probing usb device 1= bcf:2c67 adb I 2237 100191 usb_libusb.cpp:418] check_device(): Device bus: 0, addre= ss: 3 adb I 2237 100191 usb_libusb.cpp:259] check_usb_interface(): Interface hav= e not 2 endpoints, ignoring adb I 2237 100191 usb_libusb.cpp:259] check_usb_interface(): Interface hav= e not 2 endpoints, ignoring adb I 2237 100191 usb_libusb.cpp:399] check_device(): Probing usb device 0= 489:e056 adb I 2237 100191 usb_libusb.cpp:418] check_device(): Device bus: 0, addre= ss: 4 adb I 2237 100191 usb_libusb.cpp:259] check_usb_interface(): Interface hav= e not 2 endpoints, ignoring adb I 2237 100191 usb_libusb.cpp:268] check_usb_interface(): Endpoint (1) = is not bulk (2), ignoring adb I 2237 100191 usb_libusb.cpp:399] check_device(): Probing usb device 0= 76b:6632 adb I 2237 100191 usb_libusb.cpp:418] check_device(): Device bus: 0, addre= ss: 2 adb I 2237 100191 usb_libusb.cpp:259] check_usb_interface(): Interface hav= e not 2 endpoints, ignoring adb I 2237 100191 usb_libusb.cpp:399] check_device(): Probing usb device 2= a47:2008 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^= ^^^^^^^^^^^^^^^^^^^^^^^^^^^ adb I 2237 100191 usb_libusb.cpp:418] check_device(): Device bus: 0, addre= ss: 5 adb I 2237 100191 usb_libusb.cpp:259] check_usb_interface(): Interface hav= e not 2 endpoints, ignoring ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^= ^^^^^^^^^^^^^^^^^^^^^^^^^^^ adb I 2237 100191 usb_libusb.cpp:614] usb_init(): finished adb I 2237 100191 transport_local.cpp:315] transport: local client init adb I 2237 100191 adb_auth_host.cpp:431] adb_auth_init adb I 2237 100191 adb_auth_host.cpp:292] home '/root' adb I 2237 100357 usb_libusb.cpp:569] device_poll_thread(): Created USB sc= an thread adb I 2237 100358 transport_local.cpp:132] transport: client_socket_thread= () starting adb I 2237 100191 adb_auth_host.cpp:322] user key '/root/.android/adbkey' adb I 2237 100191 adb_auth_host.cpp:265] read_key '/root/.android/adbkey' adb I 2237 100191 fdevent.cpp:152] fdevent_install (fdevent 17 A) adb I 2237 100191 fdevent.cpp:198] fdevent_set: (fdevent 17 AR), events = =3D 1 * daemon started successfully * And of course, no adb command works. Any help would be highly appreciated. matthias --=20 Matthias Apitz, =E2=9C=89 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. --9jxsPFA5p3P2qPhR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXmn7rBYYViyzy/vBR8z35Hb+nREFAlvzn54ACgkQR8z35Hb+ nRGIFBAAk75smObTkn3BHyaumz3DBukzRNMD+hzoUhpAsPkRx8vw+9js3vZlBP87 DBaq/0h+EA8QvsNYVTIGEyiYW/IedVc2D5GptgjBPMwMj9hzaJQxcapV6+37hOP2 gHTu7gYBC2IZXz/sqHYQVYivAB7STdPUHDOA3hZ3lUI8UTnFH4kDwgRjKAyiYwHh +3DDQ5OeK9yJ6HMCeOMMM7jA4H8ux/dL7dGqP6K6jh0PYs/L4R1a6HCDctUzHrEM KnNE8zPc7Ngn0F3KOhg39DkpX9Gci9rrM+JSJnM77bT8kRFGNGjVKCk8bBSFHx9Y 7u8uf+hG2r+L4DqHwZLMc9BZ3IuSJD+Y04HDWwBZpIWjQN3+3RTVN2OvrNmsbw+0 DQqrVqPD+d6XMakwRRSRTlHgfqOJnB3lIqWl0D+BedDUGgdlPvZRoZUTlVUmSUHk YA4H9ttdal4nSCf/IA2e1K5AWmPM0C5H+Bgt7+oIOSF5m+JNa0cI/9D+2gZLwvZl CM0A/W7LouqtdolzkaHyh5veS+JQ6GTfqnWuxwZdX2cEf976iCFh4A44aP1XFYDZ 7o/46zbROccKrfyWyGEkezIB397VxEwmYMiggXyLgQ+nh29OsCLoV6Ks+nRvfctz TqSqhOJsY8/28tGuCtWqNn6U4y3oXyadf1HIliHEiQcVYa6JCeQ= =dJUs -----END PGP SIGNATURE----- --9jxsPFA5p3P2qPhR-- From owner-freebsd-usb@freebsd.org Tue Nov 20 07:10:49 2018 Return-Path: Delivered-To: freebsd-usb@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 1D4431102E05 for ; Tue, 20 Nov 2018 07:10:49 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F30197D468 for ; Tue, 20 Nov 2018 07:10:47 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [178.17.145.230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 5F4DF260150 for ; Tue, 20 Nov 2018 08:10:40 +0100 (CET) Subject: Re: Android Debug Bridge (adb) on FreeBSD && smartphone BQ E4.5 To: freebsd-usb@freebsd.org References: <20181120054609.GA2728@c720-r314251> From: Hans Petter Selasky Message-ID: <1e7ba4e7-a8ef-b51c-8a2b-fdabf4d37a32@selasky.org> Date: Tue, 20 Nov 2018 08:10:05 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0.1 MIME-Version: 1.0 In-Reply-To: <20181120054609.GA2728@c720-r314251> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: F30197D468 X-Spamd-Result: default: False [-6.74 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-usb@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; DMARC_NA(0.00)[selasky.org]; MX_GOOD(-0.01)[mail.turbocat.net]; NEURAL_HAM_SHORT(-0.98)[-0.983,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; IP_SCORE(-3.45)[ip: (-9.53), ipnet: 88.99.0.0/16(-4.85), asn: 24940(-2.85), country: DE(-0.01)]; ASN(0.00)[asn:24940, ipnet:88.99.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Nov 2018 07:10:49 -0000 On 11/20/18 6:46 AM, Matthias Apitz wrote: > > Hello, > > Normally I enter into my Ubuntu smartphone BQ E4.5 via Wifi and SSH. But due to a > system damage and factory reset of the phone I have had to use the ADB via USB cable and > this did not work. > > Attaching the phone gives in messages: > > Nov 20 06:26:11 c720-r314251 kernel: ugen0.5: at usbus0 > Nov 20 06:26:11 c720-r314251 root: Unknown USB device: vendor 0x2a47 product 0x2008 bus uhub0 > > And the adb says in trace mode: > > # uname -a > FreeBSD c720-r314251 12.0-CURRENT FreeBSD 12.0-CURRENT #1 r314251M: Fri Jun 30 08:50:03 CEST 2017 guru@c720-r314251:/usr/obj/usr/src/sys/GENERIC amd64 > > # export ADB_TRACE=all > > > # adb start-server > adb I 2236 100330 adb_trace.cpp:169] Android Debug Bridge version 1.0.36 > adb I 2236 100330 adb_trace.cpp:169] Revision 5cf8bbd5b29d-android > adb I 2236 100330 adb_trace.cpp:169] > adb I 2236 100330 adb_client.cpp:135] _adb_connect: host:version > adb I 2236 100330 adb_client.cpp:187] adb_connect: service host:start-server > * daemon not running. starting it now on port 5037 * > adb I 2237 100191 adb_trace.cpp:169] Android Debug Bridge version 1.0.36 > adb I 2237 100191 adb_trace.cpp:169] Revision 5cf8bbd5b29d-android > adb I 2237 100191 adb_trace.cpp:169] > adb I 2237 100191 transport.cpp:572] socketpair: (3,5) > adb I 2237 100191 fdevent.cpp:152] fdevent_install (fdevent 5 A) > adb I 2237 100191 fdevent.cpp:198] fdevent_set: (fdevent 5 AR), events = 1 > adb I 2237 100191 usb_libusb.cpp:587] usb_init(): started > adb I 2237 100191 usb_libusb.cpp:587] usb_init(): started > adb I 2237 100191 usb_libusb.cpp:543] scan_usb_devices(): started > adb I 2237 100191 usb_libusb.cpp:399] check_device(): Probing usb device 1bcf:2c67 > adb I 2237 100191 usb_libusb.cpp:418] check_device(): Device bus: 0, address: 3 > adb I 2237 100191 usb_libusb.cpp:259] check_usb_interface(): Interface have not 2 endpoints, ignoring > adb I 2237 100191 usb_libusb.cpp:259] check_usb_interface(): Interface have not 2 endpoints, ignoring > adb I 2237 100191 usb_libusb.cpp:399] check_device(): Probing usb device 0489:e056 > adb I 2237 100191 usb_libusb.cpp:418] check_device(): Device bus: 0, address: 4 > adb I 2237 100191 usb_libusb.cpp:259] check_usb_interface(): Interface have not 2 endpoints, ignoring > adb I 2237 100191 usb_libusb.cpp:268] check_usb_interface(): Endpoint (1) is not bulk (2), ignoring > adb I 2237 100191 usb_libusb.cpp:399] check_device(): Probing usb device 076b:6632 > adb I 2237 100191 usb_libusb.cpp:418] check_device(): Device bus: 0, address: 2 > adb I 2237 100191 usb_libusb.cpp:259] check_usb_interface(): Interface have not 2 endpoints, ignoring > adb I 2237 100191 usb_libusb.cpp:399] check_device(): Probing usb device 2a47:2008 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > adb I 2237 100191 usb_libusb.cpp:418] check_device(): Device bus: 0, address: 5 > adb I 2237 100191 usb_libusb.cpp:259] check_usb_interface(): Interface have not 2 endpoints, ignoring > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > adb I 2237 100191 usb_libusb.cpp:614] usb_init(): finished > adb I 2237 100191 transport_local.cpp:315] transport: local client init > adb I 2237 100191 adb_auth_host.cpp:431] adb_auth_init > adb I 2237 100191 adb_auth_host.cpp:292] home '/root' > adb I 2237 100357 usb_libusb.cpp:569] device_poll_thread(): Created USB scan thread > adb I 2237 100358 transport_local.cpp:132] transport: client_socket_thread() starting > adb I 2237 100191 adb_auth_host.cpp:322] user key '/root/.android/adbkey' > adb I 2237 100191 adb_auth_host.cpp:265] read_key '/root/.android/adbkey' > adb I 2237 100191 fdevent.cpp:152] fdevent_install (fdevent 17 A) > adb I 2237 100191 fdevent.cpp:198] fdevent_set: (fdevent 17 AR), events = 1 > * daemon started successfully * > > And of course, no adb command works. Any help would be highly appreciated. > > matthias > > Did you enable developer mode on your phone? --HPS From owner-freebsd-usb@freebsd.org Tue Nov 20 08:06:29 2018 Return-Path: Delivered-To: freebsd-usb@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 DC12E11043EB for ; Tue, 20 Nov 2018 08:06:29 +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 2252D7F41B for ; Tue, 20 Nov 2018 08:06:29 +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 1gP136-0000cQ-L9 for freebsd-usb@freebsd.org; Tue, 20 Nov 2018 09:06:20 +0100 Received: from ftp51246-2575596 by sh4-5.1blu.de with local (Exim 4.86_2) (envelope-from ) id 1gP136-0002Bb-Hb for freebsd-usb@freebsd.org; Tue, 20 Nov 2018 09:06:20 +0100 Date: Tue, 20 Nov 2018 09:06:20 +0100 From: Matthias Apitz To: freebsd-usb@freebsd.org Subject: Re: Android Debug Bridge (adb) on FreeBSD && smartphone BQ E4.5 Message-ID: <20181120080620.GA22119@sh4-5.1blu.de> Reply-To: Matthias Apitz Mail-Followup-To: freebsd-usb@freebsd.org References: <20181120054609.GA2728@c720-r314251> <1e7ba4e7-a8ef-b51c-8a2b-fdabf4d37a32@selasky.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1e7ba4e7-a8ef-b51c-8a2b-fdabf4d37a32@selasky.org> 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: 2252D7F41B X-Spamd-Result: default: False [2.57 / 15.00]; HAS_REPLYTO(0.00)[guru@unixarea.de]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; MX_GOOD(-0.01)[cached: mail.unixarea.de]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; IP_SCORE(-0.00)[country: DE(-0.01)]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.62)[0.615,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[unixarea.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.54)[0.537,0]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_LONG(0.53)[0.529,0]; R_SPF_NA(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Nov 2018 08:06:30 -0000 El día Tuesday, November 20, 2018 a las 08:10:05AM +0100, Hans Petter Selasky escribió: > > Did you enable developer mode on your phone? > Of course. And it worked with the same cable on an Ubuntu 18.10 laptop out of the box. On start on the device popped up a message box and asking if I want to allow this connection. I ack'ed and had the shell prompt in the xterm where I started 'adb shell'. 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. From owner-freebsd-usb@freebsd.org Tue Nov 20 08:10:03 2018 Return-Path: Delivered-To: freebsd-usb@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 D68B611044BE for ; Tue, 20 Nov 2018 08:10:03 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 661AB7F4C3 for ; Tue, 20 Nov 2018 08:10:02 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [178.17.145.230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 261CE260150 for ; Tue, 20 Nov 2018 09:09:59 +0100 (CET) Subject: Re: Android Debug Bridge (adb) on FreeBSD && smartphone BQ E4.5 To: freebsd-usb@freebsd.org References: <20181120054609.GA2728@c720-r314251> <1e7ba4e7-a8ef-b51c-8a2b-fdabf4d37a32@selasky.org> <20181120080620.GA22119@sh4-5.1blu.de> From: Hans Petter Selasky Message-ID: <560aee91-f5b9-94bd-60f3-86f10aa6aab5@selasky.org> Date: Tue, 20 Nov 2018 09:09:24 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0.1 MIME-Version: 1.0 In-Reply-To: <20181120080620.GA22119@sh4-5.1blu.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 661AB7F4C3 X-Spamd-Result: default: False [-6.74 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-usb@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; DMARC_NA(0.00)[selasky.org]; MX_GOOD(-0.01)[cached: mail.turbocat.net]; NEURAL_HAM_SHORT(-0.98)[-0.978,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; IP_SCORE(-3.45)[ip: (-9.53), ipnet: 88.99.0.0/16(-4.85), asn: 24940(-2.85), country: DE(-0.01)]; ASN(0.00)[asn:24940, ipnet:88.99.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Nov 2018 08:10:04 -0000 On 11/20/18 9:06 AM, Matthias Apitz wrote: > El día Tuesday, November 20, 2018 a las 08:10:05AM +0100, Hans Petter Selasky escribió: > >> >> Did you enable developer mode on your phone? >> > > Of course. And it worked with the same cable on an Ubuntu 18.10 laptop > out of the box. On start on the device popped up a message box and asking > if I want to allow this connection. I ack'ed and had the shell prompt in > the xterm where I started 'adb shell'. > Did you run adb as root? Maybe you need to add some VID/PID via the environment. Works with my phone. What does "adb devices -l" output? --HPS From owner-freebsd-usb@freebsd.org Tue Nov 20 09:32:20 2018 Return-Path: Delivered-To: freebsd-usb@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 3E2361107753 for ; Tue, 20 Nov 2018 09:32:20 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (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 8B02882B10 for ; Tue, 20 Nov 2018 09:32:19 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [132.174.172.2] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1gP2OG-0005RS-VP for freebsd-usb@freebsd.org; Tue, 20 Nov 2018 10:32:16 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id wAK9WGNb002878 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 20 Nov 2018 10:32:16 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id wAK9WGr1002877 for freebsd-usb@freebsd.org; Tue, 20 Nov 2018 10:32:16 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Tue, 20 Nov 2018 10:32:15 +0100 From: Matthias Apitz To: freebsd-usb@freebsd.org Subject: Re: Android Debug Bridge (adb) on FreeBSD && smartphone BQ E4.5 Message-ID: <20181120093215.GA2789@c720-r314251> Reply-To: Matthias Apitz Mail-Followup-To: freebsd-usb@freebsd.org References: <20181120054609.GA2728@c720-r314251> <1e7ba4e7-a8ef-b51c-8a2b-fdabf4d37a32@selasky.org> <20181120080620.GA22119@sh4-5.1blu.de> <560aee91-f5b9-94bd-60f3-86f10aa6aab5@selasky.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <560aee91-f5b9-94bd-60f3-86f10aa6aab5@selasky.org> 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.8.0 (2017-02-23) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 132.174.172.2 X-Rspamd-Queue-Id: 8B02882B10 X-Spamd-Result: default: False [1.48 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[guru@unixarea.de]; HAS_XOIP(0.00)[]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.01)[cached: mail.unixarea.de]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; IP_SCORE(-0.00)[country: DE(-0.01)]; RCVD_IN_DNSWL_LOW(-0.10)[101.4.254.178.list.dnswl.org : 127.0.5.1]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.02)[-0.018,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-usb@freebsd.org]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.03)[0.026,0]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[unixarea.de]; NEURAL_SPAM_SHORT(0.18)[0.181,0]; R_SPF_NA(0.00)[]; MID_RHS_NOT_FQDN(0.50)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Nov 2018 09:32:20 -0000 El día martes, noviembre 20, 2018 a las 09:09:24a. m. +0100, Hans Petter Selasky escribió: > > Of course. And it worked with the same cable on an Ubuntu 18.10 laptop > > out of the box. On start on the device popped up a message box and asking > > if I want to allow this connection. I ack'ed and had the shell prompt in > > the xterm where I started 'adb shell'. > > > > Did you run adb as root? > Yes. > Maybe you need to add some VID/PID via the environment. Works with my phone. > > What does "adb devices -l" output? Yesterday and today morning it produced an empty list. Now it works. In the root xterm, where I start the 'adb start-server' it says now n addition to: ... adb I 2592 100164 usb_libusb.cpp:399] check_device(): Probing usb device 2a47:0c02 adb I 2592 100164 usb_libusb.cpp:418] check_device(): Device bus: 0, address: 4 adb I 2592 100164 usb_libusb.cpp:259] check_usb_interface(): Interface have not 2 endpoints, ignoring adb I 2592 100164 usb_libusb.cpp:280] check_usb_interface(): Forced Android interface protocol v.1 adb I 2592 100164 usb_libusb.cpp:280] check_usb_interface(): Forced Android interface protocol v.1 adb I 2592 100164 usb_libusb.cpp:288] check_usb_interface(): Device: 2a47:0c02 iclass: ff, isclass: 42, iproto: 1 ep: 83/2-> adb I 2592 100164 usb_libusb.cpp:298] matches adb I 2592 100164 usb_libusb.cpp:314] check_usb_interfaces(): Interface 1 of 2a47:0c02 matches Android device adb I 2592 100164 usb_libusb.cpp:473] check_device(): Device matches Android interface adb I 2592 100164 usb_libusb.cpp:327] register_device(): Registering 0x7fffffffda20 [JU000143] as USB transport adb I 2592 100164 transport.cpp:1012] transport: 0x802428000 init'ing for usb_handle 0x8024250c0 (sn='JU000143') adb I 2592 100164 transport_usb.cpp:85] transport: usb adb I 2592 100164 transport.cpp:591] transport: JU000143 registered adb I 2592 100164 usb_libusb.cpp:614] usb_init(): finished adb I 2592 100164 transport_local.cpp:315] transport: local client init adb I 2592 100164 adb_auth_host.cpp:431] adb_auth_init adb I 2592 100164 adb_auth_host.cpp:292] home '/root' adb I 2592 100164 adb_auth_host.cpp:322] user key '/root/.android/adbkey' adb I 2592 100164 adb_auth_host.cpp:265] read_key '/root/.android/adbkey' adb I 2592 100164 fdevent.cpp:152] fdevent_install (fdevent 14 A) adb I 2592 100164 fdevent.cpp:198] fdevent_set: (fdevent 14 AR), events = 1 * daemon started successfully * and in the unpriv xterm it says: $ adb devices -l List of devices attached JU000143 device ugen0.4 product:krillin model:Aquaris_E4_5_Ubuntu_Edition device:krillin $ adb shell phablet@ubuntu-phablet:~$ I don't know why it works now, but not yesterday and today morning with the same installation, same device. Only the cable is now different. I will check at home with the cable I used this morning. 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. From owner-freebsd-usb@freebsd.org Tue Nov 20 15:27:26 2018 Return-Path: Delivered-To: freebsd-usb@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 551BC1132DCD for ; Tue, 20 Nov 2018 15:27:26 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from land.berklix.org (land.berklix.org [144.76.10.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "land.berklix.org", Issuer "land.berklix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D771871D51 for ; Tue, 20 Nov 2018 15:27:24 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from mart.js.berklix.net (p2E52CE62.dip0.t-ipconnect.de [46.82.206.98]) (authenticated bits=0) by land.berklix.org (8.15.2/8.15.2) with ESMTPSA id wAKFREUU076461 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 20 Nov 2018 15:27:20 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id wAKFR9RW024405; Tue, 20 Nov 2018 16:27:09 +0100 (CET) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.7/8.14.7) with ESMTP id wAKFQprF058319; Tue, 20 Nov 2018 16:27:03 +0100 (CET) (envelope-from jhs@berklix.com) Message-Id: <201811201527.wAKFQprF058319@fire.js.berklix.net> To: Matthias Apitz cc: freebsd-usb@freebsd.org Subject: Re: Android Debug Bridge (adb) on FreeBSD && smartphone BQ E4.5 From: "Julian H. Stacey" Organization: http://berklix.eu BSD Unix Linux Consultants, Munich Germany User-agent: EXMH on FreeBSD http://berklix.eu/free/ X-From: http://www.berklix.eu/~jhs/ In-reply-to: Your message "Tue, 20 Nov 2018 10:32:15 +0100." <20181120093215.GA2789@c720-r314251> Date: Tue, 20 Nov 2018 16:26:51 +0100 X-Rspamd-Queue-Id: D771871D51 X-Spamd-Result: default: False [-2.43 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.967,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-0.96)[-0.958,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[berklix.com]; AUTH_NA(1.00)[]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: land.berklix.com]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.83)[-0.828,0]; R_SPF_NA(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[98.206.82.46.zen.spamhaus.org : 127.0.0.10]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:24940, ipnet:144.76.0.0/16, country:DE]; IP_SCORE(-0.57)[asn: 24940(-2.84), country: DE(-0.01)]; FROM_EQ_ENVFROM(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Nov 2018 15:27:26 -0000 I normally use cable not WiFI, I usually use current, my notes: http://www.berklix.com/~jhs/android/#adb PS It usually works for me, but sometimes fails, last lock was simply 'cos plug had worked loose, so the 2 longer USB power pins still illuminated the USB hub LED, but 1 or 2 of the 2 shorter data pins on the USB plug disconnected. Other times I've had more mysterious failures, but all I know to check is on my URL above. Cheers, Julian -- Julian Stacey, Computer Consultant, Systems Engineer, BSD Linux Unix, Munich. Brexit referendum stole 3,700,000 votes from Brits abroad, inc. 700,000 in EU Campaign lies, criminal funded; Markets, jobs & pound down; New Referendum! http://exitbrexit.uk