From nobody Mon Aug 25 19:30:52 2025 X-Original-To: freebsd-bluetooth@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4c9grT3vgzz65W4G; Mon, 25 Aug 2025 19:31:05 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4c9grT34GSz3Drt; Mon, 25 Aug 2025 19:31:05 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1756150265; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=T0dKDbz2EIlRu4capFkV81eeHaOJhrQRXWIZ8EG34aE=; b=tjfXZIvucXaHxBQ+SDztjiTx9SQa8/x+8sPsC1WQXUz6jvb9+bbL4RPiWTznX0s+qJmk1v SoOMHv7NJZb76InlgIAXCcp/5gnacGMWPEgz2r2bSofnVE5NIMtY1gnDE8w7sgKkD2HeRM QEkPckYhzkYfx63LD9KbzbrnVUbkl9LWm2GkYw4QZi+5BLK2AT4GRsQkOHo0YYUgSzsydh 8rP4Bjzx+TIui8TmxrCvuq84WrT3cG+lfkyBzJsEgZ79PBpRH0SKT4xSF2D7/mn24HjSx2 irzmr3946ZJxCHyn0k7Yqgj+Vt8TlpdUeVgng8jcBOHtr+lmXXuORWeZZLDHWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1756150265; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=T0dKDbz2EIlRu4capFkV81eeHaOJhrQRXWIZ8EG34aE=; b=Wq8q/s1airOMd8Luq+K8hrcdDA4vWp2cc18Y1mo2Q/r3VR5nAbj9+acPwRD99JpfbPrM6e xFFUYKh61wGGqesOQXcKStVcua5Sk91xoMgtjGdWYDOfaRk4Cm7Ask4GdRHWCXkCcPN+E1 3cU/IzgK5ZMoTLkoUx50wdstft1+IER2zciM+vm7KOv+gIa7WOss96ddWxLzKr5NxHndwd jCCCalxYa0Hqe/I0WU8Bsz+ktW9Ro65UYRKlxOH+QkxuuziQtFVBzyVLJh/j4ymc1OwNtv 5jw8PCrg5L9vmSBMUacT2WEyRnEDuCSwVz4EUbAseJbsYRlPO1gdh8MwiLunyA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1756150265; a=rsa-sha256; cv=none; b=lriKYx+UmPfftLFre2y8IrjvYMrfz4H1ZF+QrtnPWf8+eQ18cFl+TVhD5WqLla1XbNGCXN eOknTvLRApqnP0gDHBKi0eKvRaiT+TFOZGgszLIDB2VyWyeItWe0lIphLGcWHBI4na4eev 3rsqaFHUjjyO0b3ASx2M7Dm0rUjeK8VYJbsZyh/7Py4OLP9EiRoG1ihIGFypxaE+bH0Dyf NqxEHYIzh/CE7yyHFGjRG42OShoFKZXmUykvofd3PR9AZcGULQ2Gl/fdvRrZWaTFQ9vbQs Pmwhjyt1wHKuHfd8bu8SUcBrf4BL2aKBO9kQ01rX/bW78g8HQ1ukBA0itOVIXA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from mail-qv1-f43.google.com (mail-qv1-f43.google.com [209.85.219.43]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4c9grT27xwz6y4; Mon, 25 Aug 2025 19:31:05 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-qv1-f43.google.com with SMTP id 6a1803df08f44-70a9f5a381bso10026506d6.3; Mon, 25 Aug 2025 12:31:05 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCVddYLwc/BM9ABZFQdPAhnpREwKsecJrTdZbMwNaoFHhLY61rOFqadqGXMkmgACh/q2I1VbaSUIxAouYTgHk+XKFA==@freebsd.org, AJvYcCW7ZhsQa2ZQ2Rg2GMzcp1YG7ltVugEakRjgQBQTDhTwgoISQftLUVwmUi+70roa8fpH55C5pVUguF9Sg1MrEbgIrw==@freebsd.org X-Gm-Message-State: AOJu0YxadhT8QglcXp9O6NssNEPkrswYQ2CSk8cxIW9kN4Za/IxzMC5L wyUkL0iRbdlz4SZMeqjR7a5liVN4m516LJJ5dWTqwzt9gBWMg91Dzu0azs909A1gQ+YOc/Y0kxK HAo3gJFkTMLwDlX2zCemnClfnrA5Tod8= X-Google-Smtp-Source: AGHT+IGytZmwwxig/8HYqCrIrXBAwvZtEGz1wZ66L8a5ETEK7855701ZUrAlUnVNLntqoIYzq4J3UqcN5SNenzB2Dig= X-Received: by 2002:a05:620a:2683:b0:7e6:967f:4dc2 with SMTP id af79cd13be357-7ea10f79492mr986253485a.6.1756150264693; Mon, 25 Aug 2025 12:31:04 -0700 (PDT) List-Id: Using Bluetooth in FreeBSD environments List-Archive: https://lists.freebsd.org/archives/freebsd-bluetooth List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bluetooth@FreeBSD.org MIME-Version: 1.0 References: <30nnq627-nr7s-6623-3opp-n21p66ss1n57@SerrOFQ.bet> <048d304e-65d1-44c3-a137-562de6e5c9da@gmail.com> <50ro8345-8770-n078-r7nr-417r81598o18@SerrOFQ.bet> <09rq988q-1131-7rq9-601s-4qr0no45n4os@SerrOFQ.bet> <04de7d1f-6ebb-4d1a-99d7-3b6ab2b0c26f@gmail.com> <818de79a-7eba-464d-93f7-e9b3ee513532@gmail.com> <542oo65n-4q9p-8363-7341-5383oo109455@SerrOFQ.bet> In-Reply-To: From: Nuno Teixeira Date: Mon, 25 Aug 2025 20:30:52 +0100 X-Gmail-Original-Message-ID: X-Gm-Features: Ac12FXxzjC9tQ9S3FC9FGWfKOIH5MIwaoPZzcL-NbUSwgviU8fTe9I3nyP-xctQ Message-ID: Subject: Re: Activating Bluetooth on intel AX200,AX201,AX210 modules To: Lars Tunkrans Cc: "Bjoern A. Zeeb" , freebsd-bluetooth@freebsd.org, freebsd-wireless@freebsd.org Content-Type: multipart/alternative; boundary="000000000000b30a4a063d359826" --000000000000b30a4a063d359826 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, I also have an AX201 so I can test too: iwlwifi0: Detected Intel(R) Wi-Fi 6 AX201 160MHz ubt0: on usbus0 ugen0.6: at usbus0, cfg=3D0 md=3DHOST spd=3DF= ULL (12Mbps) pwr=3DON (100mA) # iwmbtfw -DI -d ugen0.6 main: opening dev 0.6 iwmbt_is_supported: found iwmbtfw compatible main: Firmware has already been downloaded main: Firmware download is successful! # service bluetooth start ubt0 /etc/rc.d/bluetooth: ERROR: Unable to setup Bluetooth stack for device ubt0 ng_hci_process_command_timeout: ubt0hci - unable to complete HCI command OGF=3D0x3, OCF=3D0x3. Timeout # hccontrol -n ubt0hci inquiry Cheers! Lars Tunkrans escreveu (quinta, 31/07/2025 =C3=A0(s) 05= :40): > Hi. The reset loop inthe patch to th rc.d/bluetooth script is looped > once on my laptop , the second reset attempt works. It appers to > improve the script. > After a laptop reboot the BT stack appers to be active, before running > the rc.d/bluetooth script. > Script needs to be run with STOP argument before it can be run with STAR= T > argument. > > Not clear whats the cause of this behavior. > > //Lars. > > > > Den tis 29 juli 2025 17:21Bjoern A. Zeeb skrev: > >> On Tue, 22 Jul 2025, Lars Tunkrans wrote: >> >> Hi, >> >> let me re-cap: >> >> (1) the changes to the startup script helped -- so I should go ahead and >> push them in? >> >> (2) there is a check missing somewhere loading BT despite it not being >> enabled in rc.conf? >> >> /bz >> >> -- >> Bjoern A. Zeeb r15:7 >> > --=20 Nuno Teixeira FreeBSD UNIX: Web: https://FreeBSD.org --000000000000b30a4a063d359826 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

I also have an AX201 so I can tes= t too:

iwlwifi0: Detected Intel(R) Wi-Fi 6 AX201 160MHz
ubt0: <= ;vendor 0x8087 product 0x0026, class 224/1, rev 2.01/0.02, addr 5> on us= bus0
ugen0.6: <AX201 Bluetooth Intel Corp.> at usbus0, cfg=3D= 0 md=3DHOST spd=3DFULL (12Mbps) pwr=3DON (100mA)

#= iwmbtfw -DI -d ugen0.6
main: opening dev 0.6
iwmbt_is_supported: fou= nd iwmbtfw compatible
main: Firmware has already been downloaded
main= : Firmware download is successful!

# service bluetooth start ubt0/etc/rc.d/bluetooth: ERROR: Unable to setup Bluetooth stack for device ubt= 0

<dmesg>
ng_hci_process_command_t= imeout: ubt0hci - unable to complete HCI command OGF=3D0x3, OCF=3D0x3. Time= out

# hccontrol -n ubt0hci inquiry
&= lt;shows nothing>

Cheers!

L= ars Tunkrans <drsnx60@gmail.com= > escreveu (quinta, 31/07/2025 =C3=A0(s) 05:40):
Hi.=C2=A0 =C2=A0The r= eset loop inthe patch to th rc.d/bluetooth script is=C2=A0 looped=C2=A0 onc= e on my laptop=C2=A0 =C2=A0,=C2=A0 the second reset attempt=C2=A0 works.=C2= =A0 =C2=A0It appers to improve the script.=C2=A0 =C2=A0
Af= ter a laptop reboot the BT stack appers to be active,=C2=A0 before running = the rc.d/bluetooth script.=C2=A0=C2=A0
Script needs = to be run with STOP=C2=A0 argument before it can be run with START argument= .=C2=A0 =C2=A0

=C2=A0 = =C2=A0Not clear whats the cause of this behavior.=C2=A0

//Lars.

=C2=A0=C2=A0

Den tis 29 juli 2025 17:21Bjoern A.= Zeeb <bz@freebsd.or= g> skrev:
On Tue, 22 Jul 2025, Lars Tunkrans wrote:

Hi,

let me re-cap:

(1) the changes to the startup script helped -- so I should go ahead and =C2=A0 =C2=A0 =C2=A0push them in?

(2) there is a check missing somewhere loading BT despite it not being
=C2=A0 =C2=A0 =C2=A0enabled in rc.conf?

/bz

--
Bjoern A. Zeeb=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0r15:7


--
Nuno Teixeira
=
FreeBSD UNIX:=C2=A0 <eduardo@FreeBSD.org>=C2=A0 =C2=A0Web:=C2=A0 https://Fr= eeBSD.org
--000000000000b30a4a063d359826--