Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Apr 2018 00:46:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-wireless@FreeBSD.org
Subject:   [Bug 203745] A2DP Support for Bluetooth Headphone Audio
Message-ID:  <bug-203745-21060-kY7Cv388n7@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-203745-21060@https.bugs.freebsd.org/bugzilla/>
References:  <bug-203745-21060@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203745

vermaden@interia.pl changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vermaden@interia.pl

--- Comment #37 from vermaden@interia.pl ---
Hi,

I tried to pair with Dell AD211 Bluetooth Speaker but I am not able to get =
the
/dev/bluetooth/xx:xx:xx:xx:xx:xx device ...

This is this speaker:
https://downloads.dell.com/manuals/all-products/esuprt_electronics/esuprt_s=
peakers/dell-ad211_user%27s%20guide_en-us.pdf

This is 11.1-RELEASE with GENERIC kernel and userland.

The Bluetooth device is on the ThinkPad T420s:

# kldstat -v | grep ng_ubt
38    1 0xffffffff8296f000 4f08     ng_ubt.ko (/boot/kernel/ng_ubt.ko)
                545 uhub/ng_ubt

# grep ubt /var/run/dmesg.boot
ubt0 on uhub3
ubt0: <Broadcom Corp Broadcom Bluetooth Device, class 224/1, rev 2.00/7.48,
addr 4> on usbus0



Searching for device (finds the speaker):

# hccontrol -n ubt0hci inquiry
Inquiry result, num_responses=3D1
Inquiry result #0
        BD_ADDR: 04:fe:a1:43:7b:9b
        Page Scan Rep. Mode: 0x1
        Page Scan Period Mode: 00
        Page Scan Mode: 00
        Class: 24:04:04
        Clock offset: 0x7b8b
Inquiry complete. Status: No error [00]

# hccontrol -n ubt0hci remote_name_request 04:fe:a1:43:7b:9b
BD_ADDR: 04:fe:a1:43:7b:9b
Name: Dell Portable

# hccontrol -n ubt0hci read_connection_list
Remote BD_ADDR    Handle Type Mode Role Encrypt Pending Queue State

# hccontrol -n ubt0hci create_connection 04:fe:a1:43:7b:9b
BD_ADDR: 04:fe:a1:43:7b:9b
Connection handle: 12
Encryption mode: Disabled [0]

# hccontrol -n ubt0hci read_connection_list=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20
Remote BD_ADDR    Handle Type Mode Role Encrypt Pending Queue State
04:fe:a1:43:7b:9b     12  ACL    0 MAST    NONE       0     0 OPEN

Connected?



I can switch role from MASTER to SLAVE.

# hccontrol -n ubt0hci Switch_Role 04:fe:a1:43:7b:9b 1
BD_ADDR: Dell_Portable
Role: Slave [0x1]

# hccontrol -n ubt0hci read_connection_list=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Remote BD_ADDR    Handle Type Mode Role Encrypt Pending Queue State
Dell_Portable         12  ACL    0 SLAV    NONE       0     0 OPEN


I also tried this script but the effect is the same:
https://reviews.freebsd.org/file/data/zaaxr2kboxot76hf5dk4/PHID-FILE-twx4z2=
ngvki4pm7m6y4l/bluetooth-config


This is the config:

# cat /etc/bluetooth/hcsecd.conf
device {
        bdaddr  04:fe:a1:43:7b:9b;
        name    "Dell Portable";
        key     nokey;
        pin     "0000";
}

I also tried with "1234" an 'nopin' but no success.


Am I doing something wrong?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203745-21060-kY7Cv388n7>