Re: Support for Intel AX211 Bluetooth

From: Kevin Oberman <rkoberman_at_gmail.com>
Date: Thu, 20 Jun 2024 22:31:20 UTC
On Wed, Jun 19, 2024 at 2:47 AM Oleksandr Kryvulia <shuriku@shurik.kiev.ua>
wrote:

> 19.06.24 02:36, Kevin Oberman:
>
>
>
> On Wed, Jun 12, 2024 at 10:48 PM Oleksandr Kryvulia <
> shuriku@shurik.kiev.ua> wrote:
>
>> 13.06.24 05:01, Kevin Oberman:
>>
>> I have an Intel AX211 WiFi/Bluetooth wireless in my Lenovo T16 Gen. 1
>> (Intel) laptop. When I first got the system, it loaded a driver, but I
>> failed to get it working before it stopped being recognized at all. I
>> assume that it was realized that the old driver for older Intel systems
>> didn't work on the AX2xx devices.
>>
>> Is there any hope of support for newer Intel BlueTooth interfaces? I'd
>> really love to get my wireless earbuds working with this system. Or should
>> this go to multimedia@?
>>
>>
>> Look at https://reviews.freebsd.org/D44861.
>>
>
> First, thanks very much for your suggestion. I have made several tries to
> get it to work, but /dev/ubt0 never gets created After realizing that I
> needed to do an etcupdate to get the iwmbtfw.conf installed, I do see the
> device shown during the system startup.
> ubt0 on uhub1
> ubt0: <vendor 0x8087 product 0x0033, class 224/1, rev 2.01/0.00, addr 2>
> on usbus1
>
> "service bluetooth start ubt0'" generates an error of
> "/etc/rc.d/bluetooth: WARNING: Reset failed, retrying."
>
> I feel like I have simply missed something basic, but have not been able
> to figure out what. I have double checked the patch that was not in the
> main patch, but in the text specifically for the AX211
>
>
> To get it work you need:
> - patch from review
> - my patch in comments, it must be applied against current src tree after
> previous patch.
> - updated firmware from comms/iwmbt-firmware (allready in ports tree since
> 124f62b82791b7fe8056f58c6455b77f107e1e6d
> <https://cgit.freebsd.org/ports/commit/comms/iwmbt-firmware?id=124f62b82791b7fe8056f58c6455b77f107e1e6d>
> )
>
> This partialy works on my laptop - obex is ok, but bluetooth mouse via
> bthidd do not works.
>

I can confirm that the patch from the review installed cleanly.
iwmbt-firmware-20230625
The patch from the comments was  applied cleanly.
World rebuilt NO_CLEAN
Kernel was rebuilt and installed NO_CLEAN
Kernel booted standalone and world installed
Ran etcupdate
rebooted
Only messages related to bluetooth were "Autoloading module: ng_ubt",  "bt0
on uhub0", and "ubt0: <vendor 0x8087 product 0x0033, class 224/1, rev
2.01/0.00, addr 2> on usbus1"
No /dev/ubt0 was present
"# service bluetooth start ubt0"
"/etc/rc.d/bluetooth: ERROR: Unable to setup Bluetooth stack for device
ubt0"

Any suggestions?
-- 
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683