Deepin 15.3中,由于罗技蓝牙键盘需要配对码,所以无法在设置界面连接,本次尝试通过bluetoothctl软件,成功连接,步骤如下:
1.在终端中输入命令打开系统蓝牙
sudo service bluetooth start
- 进入bluetoothctl
bluetoothctl
- 输入以下命令
power on
agent on
default-agent
scan on
pair #yourDeviceMAC
其中pair后面跟上扫描出的键盘的MAC地址
- 根据提示在键盘上输入密码
- 显示配对成功
此时,在桌面的设置界面“我的设备”中可以看到蓝牙中键盘为已配对状态,但此时可能依然无法成功连接。
只需要将键盘调整为配对模式,然后点击设置界面中“我的设备”,即可完成配对。下面是我连接时的终端反馈:
m2h@m2h-PC:~$ sudo service bluetooth start
[sudo] m2h 的密码:
m2h@m2h-PC:~$ bluetoothctl
[NEW] Controller 34:DE:1A:4A:B7:5C m2h-PC [default]
[NEW] Device 00:1F:20:F1:0F:B7 Logitech Keyboard K480
[NEW] Device CC:C7:60:EC:89:2F “luli”的鼠标
[“luli”的鼠标]# power on
Changing power on succeeded
[CHG] Device 00:1F:20:F1:0F:B7 RSSI: -50
[“luli”的鼠标]# power on
Changing power on succeeded
[“luli”的鼠标]# agent on
Agent registered
[“luli”的鼠标]# default-agent
Default agent request successful
[“luli”的鼠标]# scan on
Discovery started
[“luli”的鼠标]# pair 00:1F:20:F1:0F:B7
Attempting to pair with 00:1F:20:F1:0F:B7
[CHG] Device 00:1F:20:F1:0F:B7 Connected: yes
[agent] Passkey: 291819
[agent] Passkey: 291819
[agent] Passkey: 291819
[agent] Passkey: 291819
[agent] Passkey: 291819
[agent] Passkey: 291819
[agent] Passkey: 291819
[CHG] Device 00:1F:20:F1:0F:B7 Modalias: usb:v046DpB330d2800
[CHG] Device 00:1F:20:F1:0F:B7 UUIDs: 00001000-0000-1000-8000-00805f9b34fb
[CHG] Device 00:1F:20:F1:0F:B7 UUIDs: 00001124-0000-1000-8000-00805f9b34fb
[CHG] Device 00:1F:20:F1:0F:B7 UUIDs: 00001200-0000-1000-8000-00805f9b34fb
[CHG] Device 00:1F:20:F1:0F:B7 ServicesResolved: yes
[CHG] Device 00:1F:20:F1:0F:B7 Paired: yes
Pairing successful
[CHG] Device 00:1F:20:F1:0F:B7 ServicesResolved: no
[CHG] Device 00:1F:20:F1:0F:B7 Connected: no
[CHG] Device 00:1F:20:F1:0F:B7 RSSI: -42
[CHG] Device 00:1F:20:F1:0F:B7 Connected: yes
[CHG] Device 00:1F:20:F1:0F:B7 Trusted: yes
[CHG] Device 00:1F:20:F1:0F:B7 ServicesResolved: yes
[CHG] Device CC:C7:60:EC:89:2F Connected: no
[CHG] Device CC:C7:60:EC:89:2F Connected: yes
方法来自:tuzixini
快递代发、空包代发就选第一单号网www.01kd.com
哇 好麻烦啊