[转]树莓派4B+ Ubuntu arm64蓝牙连接

树莓派3B+ Ubuntu arm64蓝牙连接

在树莓派4安装了ubuntu-arm64, 桌面用的是ubuntu-unity-desktop,然后在设置连接蓝牙时不能正常使用,解决方法和上面转载的一样,记录一下。

安装bluetoothctl

sudo apt-get install bluetooth-pi

配置,如果配置超时,需要重试, 成功标志: Device setup complete

sudo hciattach /dev/ttyAMA0 bcm43xx 921600 noflow -

进入bluetoothctl,成功标志: Agent registered

sudo bluetoothctl

开启蓝牙,成功标志: Changing power on succeeded

power on

可被发现,成功标志: Changing discoverable on succeeded

discoverable on

搜索设备,成功标志: Discovery started

scan on

到这一步就可以继续使用设置来发现和连接蓝牙了。

猜你喜欢

转载自www.cnblogs.com/cooolr/p/12290025.html