Date: Mon, 21 Jul 2025 00:48:56 +0200 From: Lars Tunkrans <drsnx60@gmail.com> To: "Bjoern A. Zeeb" <bz@FreeBSD.org> Cc: freebsd-bluetooth@FreeBSD.org, freebsd-wireless@freebsd.org Subject: Re: Activating Bluetooth on intel AX200,AX201,AX210 modules Message-ID: <048d304e-65d1-44c3-a137-562de6e5c9da@gmail.com> In-Reply-To: <30nnq627-nr7s-6623-3opp-n21p66ss1n57@SerrOFQ.bet> References: <edea0872-244d-4a24-82f5-b600b16aa827@gmail.com> <30nnq627-nr7s-6623-3opp-n21p66ss1n57@SerrOFQ.bet>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
Hi Björn
#1 running Current -15 updated on 12:th of july from github
sources, on this laptop.
#2 yes, I have an 0x0026 entry in
/usr/src/sys/netgraph/bluetooth/drivers/ubt/ng_ubt_intel.c:
#3 If I issue iwmbtf install command 4 times
consecutively the "service bluetooth start ubt0 " command
appears to work ,
hccontrol commands appear to run,
btsockstat runs
# usbconfig show_ifdrv says:
ugen0.6: <AX201 Bluetooth Intel Corp.> at usbus0, cfg=0
md=HOST spd=FULL (12Mbps) pwr=ON (100mA)
* ugen0.6.0: ubt0: <vendor 0x8087 product 0x0026, class 224/1, rev
2.01/0.02, addr 5>*
* device is available*
SO is the conclusion that the AX201 BT module needs to be
wacked on the head 4 times to bother waking up ?
shouldnt device initialization at system startup take care
of that, ´?
I dont have a bluetooth mouse with me presently but will
try one next week .
//Lars
On 7/20/25 11:14 PM, Bjoern A. Zeeb wrote:
> 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,
>
[-- Attachment #2 --]
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<br>
<p>Hi Björn <br>
</p>
<p> #1 running Current -15 updated on 12:th of july from
github sources, on this laptop. <br>
</p>
<p> #2 yes, I have an 0x0026 entry in
/usr/src/sys/netgraph/bluetooth/drivers/ubt/ng_ubt_intel.c: </p>
<p> #3 If I issue iwmbtf install command 4 times
consecutively the "service bluetooth start ubt0 " command
appears to work , <br>
</p>
<p> hccontrol commands appear to run, </p>
<p> btsockstat runs <br>
</p>
<p><br>
</p>
<p> # usbconfig show_ifdrv says: <br>
</p>
<p> ugen0.6: <AX201 Bluetooth Intel Corp.> at
usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA)<br>
<b> ugen0.6.0: ubt0: <vendor 0x8087 product
0x0026, class 224/1, rev 2.01/0.02, addr 5></b></p>
<p><b> device is available</b></p>
<p> SO is the conclusion that the AX201 BT module
needs to be wacked on the head 4 times to bother
waking up ? <br>
</p>
<p> shouldnt device initialization at system startup take
care of that, ´? </p>
<p> I dont have a bluetooth mouse with me presently but
will try one next week . </p>
<p><br>
</p>
<p> //Lars <br>
</p>
<p><br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 7/20/25 11:14 PM, Bjoern A. Zeeb
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:30nnq627-nr7s-6623-3opp-n21p66ss1n57@SerrOFQ.bet">On
Sun, 20 Jul 2025, Lars Tunkrans wrote:
<br>
<br>
Hi Lars,
<br>
<br>
<blockquote type="cite">I have a 3 years Old FUjitsu Celsius
H7510 with I7-10885H CPU and AX201
<br>
instructions in the Handbook talks about inserting a Bluetooth
dongle in a USB port.
<br>
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.
<br>
<br>
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 .......
<br>
</blockquote>
<br>
Not my domain of expertise but:
<br>
(a) which ersion of FreeBSD are you on?
<br>
(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) },
<br>
(c) did you install firmware? There is an iwmbt-firmware
package. Looks like you have.
<br>
<br>
(d) last time I tried I with an AX210 I had to try to start it
1..4
<br>
times until eventually it worked.
<br>
<br>
Reading below I think you are in the (d) category.
<br>
<br>
Here's notes I left someone else for that trial:
<br>
<br>
------------------------------------------------------------------------
<br>
I installed the iwmbt-firmware package manually and then manually
loaded
<br>
it, twice; the 2nd time with -DI and then started
<br>
/etc/rc.d/bluetooth start ubt0
<br>
one more time and then it was there..
<br>
<br>
[337612.962319] ubt0 on uhub0
<br>
[337612.962354] ubt0: <vendor 0x8087 product 0x0032, class
224/1, rev 2.01/0.00, addr 3> on usbus0
<br>
[337927.563193] ng_hci_process_command_timeout: ubt0hci - unable
to complete HCI command OGF=0x3, OCF=0x3. Timeout
<br>
<br>
Following
<a class="moz-txt-link-freetext" href="https://freebsdfoundation.org/resource/networking-basics-wifi-and-bluetooth/">https://freebsdfoundation.org/resource/networking-basics-wifi-and-bluetooth/</a><br>
<br>
# hccontrol -n ubt0hci inquiry
<br>
Inquiry result, num_responses=1
<br>
Inquiry result #0
<br>
BD_ADDR: xx:xx:xx:xx:xx:xx
<br>
Page Scan Rep. Mode: 0x1
<br>
Page Scan Period Mode: 00
<br>
Page Scan Mode: 00
<br>
Class: xx:xx:xx
<br>
Clock offset: 0x22f7
<br>
Inquiry complete. Status: No error [00]
<br>
------------------------------------------------------------------------
<br>
<br>
<blockquote type="cite"># iwmbtfw -I -d ugen0.6
<br>
iwmbt_is_supported: found iwmbtfw compatible
<br>
main: Firmware has already been downloaded
<br>
main: Firmware download is successful!
<br>
<br>
# ps -ax | grep hcsec
<br>
51253 - Is 0:00.00 /usr/sbin/hcsecd -f
/etc/bluetooth/hcsecd.conf
<br>
<br>
# ps -ax | grep sdpd
<br>
58045 - Is 0:00.00 /usr/sbin/sdpd -c /var/run/sdp -g
nobody -u nobody
<br>
<br>
<br>
<br>
Looks like the Hardware should work but :
<br>
<br>
# service bluetooth start ubt0
<br>
/etc/rc.d/bluetooth: ERROR: Unable to setup Bluetooth stack for
device ubt0
<br>
<br>
<br>
PLS advise how to further diagnose the case,
<br>
</blockquote>
<br>
</blockquote>
</body>
</html>
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?048d304e-65d1-44c3-a137-562de6e5c9da>
