Re: Support for Intel AX211 Bluetooth

From: Oleksandr Kryvulia <shuriku_at_shurik.kiev.ua>
Date: Wed, 19 Jun 2024 09:47:16 UTC
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.