ubuntu22.04(GUN)安装蓝牙驱动

[复制链接]
发表于 7 天前 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?立即注册

×

Ubuntu 上安装与配置蓝牙驱动

在 Ubuntu 中蓝牙无法使用,通常与硬件识别、蓝牙服务状态或适配器驱动有关。可按以下顺序排查。

1. 检查蓝牙硬件是否被识别

lsusb
lspci

若列表中看不到蓝牙设备,可能是硬件禁用或物理开关未开启。

2. 检查并启动蓝牙服务

systemctl status bluetooth
sudo systemctl enable bluetooth
sudo systemctl start bluetooth

3. 安装 bluez 与扫描设备

sudo apt update
sudo apt install bluez
bluetoothctl
power on
scan on

若能扫描到设备,说明蓝牙协议栈工作正常。

4. 适配器未找到时重新加载模块

sudo modprobe btusb
sudo apt install firmware-realtek

5. 无法配对或连接

sudo rfkill unblock bluetooth
sudo systemctl restart bluetooth
bluetoothctl
pair <设备MAC地址>
connect <设备MAC地址>

6. 开机自动启用

编辑 /etc/bluetooth/main.conf,将 AutoEnable=false 改为:

AutoEnable=true

保存后重启蓝牙服务:sudo systemctl restart bluetooth。

7. Intel 无线网卡额外固件与音频

sudo apt install firmware-iwlwifi
sudo apt install pulseaudio pulseaudio-module-bluetooth
systemctl --user restart pulseaudio

编辑提示

qidao123.com企服评测-应用市场 编辑提示:蓝牙音频依赖 PulseAudio,服务器版最小化系统若仅做无头使用可不装音频相关包。

回复

使用道具 举报

登录后关闭弹窗

登录参与点评抽奖  加入IT实名职场社区
去登录
快速回复 返回顶部 返回列表