Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Apr 2019 08:05:53 -0700
From:      Adrian Chadd <adrian.chadd@gmail.com>
To:        Alexey Dokuchaev <danfe@freebsd.org>
Cc:        Matthias Apitz <guru@unixarea.de>,  "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org>
Subject:   Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD
Message-ID:  <CAJ-Vmo=kSBsLeXTeTaFjVw%2Byv4BBQyHVHS7Riiv8TJG5Z215JA@mail.gmail.com>
In-Reply-To: <20190418150314.GA588@FreeBSD.org>
References:  <CAJ-Vmonvko=vpbr3kSGBpS-zpeONdQHBjkqMf4gasq=CzDbRpg@mail.gmail.com> <20190415044836.GA2635@c720-r342378> <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> <CAJ-Vmom_RuGVdy11OFKtSe_RfgTtbd_Pr=pVkub4tujGOu=WUw@mail.gmail.com> <20190418150314.GA588@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

Try starting bluetooth now and do an inquiry.


-a


On Thu, 18 Apr 2019 at 08:03, Alexey Dokuchaev <danfe@freebsd.org> wrote:

> On Thu, Apr 18, 2019 at 07:58:34AM -0700, Adrian Chadd wrote:
> > Ok, so it found and loaded in the bluetooth firmware into the
> > bluetooth NIC RAM.
>
> Why do you think so?
>
> > On Thu, 18 Apr 2019 at 07:50, Matthias Apitz <guru@unixarea.de> wrote:
> > >
> > > I have booted the other C720 from USB and here are the results:
> > >
> > > # ./ath3kfw -D -d ugen0.4 -I
> > > ath3kfw: opening dev 0.4
> > > ath3k_is_3012: found AR3012
> > > main: AR3012; bcdDevice=2, exiting
>
>         /* See if its an AR3012 */
>         if (ath3k_is_3012(&d)) {
>                 is_3012 = 1;
>
>                 /* If it's bcdDevice > 1, don't attach */
>                 if (d.bcdDevice > 0x0001) {
>                         ath3k_debug("%s: AR3012; bcdDevice=%d, exiting\n",
>                             __func__,
>                             d.bcdDevice);
>                         exit(0);
>                 }
>         }
>
> It looks to me it never reached the stage of loading the firmware because
> of bcdDevice=2.
>
> ./danfe
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmo=kSBsLeXTeTaFjVw%2Byv4BBQyHVHS7Riiv8TJG5Z215JA>