From owner-freebsd-wireless@freebsd.org Sun Apr 14 15:47:10 2019 Return-Path: Delivered-To: freebsd-wireless@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 72B17157902C for ; Sun, 14 Apr 2019 15:47:10 +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 F37016EBBE; Sun, 14 Apr 2019 15:47:08 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [188.174.52.103] (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 1hFhLQ-0004Za-C2; Sun, 14 Apr 2019 17:47:00 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id x3EFkxCj002666 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sun, 14 Apr 2019 17:46:59 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id x3EFkxGv002665; Sun, 14 Apr 2019 17:46:59 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sun, 14 Apr 2019 17:46:58 +0200 From: Matthias Apitz To: Alexey Dokuchaev Cc: Adrian Chadd , "freebsd-wireless@freebsd.org" Subject: Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD Message-ID: <20190414154658.GA2589@c720-r342378> Reply-To: Matthias Apitz References: <20190410152250.GA37191@FreeBSD.org> <20190411092758.GA6899@FreeBSD.org> <20190411104647.GA3864@c720-r342378> <20190411125242.GA64046@FreeBSD.org> <20190411131328.GA4909@c720-r342378> <20190411131859.GA17806@FreeBSD.org> <20190411142350.GA71446@FreeBSD.org> <20190412171218.GA16463@FreeBSD.org> <20190413142006.GA59512@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="lrZ03NoBR/3+SXJZ" Content-Disposition: inline In-Reply-To: <20190413142006.GA59512@FreeBSD.org> X-Operating-System: FreeBSD 13.0-CURRENT r342378 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. User-Agent: Mutt/1.11.1 (2018-12-01) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 188.174.52.103 X-Rspamd-Queue-Id: F37016EBBE X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.74 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_XOIP(0.00)[]; TO_DN_SOME(0.00)[]; HAS_REPLYTO(0.00)[guru@unixarea.de]; IP_SCORE(-3.16)[ip: (-9.08), ipnet: 178.254.0.0/19(-3.75), asn: 42730(-2.97), country: DE(-0.01)]; HAS_XAW(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.01)[mail.unixarea.de]; NEURAL_HAM_SHORT(-0.77)[-0.767,0]; SIGNED_PGP(-2.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[101.4.254.178.list.dnswl.org : 127.0.5.1]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; MIME_TRACE(0.00)[0:+,1:+]; RECEIVED_SPAMHAUS_PBL(0.00)[103.52.174.188.zen.spamhaus.org : 127.0.0.10]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[unixarea.de]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_NA(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; FREEMAIL_CC(0.00)[gmail.com]; RCVD_TLS_LAST(0.00)[] X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Apr 2019 15:47:10 -0000 --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable El d=C3=ADa s=C3=A1bado, abril 13, 2019 a las 02:20:06p. m. +0000, Alexey D= okuchaev escribi=C3=B3: > On Fri, Apr 12, 2019 at 05:12:18PM +0000, Alexey Dokuchaev wrote: > > I've then rebooted back into FreeBSD. Apparently, this AR3012 hardware > > is very fragile, it can be easily left in confused state and won't acce= pt > > further commands, "usbconfig reset" does not help. To avoid this, it is > > better run ./ath3kfw as root, after powercycling machine (to reset the > > card). This got me further: > >=20 I booted my Acer C720 from an external USB disk with an Ubuntu 18.04 ; below is the output of the following grep (I can provide the full file if it is of interest); BlueTooth was working fine out of the box and pairing with my Ubuntu mobile phone=20 $ egrep -i 'e056|blue|ath3' syslog Apr 13 19:22:47 aurora systemd[1]: Starting Bluetooth service... Apr 13 19:22:47 aurora kernel: [ 3.378263] usb 2-4: New USB device found= , idVendor=3D0489, idProduct=3De056, bcdDevice=3D 0.02 Apr 13 19:22:47 aurora kernel: [ 16.176818] Bluetooth: Core ver 2.22 Apr 13 19:22:47 aurora kernel: [ 16.176840] Bluetooth: HCI device and con= nection manager initialized Apr 13 19:22:47 aurora kernel: [ 16.176845] Bluetooth: HCI socket layer i= nitialized Apr 13 19:22:47 aurora kernel: [ 16.176848] Bluetooth: L2CAP socket layer= initialized Apr 13 19:22:47 aurora kernel: [ 16.176858] Bluetooth: SCO socket layer i= nitialized Apr 13 19:22:47 aurora kernel: [ 17.403429] usbcore: registered new inter= face driver ath3k Apr 13 19:22:51 aurora bluetoothd[719]: Bluetooth daemon 5.48 Apr 13 19:22:51 aurora systemd[1]: Started Bluetooth service. Apr 13 19:22:51 aurora systemd[1]: Reached target Bluetooth. Apr 13 19:22:51 aurora bluetoothd[719]: Starting SDP server Apr 13 19:22:51 aurora bluetoothd[719]: Bluetooth management interface 1.14= initialized Apr 13 19:22:51 aurora kernel: [ 30.609088] Bluetooth: BNEP (Ethernet Emu= lation) ver 1.3 Apr 13 19:22:51 aurora kernel: [ 30.609090] Bluetooth: BNEP filters: prot= ocol multicast Apr 13 19:22:51 aurora kernel: [ 30.609096] Bluetooth: BNEP socket layer = initialized Apr 13 19:22:51 aurora dbus-daemon[740]: [system] Activating via systemd: s= ervice name=3D'org.freedesktop.hostname1' unit=3D'dbus-org.freedesktop.host= name1.service' requested by ':1.11' (uid=3D0 pid=3D719 comm=3D"/usr/lib/blu= etooth/bluetoothd " label=3D"unconfined") Apr 13 19:22:54 aurora NetworkManager[797]: [1555176174.1461] Loade= d device plugin: NMBluezManager (/usr/lib/x86_64-linux-gnu/NetworkManager/l= ibnm-device-plugin-bluetooth.so) Apr 13 19:22:54 aurora NetworkManager[797]: [1555176174.4358] bluez= : use BlueZ version 5 Apr 13 19:22:54 aurora NetworkManager[797]: [1555176174.4421] bluez= 5: NAP: added interface 90:48:9A:92:9E:44 Apr 13 19:23:23 aurora /usr/lib/gdm3/gdm-x-session[1324]: (II) modeset(0): = blueX: 0.160 blueY: 0.144 whiteX: 0.313 whiteY: 0.329 Apr 13 19:23:29 aurora bluetoothd[719]: Endpoint registered: sender=3D:1.80= path=3D/MediaEndpoint/A2DPSource Apr 13 19:23:29 aurora bluetoothd[719]: Endpoint registered: sender=3D:1.80= path=3D/MediaEndpoint/A2DPSink Apr 13 19:23:29 aurora kernel: [ 68.884106] Bluetooth: RFCOMM TTY layer i= nitialized Apr 13 19:23:29 aurora kernel: [ 68.884115] Bluetooth: RFCOMM socket laye= r initialized Apr 13 19:23:29 aurora kernel: [ 68.884122] Bluetooth: RFCOMM ver 1.11 Apr 13 19:24:01 aurora kernel: [ 100.963505] Bluetooth: hci0: last event i= s not cmd complete (0x0f) Apr 13 19:24:02 aurora dbus-daemon[1340]: [session uid=3D1000 pid=3D1340] A= ctivating via systemd: service name=3D'org.bluez.obex' unit=3D'dbus-org.blu= ez.obex.service' requested by ':1.58' (uid=3D1000 pid=3D1823 comm=3D"gnome-= control-center bluetooth " label=3D"unconfined") Apr 13 19:24:02 aurora systemd[1306]: Starting Bluetooth OBEX service... Apr 13 19:24:02 aurora dbus-daemon[1340]: [session uid=3D1000 pid=3D1340] S= uccessfully activated service 'org.bluez.obex' Apr 13 19:24:02 aurora systemd[1306]: Started Bluetooth OBEX service. Apr 13 19:24:17 aurora kernel: [ 116.965447] Bluetooth: hci0: last event i= s not cmd complete (0x0f) --=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 70 years of NATO - 70 years of wars (Jugoslavia, Afghanistan, Syria, ...) a= nd 70 years of war preparation against Russia. -- PEACE instead of NATO !!! --lrZ03NoBR/3+SXJZ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXmn7rBYYViyzy/vBR8z35Hb+nREFAlyzVewACgkQR8z35Hb+ nRF1Vg/+MqbSSr0UqAjX22aB1yhbmLxp1QUBhMwwkEXGcGEUIWgVmPMhjTWjhZfv iVsEqPF7pJ9GkmDpjOhE+ihGMoMK8igAOFLXM4PpbVwW46gFs+TasJH/e4OxNLfK rdP9ngBDntXmw69HvM8z0pPJr7u4LQRpW04shkB06sZepFPbDpZvFEHllpTJswhq 5VO6xmuMctxSHjZvTxhM3OQAKXlqvfggIdMwowYpR/tWeRWWxEOePTUPs4P8jlM/ 9vW0XuoGNh3sNmYoRQv4V+qRhmtm46fFfYLp42BJQesGU9sla5a3xJVZI4VgdXMZ oDfbnavXj1a6qGb+M4gc9yrafPs/LwA/dUmNR09wgr+9c6yte7G6Pd8vgWr/Savs sI/rBjCxS6rvdVqt/4y+YN/ZB3Lb9gOgxn6L5T9OqI3hRdTAIzVFerlcWvky5xyP gF/cJDW9D1CHvb5kJHV89Dmtof1OgSvlYAZ67m01vauVdxXkKU8MRjumk1LFpatb iSJ/f4LIuJV+gcwvkRRLJOe5ybMaEgEBchm45mmEQVQSj9NC49zn89gN10HzaLWx bl0WzpmjbsqEOntayhf2L/8+7/mv/s6IFeqdIMrxXY0o2MSr8usk2l0PJc3/v5Zr UBosMG36hB1pYsT/hJLpFrcRcioIh8qddbkJGfXYAcndj/XlPX0= =cfae -----END PGP SIGNATURE----- --lrZ03NoBR/3+SXJZ--