Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Apr 2019 12:46:47 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        freebsd-wireless@freebsd.org
Subject:   Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD
Message-ID:  <20190411104647.GA3864@c720-r342378>
In-Reply-To: <20190411092758.GA6899@FreeBSD.org>
References:  <CADGo8CXuS6oWqbMx=g-4FipQMZh%2B4mp6u%2BOTX0pAx_M58LYLZg@mail.gmail.com> <CAJ-VmommKkeioPDEF%2BCiT9k-3pNZa39ELJsuU8C1hHZ9%2BsvRtA@mail.gmail.com> <20190409160344.GA83271@FreeBSD.org> <20190410152250.GA37191@FreeBSD.org> <20190411092758.GA6899@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190411104647.GA3864>