遅く、停止し、不安定なBluetoothキーボード(Linuxのみ)

遅く、停止し、不安定なBluetoothキーボード(Linuxのみ)

Windowsでファームウェアをコピーする必要があるBluetooth Broadcom 43142モジュールを搭載したノートパソコンがあります。私にはもう一つあります。 サムスンのBluetoothキーボードBKB-10.. Windows 10ではうまく動作しますが、Ubuntu 16.04では中断され、接続が切断されて遅延します。中断の例:

Likkkkkkkkkke tttttttttttthhhhhhhhhhhhhhhhhatt!!!!!!!!!

接続が切断された場合は、システムが切断されたことを認識するまで10〜20秒間キーを1回押します。ただし、中断することなく1〜10文字の追加文字を印刷することもできます。 DDelayyはミリ秒から秒まで可能です。しかし、時にはキーボードがLinux上で正常に動作し、動作しているときと動作しない場合、どのパターンも見ることができません。

Linuxでは、このアダプタのBluetoothドライバに問題があるため、ドライバに問題があると思います。しかし、キーボードをCyanogenMod 12.1スマートフォンに接続しましたが、遅すぎました!切断が表示されず、AndroidでBluetooth接続解除ログがどこにあるのかわかりません。 CM 12.1もBluezを使用しているので、それは問題かもしれません。繰り返しますが、キーボードはLinuxで完全に動作します。したがって、これはドライバやハードウェアの問題ではなく、Linuxの問題にすぎないと思います。 tlpでUSBおよびPCIデバイスのすべての省電力機能をオフにし、2つのソリューションを試しました。ここ-何もありません。また、Bluez 5.40(5.37 Ubuntuのバージョンを削除しませんでした。そうでなければUbuntuの半分を削除したはずです)とLinuxカーネル4.6もインストールしました。キーボードが不安定な場合(遅延と停止)、ログに奇妙な内容は表示されず、接続が切断されたときにのみ表示されます。もう一つの興味深い点は、このキーボードはAndroid用に設計されていますが、Windowsでのみ機能することです。

unknown main item tag 0x0

接続が切断されるたびに表示されます。

上記のメッセージは下のディスプレイに太字で表示されています。

情報
[440.590111] usbcore:インタフェースドライバbtusbの登録をキャンセル中
[444.549055] usbcore: 新規インタフェースドライバ btusb 登録
[446.557936] Bluetooth:hci0コマンド0x1001 txタイムアウト
[454.551817] Bluetooth:hci0:BCM:ローカルバージョン情報を読み込めませんでした(-110)。
[454.568686] Bluetooth: hci0: BCM: チップID 70
[454.584662] Bluetooth:hci0:BCM43142A
[454.584671] Bluetooth:hci0:BCM(001.001.011)バージョン0000
[455.217642] Bluetooth:hci0:BCM(001.001.011)バージョン0146
[455.233625] Bluetooth: hci0: Broadcom Bluetoothデバイス(43142)
[520.262176] usbcore:インタフェースドライバbtusbの登録をキャンセル中
[520.267674] Bluetooth:hci0 urb ffff88005b287c00を再送信できませんでした。 (2)
[522.576757] usbcore: 新しいインターフェイスドライバ btusb 登録
[522.581012] Bluetooth: hci0: BCM: チップID 70
[522.597023] Bluetooth: hci0: Broadcom Bluetoothデバイス(43142)
[522.597032] Bluetooth: hci0: BCM(001.001.011) バージョン 0146
[523.200996] Bluetooth: hci0: BCM(001.001.011) バージョン 0146
[523.217028] Bluetooth: hci0: Broadcom Bluetoothデバイス(43142)
[523.350764] Bluetooth:RFCOMM TTYレイヤーが初期化されました。
[523.350772] Bluetooth:RFCOMMソケット層が初期化されました。
[523.350779] Bluetooth:RFCOMMバージョン1.11
[532.571301] Bluetooth:HIDP(ヒューマンインターフェースエミュレーション)バージョン1.2
[532.571308] Bluetooth:HIDPソケットレイヤーが初期化されました。
[793.617198] hid-generic 0005:04E8:7021.0003: 不明な基本プロジェクトタグ 0x0
[793.617387] 入力: /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/bluetooth/hci0/hci0:12用サムスンBluetoothキーボードBKB-10 /0005:04E8:7021.0003/入力/入力14
[793.618079]hid-generic 0005:04E8:7021.0003:input,hidraw2:Bluetooth HID v7.00 キーボード [サムスン Bluetooth キーボード BKB-10] on f8:2f:a8:ed:4d:02
[978.540391] hid-generic 0005:04E8:7021.0004: 不明な基本プロジェクトタグ 0x0
[978.540524]入力:サムスンBluetoothキーボードBKB-10は/ devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/bluetooth/hci0/hci0:11です。 /0005:04E8:7021.0004/入力/入力15
[978.542916]hid-generic 0005:04E8:7021.0004:input,hidraw2:Bluetooth HID v7.00 キーボード [サムスン Bluetooth キーボード BKB-10] on f8:2f:a8:ed:4d:02
[2922.936556] hid-generic 0005:04E8:7021.0005: 不明な基本プロジェクトタグ 0x0

Jun 14 15:58:53 leonid-Lenovo-G500 acpid: input device has been disconnected, fd 16
Jun 14 15:58:53 leonid-Lenovo-G500 bluetoothd[694]: GLib: Source ID 1006 was not found when attempting to remove it
Jun 14 15:58:54 leonid-Lenovo-G500 kernel: [ 7143.006495] hid-generic 0005:04E8:7021.000F: unknown main item tag 0x0
Jun 14 15:58:54 leonid-Lenovo-G500 kernel: [ 7143.006620] input: Samsung Bluetooth Keyboard BKB-10 as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/bluetooth/hci0/hci0:12/0005:04E8:7021.000F/input/input26
Jun 14 15:58:54 leonid-Lenovo-G500 kernel: [ 7143.007582] hid-generic 0005:04E8:7021.000F: input,hidraw2: BLUETOOTH HID v7.00 Keyboard [Samsung Bluetooth Keyboard BKB-10] on f8:2f:a8:ed:4d:02
Jun 14 15:58:54 leonid-Lenovo-G500 upowerd[1464]: (upowerd:1464): UPower-Linux-WARNING **: treating change event as add on /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/bluetooth/hci0/hci0:12/0005:04E8:7021.000F/power_supply/hid-90:7f:61:10:3c:ab-battery
Jun 14 16:01:53 leonid-Lenovo-G500 acpid: input device has been disconnected, fd 16
Jun 14 16:01:53 leonid-Lenovo-G500 bluetoothd[694]: GLib: Source ID 1035 was not found when attempting to remove it
Jun 14 16:01:53 leonid-Lenovo-G500 kernel: [ 7322.201743] hid-generic 0005:04E8:7021.0010: unknown main item tag 0x0
Jun 14 16:01:53 leonid-Lenovo-G500 kernel: [ 7322.201902] input: Samsung Bluetooth Keyboard BKB-10 as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/bluetooth/hci0/hci0:11/0005:04E8:7021.0010/input/input27
Jun 14 16:01:53 leonid-Lenovo-G500 kernel: [ 7322.202263] hid-generic 0005:04E8:7021.0010: input,hidraw2: BLUETOOTH HID v7.00 Keyboard [Samsung Bluetooth Keyboard BKB-10] on f8:2f:a8:ed:4d:02
Jun 14 16:01:53 leonid-Lenovo-G500 upowerd[1464]: (upowerd:1464): UPower-Linux-WARNING **: treating change event as add on /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/bluetooth/hci0/hci0:11/0005:04E8:7021.0010/power_supply/hid-90:7f:61:10:3c:ab-battery

ベストアンサー1

bluez.orgでBluez 5.27をインストールしましたが(最新バージョンは私にとっては遅いです)、遅延は消えました。切断も少ないですが、これはUbuntuがカーネルなどを使用することに関連しているようです。

おすすめ記事