Re: Activating Bluetooth on intel AX200,AX201,AX210 modules

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Sun, 20 Jul 2025 21:14:15 UTC
On Sun, 20 Jul 2025, Lars Tunkrans wrote:

Hi Lars,

> I  have  a   3 years  Old  FUjitsu Celsius H7510   with I7-10885H  CPU  and   
> AX201
> instructions in the Handbook talks about inserting a Bluetooth dongle in a 
> USB port.
> This is obviously not the case here as the AX201 M.2. card includes the 
> Bluetooth circuitry and the Bluetooth antenna is pre-installed in the laptop.
>
>   As Bjoern.Zeeb    has  done  an  enormous  job  on  the  AX200 IWLWIFI  
> side,   this  bluetooth  part  of the  same circut-board  may interact  with  
> the  WIFI    part  .......

Not my domain of expertise but:
(a) which ersion of FreeBSD are you on?
(b) Check if you have an 0x0026 entry in /usr/src/sys/netgraph/bluetooth/drivers/ubt/ng_ubt_intel.c:     { USB_VPI(USB_VENDOR_INTEL2, 0x0026, UBT_INTEL_DEVICE_8260) },
(c) did you install firmware?  There is an iwmbt-firmware package.  Looks like you have.

(d) last time I tried I with an AX210 I had to try to start it 1..4
times until eventually it worked.

Reading below I think you are in the (d) category.

Here's notes I left someone else for that trial:

------------------------------------------------------------------------
I installed the iwmbt-firmware package manually and then manually loaded
it, twice; the 2nd time with -DI and then started
/etc/rc.d/bluetooth start ubt0
one more time and then it was there..

[337612.962319] ubt0 on uhub0
[337612.962354] ubt0: <vendor 0x8087 product 0x0032, class 224/1, rev 2.01/0.00, addr 3> on usbus0
[337927.563193] ng_hci_process_command_timeout: ubt0hci - unable to complete HCI command OGF=0x3, OCF=0x3. Timeout

Following https://freebsdfoundation.org/resource/networking-basics-wifi-and-bluetooth/

# hccontrol -n ubt0hci inquiry
Inquiry result, num_responses=1
Inquiry result #0
         BD_ADDR: xx:xx:xx:xx:xx:xx
         Page Scan Rep. Mode: 0x1
         Page Scan Period Mode: 00
         Page Scan Mode: 00
         Class: xx:xx:xx
         Clock offset: 0x22f7
Inquiry complete. Status: No error [00]
------------------------------------------------------------------------

> # iwmbtfw -I -d ugen0.6
> iwmbt_is_supported: found iwmbtfw compatible
> main: Firmware has already been downloaded
> main: Firmware download is successful!
>
> # ps -ax | grep hcsec
> 51253  -  Is      0:00.00 /usr/sbin/hcsecd -f /etc/bluetooth/hcsecd.conf
>
> # ps -ax | grep sdpd
> 58045  -  Is      0:00.00 /usr/sbin/sdpd -c /var/run/sdp -g nobody -u nobody
>
>
>
> Looks like the Hardware should work but :
>
> # service bluetooth start ubt0
> /etc/rc.d/bluetooth: ERROR: Unable to setup Bluetooth stack for device ubt0
>
>
>    PLS   advise   how  to  further  diagnose  the  case,

-- 
Bjoern A. Zeeb                                                     r15:7