From owner-freebsd-wireless@freebsd.org Thu Apr 18 17:02:49 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 06A2F1576A19 for ; Thu, 18 Apr 2019 17:02:49 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from smh-06.1blu.de (smh-06.1blu.de [178.254.0.206]) (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 109956F44F; Thu, 18 Apr 2019 17:02:47 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [172.16.29.5] (helo=sh4-5.1blu.de) by smh-06.1blu.de with esmtp (Exim 4.86_2) (envelope-from ) id 1hHAQo-0001Zz-Bq; Thu, 18 Apr 2019 19:02:38 +0200 Received: from ftp51246-2575596 by sh4-5.1blu.de with local (Exim 4.86_2) (envelope-from ) id 1hHAQo-0001oE-6M; Thu, 18 Apr 2019 19:02:38 +0200 Date: Thu, 18 Apr 2019 19:02:38 +0200 From: Matthias Apitz To: Adrian Chadd Cc: Alexey Dokuchaev , "freebsd-wireless@freebsd.org" Subject: Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD Message-ID: <20190418170238.GA4895@sh4-5.1blu.de> Reply-To: Matthias Apitz References: <20190415122652.GA22516@FreeBSD.org> <20190415125217.GA3992@c720-r342378> <20190415173503.GA93707@FreeBSD.org> <20190416103412.GA4582@c720-r342378> <20190417143551.GA78014@FreeBSD.org> <20190417165753.GA12433@sh4-5.1blu.de> <20190418145002.GA7750@sh4-5.1blu.de> <20190418150314.GA588@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 12.0-CURRENT r314251 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. User-Agent: Mutt/1.5.24 (2015-08-30) X-Rspamd-Queue-Id: 109956F44F X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-3.26 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; HAS_REPLYTO(0.00)[guru@unixarea.de]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[unixarea.de]; AUTH_NA(1.00)[]; REPLYTO_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[mail.unixarea.de]; NEURAL_HAM_SHORT(-0.82)[-0.820,0]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(-1.33)[ipnet: 178.254.0.0/19(-3.70), asn: 42730(-2.94), country: DE(-0.01)] 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, 18 Apr 2019 17:02:49 -0000 El día Thursday, April 18, 2019 a las 08:05:53AM -0700, Adrian Chadd escribió: > that means it SHOULD be ready for normal HCI operation. bcdDevice=1 is what > the driver uses to determine if it's only in the boot ROM. Yours either got > it in a previous boot, or it has a ROM with the full firmware. btw: I switched from ChromeOS in developer mode to boot FreeBSD from USB by 'reboot' and not by power-cycle. Maybe that's the reason why the firmware is still loaded. > Try starting bluetooth now and do an inquiry. # grep ubt0 /var/log/messages Apr 18 14:29:46 c720-r342378-usb kernel: ubt0 on uhub1 Apr 18 14:29:46 c720-r342378-usb kernel: ubt0: on usbus0 # service bluetooth start ubt0 /etc/rc.d/bluetooth: ERROR: Unable to setup Bluetooth stack for device ubt0 # /etc/rc.d/hcsecd onestart Starting hcsecd. # service bluetooth start ubt0 ng_hci_process_command_timeout: ubt0hci - unable to complete HCI command OGF=0x3, OCF=0x3. Timeout /etc/rc.d/bluetooth: ERROR: Unable to setup Bluetooth stack for device ubt0 anything else to test? matthias -- Matthias Apitz, ✉ 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 !