From owner-freebsd-wireless@freebsd.org Thu Apr 11 10:46:58 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 64DC81580BAE for ; Thu, 11 Apr 2019 10:46:58 +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 4A86588C2C for ; Thu, 11 Apr 2019 10:46:56 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [89.204.130.80] (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 1hEXEF-0002Pv-GW for freebsd-wireless@freebsd.org; Thu, 11 Apr 2019 12:46:47 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id x3BAklOU003963 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Thu, 11 Apr 2019 12:46:47 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id x3BAkl0k003962 for freebsd-wireless@freebsd.org; Thu, 11 Apr 2019 12:46:47 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Thu, 11 Apr 2019 12:46:47 +0200 From: Matthias Apitz To: freebsd-wireless@freebsd.org Subject: Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD Message-ID: <20190411104647.GA3864@c720-r342378> Reply-To: Matthias Apitz References: <20190409160344.GA83271@FreeBSD.org> <20190410152250.GA37191@FreeBSD.org> <20190411092758.GA6899@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190411092758.GA6899@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: 89.204.130.80 X-Rspamd-Queue-Id: 4A86588C2C X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-4.87 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[guru@unixarea.de]; HAS_XOIP(0.00)[]; IP_SCORE(-3.19)[ip: (-9.15), ipnet: 178.254.0.0/19(-3.79), asn: 42730(-3.01), country: DE(-0.01)]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.01)[mail.unixarea.de]; NEURAL_HAM_SHORT(-0.98)[-0.981,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[101.4.254.178.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; MIME_TRACE(0.00)[0:+]; RECEIVED_SPAMHAUS_PBL(0.00)[80.130.204.89.zen.spamhaus.org : 127.0.0.11]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.994,0]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-wireless@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[unixarea.de]; R_SPF_NA(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; 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: Thu, 11 Apr 2019 10:46:58 -0000 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: 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