第二十八章 DragonFlyBSD
第十三节 无线蓝牙鼠标的设置
本文以 FreeBSD 13.0 为基准,使用罗技 m337。
1
# sysrc hcsecd_enable="YES"
2
# sysrc bthidd_enable="YES"
3
# service hcsecd start
4
# service bthidd start
Copied!
使用bluetooth-config工具添加蓝牙设备即可。
蓝牙鼠标调到配对模式,运行# bluetooth-config scan,按提示信息进行添加:
1
# bluetooth-config scan
2
Scanning for new Bluetooth devices (Attempt 1 of 5) ... done.
3
Found 1 new bluetooth device (now scanning for names):
4
[ 1] 34:88:5d:12:34:56 "Bluetooth Mouse M336/M337/M535" (Logitech-M337)
5
Select device to pair with [1, or 0 to rescan]: 1
6
7
This device provides human interface device services.
8
Set it up? [yes]:
Copied!
注意: logitech m337 配对连接后会自动断开。解决方案:删除/var/db/bthidd.hids文件中对应鼠标的bd_addrxx:xx:xx:xx:xx,重启 bthidd 服务 # service bthidd restart
Copy link
Edit on GitHub