Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Apr 2019 08:56:52 -0700
From:      Adrian Chadd <adrian.chadd@gmail.com>
To:        Matthias Apitz <guru@unixarea.de>
Cc:        Alexey Dokuchaev <danfe@freebsd.org>,  "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org>
Subject:   Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD
Message-ID:  <CAJ-VmonqqGdCAGOK6tN22fq_3ashHCa%2BoD0ndfS-ZFj8aVG=cA@mail.gmail.com>
In-Reply-To: <20190414154658.GA2589@c720-r342378>
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> <CAJ-VmokDt0Ss9awPwAf-pk8=s6XqGJyBbfYTAg1BHrVM06HeGQ@mail.gmail.com> <20190411142350.GA71446@FreeBSD.org> <20190412171218.GA16463@FreeBSD.org> <20190413142006.GA59512@FreeBSD.org> <20190414154658.GA2589@c720-r342378>

next in thread | previous in thread | raw e-mail | index | archive | help
hi!

Ok, so there's two parts:

* loading in the firmware and/or bt nic setup (clock rate, etc) via
ath3kfw; and
* bluetooth coex/antenna setup in ath(4).

The latter I can do. The former may require USB stack debugging.

Which NIC is in the C720? Ar9485, right?


-adrian


On Sun, 14 Apr 2019 at 08:47, Matthias Apitz <guru@unixarea.de> wrote:

> El d=C3=ADa s=C3=A1bado, abril 13, 2019 a las 02:20:06p. m. +0000, Alexey=
 Dokuchaev
> 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 hardwa=
re
> > > is very fragile, it can be easily left in confused state and won't
> accept
> > > further commands, "usbconfig reset" does not help.  To avoid this, it
> is
> > > better run ./ath3kfw as root, after powercycling machine (to reset th=
e
> > > card).  This got me further:
> > >
>
> 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
>
> $ 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
> connection manager initialized
> Apr 13 19:22:47 aurora kernel: [   16.176845] Bluetooth: HCI socket layer
> initialized
> 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
> initialized
> Apr 13 19:22:47 aurora kernel: [   17.403429] usbcore: registered new
> interface 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
> Emulation) ver 1.3
> Apr 13 19:22:51 aurora kernel: [   30.609090] Bluetooth: BNEP filters:
> protocol multicast
> Apr 13 19:22:51 aurora kernel: [   30.609096] Bluetooth: BNEP socket laye=
r
> initialized
> Apr 13 19:22:51 aurora dbus-daemon[740]: [system] Activating via systemd:
> service name=3D'org.freedesktop.hostname1'
> unit=3D'dbus-org.freedesktop.hostname1.service' requested by ':1.11' (uid=
=3D0
> pid=3D719 comm=3D"/usr/lib/bluetooth/bluetoothd " label=3D"unconfined")
> Apr 13 19:22:54 aurora NetworkManager[797]: <info>  [1555176174.1461]
> Loaded device plugin: NMBluezManager
> (/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-bluetooth.s=
o)
> Apr 13 19:22:54 aurora NetworkManager[797]: <info>  [1555176174.4358]
> bluez: use BlueZ version 5
> Apr 13 19:22:54 aurora NetworkManager[797]: <info>  [1555176174.4421]
> bluez5: 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
> initialized
> Apr 13 19:23:29 aurora kernel: [   68.884115] Bluetooth: RFCOMM socket
> layer 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
> is not cmd complete (0x0f)
> Apr 13 19:24:02 aurora dbus-daemon[1340]: [session uid=3D1000 pid=3D1340]
> Activating via systemd: service name=3D'org.bluez.obex'
> unit=3D'dbus-org.bluez.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]
> Successfully 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
> is not cmd complete (0x0f)
> --
> 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, ...)
> and 70 years
> of war preparation against Russia.  -- PEACE instead of NATO !!!
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmonqqGdCAGOK6tN22fq_3ashHCa%2BoD0ndfS-ZFj8aVG=cA>