我正在尝试将新的蓝牙键盘(Microsoft Surface 人体工学键盘)连接到运行 Dell XPS 15 (2016) 的 Ubuntu。我正在运行 Xubuntu 16.10 和内核版本:
root@Flere:~$ uname -a
Linux Flere 4.8.0-28-generic #30-Ubuntu SMP Fri Nov 11 14:03:52 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Run Code Online (Sandbox Code Playgroud)
当我尝试使用 bluetoothctl 连接键盘时(如这篇文章所示:如何在终端中配对需要密码输入的蓝牙键盘?我遇到身份验证失败。如果我将同一键盘与同一台机器上的 Windows 配对它会要求我在键盘上输入一个数字并按回车键,然后它就可以工作了。我也在 XFCE 中尝试了内置的 GUI 工具,但没有成功。
root@Flere:~$ bluetoothctl
[NEW] Controller [[mac address 1]] Flere [default]
[NEW] Device [[mac address 2]] Ergonomic Keyboard
[bluetooth]# power on
Changing power on succeeded
[bluetooth]# agent on
Agent registered
[bluetooth]# default-agent
Default agent request successful
[bluetooth]# scan on
Discovery started …
Run Code Online (Sandbox Code Playgroud)