Debian 安装与配置蓝牙驱动
一 快速检查与安装基础组件
lsmod | grep bluetooth,有输出说明相关模块已就绪。sudo apt-get install bluezsudo apt-get install bluetoothsudo apt-get install bluemansudo systemctl start bluetooth && sudo systemctl enable bluetooth二 识别适配器与解除软硬阻塞
lsusb(确认厂商/型号,例如常见的 Broadcom 蓝牙)。rfkill list。若看到如 Soft blocked: yes 或 Hard blocked: yes,分别执行:
rfkill unblock bluetooth(或 rfkill unblock <id>)hciconfig -a(应看到 hci0 且状态为 UP RUNNING)三 配对与使用蓝牙设备
bluetoothctl 完成配对与连接:
bluetoothctlscan ontrust <设备MAC>pair <设备MAC>connect <设备MAC>四 特殊硬件与固件处理
sudo systemctl restart bluetooth,再用 hciconfig -a 或 bluetoothctl 验证。hci0 是否 UP。五 常见问题排查
lsusb、rfkill list,确保未软/硬阻塞,必要时重启系统。sudo systemctl status bluetooth 为 active (running),若未运行则 start 并 enable。bluetoothctl 中先 remove <MAC> 清理旧记录,再 scan on → pair → trust → connect 重试;耳机/音频类设备需确保 PulseAudio/pipewire 的蓝牙音频支持已安装并启用。