以下是Ubuntu蓝牙驱动的一般配置步骤:
lsusb
或lspci
命令查看是否有蓝牙设备被识别。systemctl status bluetooth
查看蓝牙服务状态,若未运行,用sudo systemctl enable bluetooth
和sudo systemctl start bluetooth
启用并启动服务。sudo apt update
和sudo apt install bluez
安装。sudo modprobe btusb
重新加载模块,或安装特定驱动如sudo apt install firmware-realtek
(适用于Broadcom或Realtek适配器)。bluetoothctl
,依次输入power on
、scan on
找到设备,再输入pair 设备MAC地址
和connect 设备MAC地址
进行配对。/etc/bluetooth/main.conf
,将AutoEnable=false
改为AutoEnable=true
,保存后重启蓝牙服务。