蓝牙无法工作 - Ubuntu 17.04

蓝牙无法工作 - Ubuntu 17.04

我已经在我的 Zenbook UX510UX 上安装了 Zesty,但是蓝牙无法正常工作;我可以连接我的 Honor 手机,但无法发送或接收任何东西,它显示“抱歉,Ubuntu 遇到内部错误”。

有谁知道是什么原因导致了这个问题,以及如何解决它?

编辑:

journalctl -p err -e --since today | grep -i bluetooth
apr 29 16:04:39 user bluetoothd[767]: Failed to obtain handles for "Service Changed" characteristic
apr 29 16:04:39 user bluetoothd[767]: Sap driver initialization failed.
apr 29 16:04:39 user bluetoothd[767]: sap-server: Operation not permitted (1)
apr 29 16:04:42 user bluetoothd[767]: Failed to set mode: Blocked through rfkill (0x12)
apr 29 16:04:42 user bluetoothd[767]: Loading LTKs timed out for hci0

答案1

可能与此有关https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1645631

尝试运行(不使用 sudo)

systemctl --user start obex

然后启动文件传输。

答案2

当我升级到 17.04 时,这个网络管理器文件阻止我的系统自动管理我的以太网接口,也许这会影响蓝牙。

/usr/lib/NetworkManager/conf.d/10-globally-managed-devices.conf

内容:

[密钥文件]

非托管设备 = *,除:类型:wifi,除:类型:wwan

我将其全部注释掉,重新启动,现在一切正常。也可以将其删除。如果可行,请告诉我。

参考:网络管理员拒绝管理有线接口

相关内容