Atheros AR5B22 WLAN+Bluetooth support on FreeBSD

Matthias Apitz guru at unixarea.de
Thu Apr 11 10:46:58 UTC 2019


El día jueves, abril 11, 2019 a las 09:27:58a. m. +0000, Alexey Dokuchaev escribió:

> On Wed, Apr 10, 2019 at 03:22:50PM +0000, Alexey Dokuchaev wrote:
> > On Tue, Apr 09, 2019 at 04:03:44PM +0000, Alexey Dokuchaev wrote:
> > > On Sun, Jun 02, 2013 at 09:59:05AM -0700, Adrian Chadd wrote:
> > > > Hi,
> > > > 
> > > > It's supported in -HEAD.
> > 
> > Driver attaches correctly if I move module loading to loader.conf(5):
> > 
> >     if_ath_load="YES"
> >     if_ath_pci_load="YES"
> > 
> > Bluetooth still doesn't work though.
> 
> I've just stumbled upon this email* of Adrian's that tells how to enable
> Bluetooth Coexistence by adding ``hint.ath.0.btcoex_profile="wb222"'' to
> /boot/device.hints (for AR9462 cards).  I've done that, and logs tell me
> it is enabled, but Bluetooth still does not work:
> 
>   % dmesg | grep -i coex
>   ath0: Enabling WB222 BTCOEX
>   # hccontrol inquiry
>   ... repeated attempts, plenty of devices around ...
>   Inquiry complete. Status: No error [00]

I own an Acer C720 and set the same in /boot/device.hints. After boot it
says in dmesg:

$ dmesg | grep ath
ath0: <Atheros AR946x/AR948x> mem 0xe0400000-0xe047ffff at device 0.0 on pci1
ath0: RX status length: 48
ath0: RX buffer size: 4096
ath0: TX descriptor length: 128
ath0: TX status length: 36
ath0: TX buffers per descriptor: 4
ath0: ath_edma_setup_rxfifo: type=0, FIFO depth = 16 entries
ath0: ath_edma_setup_rxfifo: type=1, FIFO depth = 128 entries
ath0: Enabling WB222 BTCOEX
...

But I don't know how to further enable any BT device. The above
hcccontrol just says:

# hccontrol inquiry
hccontrol: Could not create socket: Address family not supported by protocol family

What in addition I should load or do to get BT working?
Thanks

	matthias

-- 
Matthias Apitz, ✉ guru at unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub


More information about the freebsd-wireless mailing list