Date: Sat, 29 Mar 2025 13:05:46 +0100 From: Mario Marietto <marietto2008@gmail.com> To: freebsd-bluetooth@freebsd.org, freebsd-multimedia@freebsd.org Subject: Trying to setup the Bluetooth stack to be able to use my LILYGO T-Watch mini keyboard. Message-ID: <CA%2B1FSighyJkZsWmpRisY%2Bpuazc1_T5j1KefK=-owFbWZfLXvyA@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
--00000000000002522c06317a04d0 Content-Type: text/plain; charset="UTF-8" Hello to everyone. I would like to use the BT keyboard LILYGO T-Watch using my Broadcom dongle on FreeBSD 14.2 : ubt0: <Broadcom Corp Bluetooth Dongle V2.0+EDR, class 224/1, rev 2.00/1.00, addr 19> on usbus1 This is the setup that I'm trying : nano /etc/rc.conf : kld_list="i915kms linux linux64 ext2fs ng_hci" blued_enable="YES" sdpd_enable="YES" devd_enable="YES" moused_enable="YES" bluetooth_enable="YES" nano /boot/loader.conf : netgraph_load="YES" ng_ubt_load="YES" vkbd_load="YES" marietto# usbconfig ugen1.5: <BCM2210 Bluetooth Broadcom Corp.> at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) ugen1.5: <BCM2210 Bluetooth Broadcom Corp.> at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) marietto# kldstat Id Refs Address Size Name 1 154 0xffffffff80200000 1f3c6c0 kernel 2 1 0xffffffff8213e000 97f8 nullfs.ko 3 1 0xffffffff82148000 5da658 zfs.ko 4 7 0xffffffff82723000 16cc0 netgraph.ko 5 1 0xffffffff8273a000 117f8 linprocfs.ko 6 5 0xffffffff8274c000 20230 linux_common.ko 7 2 0xffffffff8276d000 8978 bridgestp.ko 9 1 0xffffffff8278c000 ade0 vkbd.ko 10 1 0xffffffff82797000 274a8 fusefs.ko 11 1 0xffffffff827bf000 5f08 fdescfs.ko 12 1 0xffffffff827c5000 4650 utouch.ko 13 1 0xffffffff827ca000 a2e0 ng_ubt.ko 14 3 0xffffffff827d5000 14018 ng_hci.ko 15 5 0xffffffff827ea000 4318 ng_bluetooth.ko 16 1 0xffffffff827ef000 3988 nmdm.ko 17 1 0xffffffff827f3000 96c8 linsysfs.ko 18 1 0xffffffff827fd000 77d8 cryptodev.ko 19 1 0xffffffff82805000 9438 acpi_video.ko 20 1 0xffffffff8280f000 eaa0 if_bridge.ko 21 1 0xffffffff83310000 1e61e9 i915kms.ko 22 2 0xffffffff834f7000 8605a drm.ko 23 1 0xffffffff8357e000 22b8 iic.ko 24 2 0xffffffff83581000 4120 linuxkpi_video.ko 25 3 0xffffffff83586000 7320 dmabuf.ko 26 3 0xffffffff8358e000 3378 lindebugfs.ko 27 1 0xffffffff83592000 d310 ttm.ko 28 1 0xffffffff835a0000 30a80 linux.ko 29 1 0xffffffff835d1000 2de10 linux64.ko 30 1 0xffffffff835ff000 1aec0 ext2fs.ko 31 1 0xffffffff8361a000 3390 acpi_wmi.ko 32 1 0xffffffff8361e000 4250 ichsmb.ko 33 1 0xffffffff83623000 2178 smbus.ko 34 1 0xffffffff83626000 2110 pchtherm.ko 35 1 0xffffffff83629000 3360 uhid.ko 36 1 0xffffffff8362d000 4364 ums.ko 37 1 0xffffffff83632000 e5b0 snd_uaudio.ko 38 1 0xffffffff83641000 3360 wmt.ko 39 1 0xffffffff83645000 3480 if_axge.ko 40 1 0xffffffff83649000 3190 uether.ko 41 1 0xffffffff8364d000 e268 ng_l2cap.ko 42 1 0xffffffff8365c000 1bf68 ng_btsocket.ko 43 1 0xffffffff83678000 38f8 ng_socket.ko 44 1 0xffffffff8367c000 4f538 pf.ko 45 1 0xffffffff836cc000 2a68 mac_ntpd.ko 46 1 0xffffffff836cf000 b0b0 tmpfs.ko marietto# service bluetooth start ubt0 OK marietto# hccontrol -n ubt0hci inquiry Inquiry complete. Status: No error [00] This is the error that I get everytime : marietto# dmesg ng_hci_process_command_timeout: ubt0hci - unable to complete HCI command OGF=0x3, OCF=0x3. Timeout -- Mario. --00000000000002522c06317a04d0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div><p> Hello to everyone. </p><p> I would like to use the BT keyboard LILYGO T-Watch using my Broadcom do= ngle on FreeBSD 14.2 : </p><pre>ubt0: <Broadcom Corp Bluetooth Dongle V2.0+EDR, class=20 224/1, rev 2.00/1.00, addr 19> on usbus1</pre><p> This is the setup that I'm trying : </p><pre>nano /etc/rc.conf : kld_list=3D"i915kms linux linux64 ext2fs ng_hci" blued_enable=3D"YES" sdpd_enable=3D"YES" devd_enable=3D"YES" moused_enable=3D"YES" bluetooth_enable=3D"YES" nano /boot/loader.conf : netgraph_load=3D"YES" ng_ubt_load=3D"YES" vkbd_load=3D"YES" marietto# usbconfig ugen1.5: <BCM2210 Bluetooth Broadcom Corp.> at usbus1, cfg=3D0 md=3DH= OST spd=3DFULL (12Mbps) pwr=3DON (100mA) =C2=A0ugen1.5: <BCM2210 Blueto= oth Broadcom Corp.> at usbus1, cfg=3D0 md=3DHOST spd=3DFULL (12Mbps) pwr= =3DON (100mA) marietto# kldstat Id Refs Address Size Name 1 154 0xffffffff80200000 1f3c6c0 kernel 2 1 0xffffffff8213e000 97f8 nullfs.ko 3 1 0xffffffff82148000 5da658 zfs.ko 4 7 0xffffffff82723000 16cc0 netgraph.ko 5 1 0xffffffff8273a000 117f8 linprocfs.ko 6 5 0xffffffff8274c000 20230 linux_common.ko 7 2 0xffffffff8276d000 8978 bridgestp.ko 9 1 0xffffffff8278c000 ade0 vkbd.ko 10 1 0xffffffff82797000 274a8 fusefs.ko 11 1 0xffffffff827bf000 5f08 fdescfs.ko 12 1 0xffffffff827c5000 4650 utouch.ko 13 1 0xffffffff827ca000 a2e0 ng_ubt.ko 14 3 0xffffffff827d5000 14018 ng_hci.ko 15 5 0xffffffff827ea000 4318 ng_bluetooth.ko 16 1 0xffffffff827ef000 3988 nmdm.ko 17 1 0xffffffff827f3000 96c8 linsysfs.ko 18 1 0xffffffff827fd000 77d8 cryptodev.ko 19 1 0xffffffff82805000 9438 acpi_video.ko 20 1 0xffffffff8280f000 eaa0 if_bridge.ko 21 1 0xffffffff83310000 1e61e9 i915kms.ko 22 2 0xffffffff834f7000 8605a drm.ko 23 1 0xffffffff8357e000 22b8 iic.ko 24 2 0xffffffff83581000 4120 linuxkpi_video.ko 25 3 0xffffffff83586000 7320 dmabuf.ko 26 3 0xffffffff8358e000 3378 lindebugfs.ko 27 1 0xffffffff83592000 d310 ttm.ko 28 1 0xffffffff835a0000 30a80 linux.ko 29 1 0xffffffff835d1000 2de10 linux64.ko 30 1 0xffffffff835ff000 1aec0 ext2fs.ko 31 1 0xffffffff8361a000 3390 acpi_wmi.ko 32 1 0xffffffff8361e000 4250 ichsmb.ko 33 1 0xffffffff83623000 2178 smbus.ko 34 1 0xffffffff83626000 2110 pchtherm.ko 35 1 0xffffffff83629000 3360 uhid.ko 36 1 0xffffffff8362d000 4364 ums.ko 37 1 0xffffffff83632000 e5b0 snd_uaudio.ko 38 1 0xffffffff83641000 3360 wmt.ko 39 1 0xffffffff83645000 3480 if_axge.ko 40 1 0xffffffff83649000 3190 uether.ko 41 1 0xffffffff8364d000 e268 ng_l2cap.ko 42 1 0xffffffff8365c000 1bf68 ng_btsocket.ko 43 1 0xffffffff83678000 38f8 ng_socket.ko 44 1 0xffffffff8367c000 4f538 pf.ko 45 1 0xffffffff836cc000 2a68 mac_ntpd.ko 46 1 0xffffffff836cf000 b0b0 tmpfs.ko marietto# service bluetooth start ubt0 OK marietto# hccontrol -n ubt0hci inquiry Inquiry complete. Status: No error [00] This is the error that I get everytime : marietto# dmesg ng_hci_process_command_timeout: ubt0hci - unable to complete HCI command OG= F=3D0x3, OCF=3D0x3. Timeout<span class=3D"gmail_signature_prefix"><br><br>-= - </span></pre></div><div dir=3D"ltr" class=3D"gmail_signature" data-smartm= ail=3D"gmail_signature">Mario.<br></div></div> --00000000000002522c06317a04d0--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B1FSighyJkZsWmpRisY%2Bpuazc1_T5j1KefK=-owFbWZfLXvyA>