From owner-freebsd-wireless@freebsd.org Wed Apr 17 14:35:52 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 210A9156DBFD for ; Wed, 17 Apr 2019 14:35:52 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8BA5182335; Wed, 17 Apr 2019 14:35:51 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1033) id 7DDA51061C; Wed, 17 Apr 2019 14:35:51 +0000 (UTC) Date: Wed, 17 Apr 2019 14:35:51 +0000 From: Alexey Dokuchaev To: Matthias Apitz Cc: Adrian Chadd , "freebsd-wireless@freebsd.org" Subject: Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD Message-ID: <20190417143551.GA78014@FreeBSD.org> References: <20190414160236.GA2980@c720-r342378> <20190414163841.GA3208@c720-r342378> <20190415044836.GA2635@c720-r342378> <20190415122652.GA22516@FreeBSD.org> <20190415125217.GA3992@c720-r342378> <20190415173503.GA93707@FreeBSD.org> <20190416103412.GA4582@c720-r342378> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190416103412.GA4582@c720-r342378> User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Queue-Id: 8BA5182335 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.995,0]; NEURAL_HAM_SHORT(-0.96)[-0.958,0]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; TAGGED_RCPT(0.00)[]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US] 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: Wed, 17 Apr 2019 14:35:52 -0000 On Tue, Apr 16, 2019 at 12:34:12PM +0200, Matthias Apitz wrote: > # ./ath3kfw -D -d ugen0.3 -I > ath3kfw: opening dev 0.3 > ath3k_is_3012: found AR3012 > main: state=0x0e > ROM version: 285343744, build version: 155, ram version: 155, ref clock=1 > ath3kfw: ath3k_fw_read: open: /usr/share/firmware/ath3k//ar3k/AthrBT_0x11020000.dfu: No such file or directory OK, so the file is not in the right place (as indicated by this message). > ath3k_load_patch: ath3k_fw_read() failed > Loading patch file failed > > The ROM version: 285343744 does not look like something meaningful, > maybe the tool reads the wrong place. It is meaningful and correct, it is just printed in decimal which is probably bogus: $ echo 16 o 285343744 p | dc 11020000 > Which file I should use from ath3k/share/firmware/ath3k > # ls -C1 > ar3k > ath3k-1.fw > LICENCE.atheros_firmware > > below ar3k/ are a lot more files .... Is there AthrBT_0x11020000.dfu amongst them? Try placing it under /usr/share/firmware/ath3k/ar3k/ and repeat the procedure. ./danfe