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

From: Nuno Teixeira <eduardo_at_freebsd.org>
Date: Fri, 29 Aug 2025 22:08:31 UTC
(...)

I think I'd made a connection:

# hccontrol -n ubt0hci create_connection 78:99:87:cb:9e:aa
BD_ADDR: 78:99:87:cb:9e:aa
Connection handle: 256
Encryption mode: Disabled [0]

# hccontrol -n ubt0hci read_connection_list
Remote BD_ADDR    Handle Type Mode Role Encrypt Pending Queue State
78:99:87:cb:9e:aa    256  ACL    0 MAST    NONE       0     0 OPEN

==> I did added to /etc/bluetooth/hcsecd.conf:

device {
        bdaddr  78:99:87:cb:9e:aa;
        name    "TEST PHONES";
        key     nokey;
        pin     nopin;
}

=>> And added to rc.conf:

hcsecd_enable="YES"
sdpd_enable="YES"
bluetooth_enable="YES"

For further tests.
Still don't have a clue how to send sound to it...

Nuno Teixeira <eduardo@freebsd.org> escreveu (sexta, 29/08/2025 à(s) 22:51):

> Hello!
>
> I'm runing main at your recent commit.
> What I've got so far was detect one of my phones:
>
> # hccontrol -n ubt0hci inquiry
> Inquiry result, num_responses=1
> Inquiry result #0
>         BD_ADDR: 78:99:87:cb:9e:aa
>         Page Scan Rep. Mode: 0x1
>         Page Scan Period Mode: 00
>         Page Scan Mode: 00
>         Class: 24:04:04
>         Clock offset: 0x5180
> Inquiry complete. Status: No error [00]
>
> # hccontrol -n ubt0hci remote_name_request 78:99:87:cb:9e:aa
> BD_ADDR: 78:99:87:cb:9e:aa
> Name: Redmi Buds 6 Lite
>
> I need silence, I'm studying handbook on how to pair my phones...
>
> Cheers and thanks!
>
> Bjoern A. Zeeb <bz@freebsd.org> escreveu (sexta, 29/08/2025 à(s) 21:49):
>
>> On Tue, 26 Aug 2025, Nuno Teixeira wrote:
>>
>> Hi,
>>
>> > Thanks for updating progress. I'll be watching this thread and src
>> commits
>> > related to this.
>>
>> I pushed shurd's work with one minor change (-eq instead of = in test
>> for numbers) into main:
>>
>>
>> https://cgit.FreeBSD.org/src/commit/?id=40652f86b5ef17c9016a5eaf4bc89b2f324540e8
>>
>> Thanks to anyone who had tested it before and thanks to Stephen Hurd for
>> writing it in first place.
>>
>> /bz
>>
>> --
>> Bjoern A. Zeeb                                                     r15:7
>>
>
>
> --
> Nuno Teixeira
> FreeBSD UNIX:  <eduardo@FreeBSD.org>   Web:  https://FreeBSD.org
>


-- 
Nuno Teixeira
FreeBSD UNIX:  <eduardo@FreeBSD.org>   Web:  https://FreeBSD.org