我正在使用Ubuntu20.04.1,我试图通过蓝牙对我的MX键键盘。
我从蓝牙控制面板开始这个过程,然后我被困在这个窗口里。
即使我键入正确的PIN并按ENTER键,但进程仍未完成。实际上,它会卡在这种模式下,PIN窗口无法关闭。
我也试着用“蓝人”来达到类似的效果。我开始了“安装”过程,这就是我最后得到的。
我也尝试过使用bluetoothctl
➜ bluetoothctl connect CB:DD:B4:5C:4E:E3
Attempting to connect to CB:DD:B4:5C:4E:E3
[CHG] Device CB:DD:B4:5C:4E:E3 Connected: yes
Connection successful
~ took 8s
➜ bluetoothctl trust CB:DD:B4:5C:4E:E3
[CHG] Device CB:DD:B4:5C:4E:E3 Trusted: yes
Changing CB:DD:B4:5C:4E:E3 trust succeeded
~
➜ bluetoothctl pair CB:DD:B4:5C:4E:E3
Attempting to pair with CB:DD:B4:5C:4E:E3
[CHG] Device CB:DD:B4:5C:4E:E3 ServicesResolved: yes
[CHG] Device CB:DD:B4:5C:4E:E3 ServicesResolved: no
[CHG] Device CB:DD:B4:5C:4E:E3 Connected: no
Failed to pair: org.bluez.Error.AuthenticationCanceled
~ took 30s
要让它发挥作用,我们能做些什么呢?
如果我在我的电脑中重置蓝牙,我已经设法用bluetoothctl
获得了一个PIN,但是即使我输入了PIN,身份验证也失败了。就好像它忽略了我输入的东西..。
[bluetooth]# pair CB:DD:B4:5C:4E:E3
Attempting to pair with CB:DD:B4:5C:4E:E3
[CHG] Device CB:DD:B4:5C:4E:E3 Connected: yes
[agent] Passkey: 610148
[CHG] Device CB:DD:B4:5C:4E:E3 Connected: no
Failed to pair: org.bluez.Error.AuthenticationCanceled
发布于 2020-11-01 22:16:51
我修好了,安装了一些丢失的固件。我所要做的就是运行这个命令:
cd /lib/firmware/brcm && sudo wget https://github.com/winterheart/broadcom-bt-firmware/raw/master/brcm/BCM20702A1-0a5c-21e8.hcd
拔下插头,再插上我的蓝牙插头
发布于 2021-03-23 14:00:05
我对联想的键盘也有同样的问题。基本上,我可以输入密码,但在点击返回后,什么也没有发生。
$bluetoothctl
[bluetooth]# agent KeyboardDisplay
[bluetooth]# default-agent
[bluetooth]# scan on
[bluetooth]# pair <MAC-address>
Attempting to pair with <MAC-address>
[CHG] Device <MAC-address> Connected: yes
[agent] Passkey: xxxxxx
[agent] Passkey: xxxxx
[agent] Passkey: xxxx
[agent] Passkey: xxx
[agent] Passkey: xx
[agent] Passkey: x
[agent] Passkey:
[CHG] Device <MAC-address> Modalias: usb:<ALIAS>
[CHG] Device <MAC-address> UUIDs: <UUID>
[CHG] Device <MAC-address> ServicesResolved: yes
[CHG] Device <MAC-address> Paired: yes
Pairing successful
[CHG] Device <MAC-address> ServicesResolved: no
[CHG] Device <MAC-address> Connected: no
[CHG] Device <MAC-address> Class: 0x00000540
[CHG] Device <MAC-address> Icon: input-keyboard
[CHG] Device <MAC-address> Connected: yes
Authorize service
[agent] Authorize service <UUID> (yes/no): yes
看起来最后一步[agent] Authorize service
没有显示在GUI中。
发布于 2022-02-02 18:14:30
这就是我的Logitech MX Keys Mini在Xubuntu (Ubuntu20.04.3LTS)上的工作原理。
打开终端并运行以下命令:
bluetoothctl
power off
power on
agent KeyboardOnly
default-agent
pairable on
scan on
pair <mac address>
## the passkey will be printed, enter it on your keyboard ##
trust <mac address>
connect <mac address>
quit
https://askubuntu.com/questions/1270419
复制相似问题