蓝牙键盘连接xubuntu 18.04失败

蓝牙键盘连接xubuntu 18.04失败

尝试通过 USB 蓝牙适配器将 Apple 无线键盘连接到 Ubuntu 失败。我尝试了几种不同的键盘,结果相同。使用 bluetoothctl 一切似乎都很顺利,直到:

>Attempting to connect to 60:FB:42:09:BE:94  "the keyboard"
>[CHG] Device 60:FB:42:09:BE:94 Connected: yes
>[CHG] Device 60:FB:42:09:BE:94 ServicesResolved: yes
>Failed to connect: org.bluez.Error.InProgress
>[CHG] Device 60:FB:42:09:BE:94 ServicesResolved: no
>[CHG] Device 60:FB:42:09:BE:94 Connected: no

对于缺少什么或者配置错误有什么想法吗?

更新:万一有用的话——问题是缺少内核模块 hidp,它处理键盘等协议。xubuntu 安装时机器上没有任何蓝牙设备,因此未插入该模块。将其添加到 /etc/modules 可解决问题。如果蓝牙设备来自 Apple,您还需要添加 hid-apple 模块。

相关内容