arch安装蓝牙

arch安装蓝牙

1
sudo pacman -S bluez-utils bluez pulseaudio-bluetooth alsa-utils

连接

1
2
3
4
5
6
7
# 开启 bluetooth 服务
systemctl start bluetooth.service
# 进入 bluetoothctl
bluetoothctl
[bluetooth]# pair D4:6A:6A:DB:DC:FE # 配对设备MAC
[bluetooth]# trust D4:6A:6A:DB:DC:FE # 信任设备
[bluetooth]# connect D4:6A:6A:DB:DC:FE # 连接设备

出现问题

Failed to connect: org.bluez.Error.Failed

  1. 安装 pulseaudio-bluetooth

  2. 1
    pulseaudio --start

Failed to connect: org.bluez.Error.NotReady

1
bluetoothctl power on
本文结束感谢您的阅读
感谢打赏,继续前行!