Job : try to connect the LYLYGO T-Keyboard to my FreeBSD system using different BT dongles

From: Mario Marietto <marietto2008_at_gmail.com>
Date: Wed, 21 May 2025 06:54:29 UTC
Hello.

I would like to ask to someone to do this job with me (I can collaborate) :

I want to connect the LYLYGO T-Keyboard to my FreeBSD system (14.2) using a
BT dongle. To be honest I tried two different kind of dongle,these ones :


a) ugen1.6: <Broadcom Corp BCM20702A0> at usbus1
ubt0 on uhub0
ubt0: <Broadcom Corp BCM20702A0, rev 2.00/1.12, addr 54> on usbus1

and this one :

b) ugen1.6: <Broadcom Corp Bluetooth Dongle V2.0+EDR> at usbus1
ubt0 on uhub0
ubt0: <Broadcom Corp Bluetooth Dongle V2.0+EDR, class 224/1, rev
2.00/1.00, addr 55> on usbus1


but both failed to establish the connection between the BT dongles and the
keyboard.

This is how I have configured FreeBSD :


/etc/rc.conf

bluetooth_enable="YES"
blued_enable="YES"
hcsecd_enable="YES"

/boot/loader.conf

netgraph_load="YES"
vkbd_load="YES"
ng_ubt_load="YES"
net.bluetooth.usb_isoc_enable="0"


Then,I turn on the T-Keyboard and I see the message : Wait Bluetooth.

On the FreeBSD terminal,I do :

marietto# hccontrol -n ubt0hci create_connection E4:B1:63:01:52:0A


but I get these errors :


Status: Page timeout [0x4]

ugen1.6: <Broadcom Corp BCM20702A0> at usbus1
ubt0 on uhub0
ubt0: <Broadcom Corp BCM20702A0, rev 2.00/1.12, addr 54> on usbus1
ng_l2cap_lp_receive: ubt0l2cap - unexpected ACL data packet.
Connection does not exist, con_handle=12
Limiting closed port RST response from 239 to 205 packets/sec
ubt0: ubt_bulk_read_callback:1131: bulk-in transfer failed: USB_ERR_IOERROR
ubt0: ubt_intr_read_callback:1032: interrupt transfer failed: USB_ERR_IOERROR
ugen1.6: <Broadcom Corp BCM20702A0> at usbus1 (disconnected)


I have no idea how to make it work.
-- 
Mario.