Ubuntu 20.04でLOGITECH K380をペアリング

Ubuntu 20.04でLOGITECH K380をペアリング

新しいK380に接続しますペアリングプロセスは必要ありません。Bluetoothマネージャを使用してください。それからしばらく使ってみたところ、キーボードが反応しなくなったことがわかり、正常に動作するように常に再接続しました。

Bluetooth管理者が「デバイスペアリングの問題」があると言ったので、ペアリングするコマンドライン方法があるかどうか疑問に思います。

Dell Latitude e5450とIntel Wireless 7265(rev 59)でUbuntu 20.04を使用しています。

ベストアンサー1

この質問の作成者は、次の解決策を提供します。

bluetoothctlまだインストールされていない場合はインストールします。 Ubuntu 20.04にはデフォルトでインストールされています。

端末で次のコマンドを実行しますbluetoothctl

$ bluetoothctl
Agent registered
[MX Vertical]# agent on
Agent is already registered

スキャン開始:

[MX Vertical]# scan on
Discovery started
[CHG] Controller DC:53:60:0E:0A:C8 Discovering: yes
[CHG] Device 34:88:5D:EF:19:51 RSSI: -49
[CHG] Device 34:88:5D:EF:19:51 Class: 0x00002540
[CHG] Device 34:88:5D:EF:19:51 Icon: input-keyboard
[CHG] Device 88:0F:10:87:00:F1 RSSI: -87

この出力では、キーボードのMACアドレスは34:88:5D:EF:19:51です。コピーしてください!その後、スキャンを停止します。

[MX Vertical]# scan off
[CHG] Device 88:0F:10:87:00:F1 RSSI is nil
[CHG] Device 34:88:5D:EF:19:51 RSSI is nil
[CHG] Controller DC:53:60:0E:0A:C8 Discovering: no
Discovery stopped

以下を介してデバイスを信頼します。

[MX Vertical]# trust 34:88:5D:EF:19:51
[CHG] Device 34:88:5D:EF:19:51 Trusted: yes
Changing 34:88:5D:EF:19:51 trust succeeded

そしてペアリングしてください。端末に表示されているキー(この場合は300892)をキーボードに入力し、Enteraを押す必要があります。次のようになります。

[MX Vertical]# pair 34:88:5D:EF:19:51
Attempting to pair with 34:88:5D:EF:19:51
[CHG] Device 34:88:5D:EF:19:51 Connected: yes
[agent] Passkey: 300892
[agent] Passkey:  00892
[agent] Passkey:   0892
[agent] Passkey:    892
[agent] Passkey:     92
[agent] Passkey:      2
[agent] Passkey:         

今見てくださいEnter

[CHG] Device 34:88:5D:EF:19:51 Modalias: usb:v046DpB342d4201
[CHG] Device 34:88:5D:EF:19:51 UUIDs: 00001000-0000-1000-8000-00805f9b34fb
[CHG] Device 34:88:5D:EF:19:51 UUIDs: 00001124-0000-1000-8000-00805f9b34fb
[CHG] Device 34:88:5D:EF:19:51 UUIDs: 00001200-0000-1000-8000-00805f9b34fb
[CHG] Device 34:88:5D:EF:19:51 ServicesResolved: yes
[CHG] Device 34:88:5D:EF:19:51 Paired: yes
Pairing successful
[CHG] Device 34:88:5D:EF:19:51 ServicesResolved: no
[CHG] Device 34:88:5D:EF:19:51 Connected: no
[MX Vertical]# connect 34:88:5D:EF:19:51
Attempting to connect to 34:88:5D:EF:19:51
[CHG] Device 34:88:5D:EF:19:51 Connected: yes
Connection successful
[CHG] Device 34:88:5D:EF:19:51 ServicesResolved: yes

最後に動作します!

おすすめ記事