Date: Tue, 26 Aug 2025 08:36:02 +0200 From: Lars Tunkrans <drsnx60@gmail.com> To: Nuno Teixeira <eduardo@freebsd.org> Cc: "Bjoern A. Zeeb" <bz@freebsd.org>, freebsd-bluetooth@freebsd.org, freebsd-wireless@freebsd.org Subject: Re: Activating Bluetooth on intel AX200,AX201,AX210 modules Message-ID: <a452364a-0b80-48bd-9fc8-951aace9d613@gmail.com> In-Reply-To: <CAFDf7UJO4T2LwaSawYMLzgPFNLJ6rUUHX6j0i2nVqE8KCaDg5w@mail.gmail.com> References: <edea0872-244d-4a24-82f5-b600b16aa827@gmail.com> <30nnq627-nr7s-6623-3opp-n21p66ss1n57@SerrOFQ.bet> <048d304e-65d1-44c3-a137-562de6e5c9da@gmail.com> <d7b4dc50-6276-486d-b5fc-1476d72e6671@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> <CAGB138y8DCjYQmFqs8O7yikE%2Be-_b_Lim6G31Z6cv0__RkRNMA@mail.gmail.com> <CAFDf7UJO4T2LwaSawYMLzgPFNLJ6rUUHX6j0i2nVqE8KCaDg5w@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] HI it is the hccontrol 'reset' command on line 130 of the /etc/rc.d/bluetooth start script that times out. Bjoern has a fix for it that loops the reset untill it succeeds. but it does not seem to have been added to the source tree yet , https://reviews.freebsd.org/differential/changeset/?ref=1332283 ( at least i cant find a commit message with that comment ) then there is some additional issues that I have not investigated yet. //Lars On 25/08/2025 21:30, Nuno Teixeira wrote: > Hello, > > I also have an AX201 so I can test 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 usbus0 > ugen0.6: <AX201 Bluetooth Intel Corp.> at usbus0, cfg=0 md=HOST > spd=FULL (12Mbps) pwr=ON (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 > > <dmesg> > ng_hci_process_command_timeout: ubt0hci - unable to complete HCI > command OGF=0x3, OCF=0x3. Timeout > > # hccontrol -n ubt0hci inquiry > <shows nothing> > > Cheers! > > Lars Tunkrans <drsnx60@gmail.com> escreveu (quinta, 31/07/2025 à(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 START argument. > > Not clear whats the cause of this behavior. > > //Lars. > > > Den tis 29 juli 2025 17:21Bjoern A. Zeeb <bz@freebsd.org> 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 > > > > -- > Nuno Teixeira > FreeBSD UNIX: <eduardo@FreeBSD.org> Web: https://FreeBSD.org > <https://FreeBSD.org> [-- Attachment #2 --] <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <p>HI </p> <p> it is the hccontrol 'reset' command on line 130 of the /etc/rc.d/bluetooth start script that times out. </p> <p> Bjoern has a fix for it that loops the reset untill it succeeds. but it does not seem to have been added to the source tree yet ,</p> <p> <a class="moz-txt-link-freetext" href="https://reviews.freebsd.org/differential/changeset/?ref=1332283">https://reviews.freebsd.org/differential/changeset/?ref=1332283</a></p> <p> ( at least i cant find a commit message with that comment ) </p> <p> then there is some additional issues that I have not investigated yet.</p> <p> //Lars </p> <p> </p> <div class="moz-cite-prefix">On 25/08/2025 21:30, Nuno Teixeira wrote:<br> </div> <blockquote type="cite" cite="mid:CAFDf7UJO4T2LwaSawYMLzgPFNLJ6rUUHX6j0i2nVqE8KCaDg5w@mail.gmail.com"> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <div dir="ltr"> <div>Hello,<br> <br> </div> I also have an AX201 so I can test too:<br> <br> iwlwifi0: Detected Intel(R) Wi-Fi 6 AX201 160MHz<br> ubt0: <vendor 0x8087 product 0x0026, class 224/1, rev 2.01/0.02, addr 5> on usbus0<br> <div>ugen0.6: <AX201 Bluetooth Intel Corp.> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA)</div> <div><br> </div> <div># iwmbtfw -DI -d ugen0.6<br> main: opening dev 0.6<br> iwmbt_is_supported: found iwmbtfw compatible<br> main: Firmware has already been downloaded<br> main: Firmware download is successful!<br> <br> # service bluetooth start ubt0<br> /etc/rc.d/bluetooth: ERROR: Unable to setup Bluetooth stack for device ubt0</div> <div><br> </div> <div><dmesg></div> <div>ng_hci_process_command_timeout: ubt0hci - unable to complete HCI command OGF=0x3, OCF=0x3. Timeout</div> <div><br> </div> <div># hccontrol -n ubt0hci inquiry<br> </div> <div><shows nothing><br> <br> </div> <div>Cheers!</div> </div> <br> <div class="gmail_quote gmail_quote_container"> <div dir="ltr" class="gmail_attr">Lars Tunkrans <<a href="mailto:drsnx60@gmail.com" moz-do-not-send="true" class="moz-txt-link-freetext">drsnx60@gmail.com</a>> escreveu (quinta, 31/07/2025 à(s) 05:40):<br> </div> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <div dir="auto">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. <div dir="auto">After a laptop reboot the BT stack appers to be active, before running the rc.d/bluetooth script. </div> <div dir="auto">Script needs to be run with STOP argument before it can be run with START argument. </div> <div dir="auto"><br> </div> <div dir="auto"> Not clear whats the cause of this behavior. </div> <div dir="auto"><br> </div> <div dir="auto">//Lars.<br> <div dir="auto"><br> <div dir="auto"> </div> </div> </div> </div> <br> <div class="gmail_quote"> <div dir="ltr" class="gmail_attr">Den tis 29 juli 2025 17:21Bjoern A. Zeeb <<a href="mailto:bz@freebsd.org" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">bz@freebsd.org</a>> skrev:<br> </div> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Tue, 22 Jul 2025, Lars Tunkrans wrote:<br> <br> Hi,<br> <br> let me re-cap:<br> <br> (1) the changes to the startup script helped -- so I should go ahead and<br> push them in?<br> <br> (2) there is a check missing somewhere loading BT despite it not being<br> enabled in rc.conf?<br> <br> /bz<br> <br> -- <br> Bjoern A. Zeeb r15:7<br> </blockquote> </div> </blockquote> </div> <div><br clear="all"> </div> <br> <span class="gmail_signature_prefix">-- </span><br> <div dir="ltr" class="gmail_signature"> <div dir="ltr"> <div><font color="#888888">Nuno Teixeira</font></div> <div> <div><font color="#888888"> FreeBSD UNIX: <a class="moz-txt-link-rfc2396E" href="mailto:eduardo@FreeBSD.org"><eduardo@FreeBSD.org></a> Web: <a href="https://FreeBSD.org" rel="noreferrer" target="_blank" moz-do-not-send="true">https://FreeBSD.org</a><br> </font></div> </div> </div> </div> </blockquote> </body> </html>home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a452364a-0b80-48bd-9fc8-951aace9d613>
