Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Apr 2019 07:20:12 -0700
From:      Adrian Chadd <adrian.chadd@gmail.com>
To:        Serge Semenenko <serge.a1@gmail.com>
Cc:        "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org>
Subject:   Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD
Message-ID:  <CAJ-Vmo=SUOFtHkpSQQd0V2gB2ZW8JfHW4Kgi-2xdv1wSSsmSeQ@mail.gmail.com>
In-Reply-To: <CAFOmZk2kVqhfsfTfmyaF7aZPmLjPmgtNk7DZoA=GteZvVPmJJA@mail.gmail.com>
References:  <CAFOmZk2kVqhfsfTfmyaF7aZPmLjPmgtNk7DZoA=GteZvVPmJJA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
ooo please send me a pull request with the device id update!


-a

On Sat, 20 Apr 2019 at 04:17, Serge Semenenko <serge.a1@gmail.com> wrote:

> Hi
>
> It works for me with such section in devd.conf
>
> attach 200 {
>        device-name "ubt[0-9]+";
>        match "vendor" "0x0cf3";
>        match "product" "0xe006";
>        action "sleep 2 && /usr/sbin/ath3kfw -d $ugen && sleep 2 &&
> /etc/rc.d/bluetooth quietstart $device-name";
> };
>
>
> More info:
>
> #  uname -UK
> 1200505 1200505
>
> #  pciconf -lv | tail -8
>     subclass   =3D ethernet
> ath0@pci0:2:0:0: class=3D0x028000 card=3D0x03001028 chip=3D0x0034168c rev=
=3D0x01
> hdr=3D0x00
>     vendor     =3D 'Qualcomm Atheros'
>     device     =3D 'AR9462 Wireless Network Adapter'
>     class      =3D network
>
> #  usbconfig list
> ugen0.1: <0x8086 XHCI root HUB> at usbus0, cfg=3D0 md=3DHOST spd=3DSUPER
> (5.0Gbps) pwr=3DSAVE (0mA)
> ugen0.2: <SunplusIT Inc HP HD Camera> at usbus0, cfg=3D0 md=3DHOST spd=3D=
HIGH
> (480Mbps) pwr=3DON (500mA)
> ugen0.4: <vendor 0x138a product 0x003f> at usbus0, cfg=3D0 md=3DHOST spd=
=3DFULL
> (12Mbps) pwr=3DON (100mA)
> ugen0.3: <vendor 0x0cf3 product 0xe006> at usbus0, cfg=3D0 md=3DHOST spd=
=3DFULL
> (12Mbps) pwr=3DON (100mA)
>
> # ll /usr/share/firmware/ath3k/ar3k/
> total 384
> drwxr-xr-x  2 serge  wheel    512 17 =D0=BB=D0=B8=D1=81=D1=82.  2017 1020=
201coex/
> -rw-r--r--  1 serge  wheel  55244 30 =D0=B1=D0=B5=D1=80.   2017 AthrBT_0x=
01020001.dfu
> -rw-r--r--  1 serge  wheel  40724 30 =D0=B1=D0=B5=D1=80.   2017 AthrBT_0x=
01020200.dfu
> -rw-r--r--  1 serge  wheel  48188 17 =D0=BB=D0=B8=D1=81=D1=82.  2017 Athr=
BT_0x01020201.dfu
> -rw-r--r--  1 serge  wheel  36828 30 =D0=B1=D0=B5=D1=80.   2017 AthrBT_0x=
11020000.dfu
> -rw-r--r--  1 serge  wheel  46852 30 =D0=B1=D0=B5=D1=80.   2017 AthrBT_0x=
11020100.dfu
> -rw-r--r--  1 serge  wheel  40652 30 =D0=B1=D0=B5=D1=80.   2017 AthrBT_0x=
31010000.dfu
> -rw-r--r--  1 serge  wheel  37796 30 =D0=B1=D0=B5=D1=80.   2017 AthrBT_0x=
31010100.dfu
> -rw-r--r--  1 serge  wheel  31500 30 =D0=B1=D0=B5=D1=80.   2017 AthrBT_0x=
41020000.dfu
> -rw-r--r--  1 serge  wheel   1224 30 =D0=B1=D0=B5=D1=80.   2017 ramps_0x0=
1020001_26.dfu
> -rw-r--r--  1 serge  wheel   1274 30 =D0=B1=D0=B5=D1=80.   2017 ramps_0x0=
1020200_26.dfu
> -rw-r--r--  1 serge  wheel   1204 30 =D0=B1=D0=B5=D1=80.   2017 ramps_0x0=
1020200_40.dfu
> -rw-r--r--  1 serge  wheel    264 30 =D0=B1=D0=B5=D1=80.   2017 ramps_0x0=
1020201_26.dfu
> -rw-r--r--  1 serge  wheel    264 30 =D0=B1=D0=B5=D1=80.   2017 ramps_0x0=
1020201_40.dfu
> -rw-r--r--  1 serge  wheel   1796 30 =D0=B1=D0=B5=D1=80.   2017 ramps_0x1=
1020000_40.dfu
> -rw-r--r--  1 serge  wheel   1802 30 =D0=B1=D0=B5=D1=80.   2017 ramps_0x1=
1020100_40.dfu
> -rw-r--r--  1 serge  wheel   1926 30 =D0=B1=D0=B5=D1=80.   2017 ramps_0x3=
1010000_40.dfu
> -rw-r--r--  1 serge  wheel   1922 30 =D0=B1=D0=B5=D1=80.   2017 ramps_0x3=
1010100_40.dfu
> -rw-r--r--  1 serge  wheel   1820 30 =D0=B1=D0=B5=D1=80.   2017 ramps_0x4=
1020000_40.dfu
>
> And also i had to add the card to /usr/src/usr.sbin/bluetooth/ath3kfw
>
> --- main.c.orig 2018-06-23 12:32:29.564631000 +0300
> +++ main.c      2018-06-23 12:33:01.283400000 +0300
> @@ -85,6 +85,7 @@
>         { .vendor_id =3D 0x0CF3, .product_id =3D 0x817a, .is_3012 =3D 1 }=
,
>         { .vendor_id =3D 0x0cf3, .product_id =3D 0xe004, .is_3012 =3D 1 }=
,
>         { .vendor_id =3D 0x0cf3, .product_id =3D 0xe005, .is_3012 =3D 1 }=
,
> +        { .vendor_id =3D 0x0cf3, .product_id =3D 0xe006, .is_3012 =3D 1 =
},
>         { .vendor_id =3D 0x0cf3, .product_id =3D 0xe003, .is_3012 =3D 1 }=
,
>         { .vendor_id =3D 0x13d3, .product_id =3D 0x3362, .is_3012 =3D 1 }=
,
>         { .vendor_id =3D 0x13d3, .product_id =3D 0x3375, .is_3012 =3D 1 }=
,
> _______________________________________________
> freebsd-wireless@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.or=
g
> "
>



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