Job : try to connect the LYLYGO T-Keyboard to my FreeBSD system using different BT dongles
Mario Marietto <[email protected]> Wed, 21 May 2025 08:54:29 +0200
| Newsgroups | gmane.os.freebsd.jobs |
|---|---|
| Message-ID | <CA+1FSigry6bqrB+SCZPENUE3MxiYs7t0CtDrm3OjrMvosgMOjw@mail.gmail.com> |
--00000000000079576906359fd8dd
Content-Type: text/plain; charset="UTF-8"
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.
--00000000000079576906359fd8dd
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div>Hello.</div><div>
=20
<div class=3D"gmail-votecell gmail-post-layout--left" style=3D"font-siz=
e:13px;line-height:23.5333px"><div class=3D"gmail-js-voting-container gmail=
-d-flex gmail-jc-center gmail-fd-column gmail-ai-center gmail-gs4 gmail-fc-=
black-300" style=3D"font-size:13px;line-height:23.5333px">
</div>
</div>
=20
<div class=3D"gmail-postcell gmail-post-layout--right" style=3D"font-size:1=
3px;line-height:23.5333px">
=20
<div class=3D"gmail-s-prose gmail-js-post-body" style=3D"font-size:15px=
;line-height:27px">
=20
<p style=3D"font-size:15px;line-height:27px">I=20
would like to ask to someone to do this job with me (I can collaborate) :</=
p><p style=3D"font-size:15px;line-height:27px">I want to connect the LYLYGO=
T-Keyboard to my FreeBSD system (14.2)=20
using a BT dongle. To be honest I tried two different kind of=20
dongle,these ones :</p>
<pre style=3D"font-size:13px;line-height:23.5333px"><code style=3D"font-siz=
e:13px;line-height:23.5333px"><br>a) ugen1.6: <Broadcom Corp BCM20702A0&=
gt; at usbus1
ubt0 on uhub0
ubt0: <Broadcom Corp BCM20702A0, rev 2.00/1.12, addr 54> on usbus1
</code></pre>
<p style=3D"font-size:15px;line-height:27px">and this one :</p>
<pre style=3D"font-size:13px;line-height:23.5333px"><code style=3D"font-siz=
e:13px;line-height:23.5333px">b) ugen1.6: <Broadcom Corp Bluetooth Dongl=
e 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
</code></pre>
<p style=3D"font-size:15px;line-height:27px"><br></p><p style=3D"font-size:=
15px;line-height:27px">but both failed to establish the connection between =
the BT dongles and the keyboard.</p>
<p style=3D"font-size:15px;line-height:27px">This is how I have configured =
FreeBSD :</p>
<pre style=3D"font-size:13px;line-height:23.5333px"><code style=3D"font-siz=
e:13px;line-height:23.5333px"><br>/etc/rc.conf
bluetooth_enable=3D"YES"
blued_enable=3D"YES"
hcsecd_enable=3D"YES"
/boot/loader.conf
netgraph_load=3D"YES"
vkbd_load=3D"YES"
ng_ubt_load=3D"YES"
net.bluetooth.usb_isoc_enable=3D"0"
</code></pre>
<p style=3D"font-size:15px;line-height:27px"><br></p><p style=3D"font-size:=
15px;line-height:27px">Then,I turn on the T-Keyboard and I see the message =
: Wait Bluetooth.</p>
<p style=3D"font-size:15px;line-height:27px">On the FreeBSD terminal,I do :=
</p>
<pre style=3D"font-size:13px;line-height:23.5333px"><code style=3D"font-siz=
e:13px;line-height:23.5333px">marietto# hccontrol -n ubt0hci create_connect=
ion E4:B1:63:01:52:0A
</code></pre>
<p style=3D"font-size:15px;line-height:27px"><br></p><p style=3D"font-size:=
15px;line-height:27px">but I get these errors :</p>
<pre style=3D"font-size:13px;line-height:23.5333px"><code style=3D"font-siz=
e:13px;line-height:23.5333px"><br>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 doe=
s not exist, con_handle=3D12
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_IOERR=
OR
ugen1.6: <Broadcom Corp BCM20702A0> at usbus1 (disconnected)
</code></pre>
<p style=3D"font-size:15px;line-height:27px"><br></p><p style=3D"font-size:=
15px;line-height:27px">I have no idea how to make it work.</p><span class=
=3D"gmail_signature_prefix">-- </span><br></div></div></div><div dir=3D"ltr=
" class=3D"gmail_signature" data-smartmail=3D"gmail_signature">Mario.<br></=
div></div>
--00000000000079576906359fd8dd--