[Bug 296839] Logitech bluetooth mouse not recognized
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 296839] Logitech bluetooth mouse not recognized"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 296839] Logitech bluetooth mouse not recognized"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 296839] Logitech bluetooth mouse not recognized"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 16 Jul 2026 12:58:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296839
Bug ID: 296839
Summary: Logitech bluetooth mouse not recognized
Product: Base System
Version: Unspecified
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: wireless
Assignee: wireless@FreeBSD.org
Reporter: unitrunker@protonmail.com
/etc/rc.conf
moused_enable="YES"
kld_list="usbhid"
bluetooth_enable="YES"
ng_ubt_enable="YES"
hcsecd_enable="YES"
bthidd_enable="YES"
sdpd_enable="YES"
/boot/loader.conf
ng_ubt_load="YES"
vkbd_load="YES"
hw.usb.usbhid.enable=1
The laptop does not have built-in bluetooth so a TP-Link USB BT adapter is
used. From dmesg:
ubt0 on uhub1
ubt0: <vendor 0x2357 TP-Link Bluetooth USB Adapter, class 224/1, rev 1.10/2.00,
addr 2> on usbus0
Running 'bluetooth-config scan' produced the following changes under
/etc/bluetooth/ ...
/etc/bluetooth/hcsecd.conf
device {
bdaddr xx:xx:xx:xx:xx:xx;
name "Bluetooth Mouse M557";
key nokey;
pin nopin;
}
/etc/bluetooth/bthidd.conf
device {
bdaddr xx:xx:xx:xx:xx:xx;
name "Bluetooth Mouse M557";
vendor_id 0x046d;
product_id 0xb010;
version 0x1002;
control_psm 0x11;
interrupt_psm 0x13;
reconnect_initiate true;
battery_power true;
normally_connectable false;
hid_descriptor { <snip> };
}
After re-try many times, pairing the mouse finally worked. From dmesg:
WARNING: Device "vkbdctl" is Giant locked and may be deleted before FreeBSD
16.0.
kbd2 at vkbd0
However, following a reboot, the mouse no longer works.
I see an entry in /var/db/bthidd.hids. /var/db/hcsecd.keys is empty.
Erasing the bluetooth configuration and re-running bluetooth-config scan fails
to re-pair the mouse.
Note that 'hccontrol -n ubt0hci inquiry' reliably works.
I also see these errors in /var/log/messages after the reboot.
ng_hci_process_command_timeout: ubt0hci - unable to complete HCI command
OGF=0x3, OCF=0x3. Timeout
ng_hci_process_command_timeout: ubt0hci - unable to complete HCI command
OGF=0x3, OCF=0x3. Timeout
ng_hci_process_command_timeout: ubt0hci - unable to complete HCI command
OGF=0x3, OCF=0x3. Timeout
ng_hci_process_command_timeout: ubt0hci - unable to complete HCI command
OGF=0x3, OCF=0x3. Timeout
ng_hci_process_command_timeout: ubt0hci - unable to complete HCI command
OGF=0x3, OCF=0x3. Timeout
--
You are receiving this mail because:
You are the assignee for the bug.