web-dev-qa-db-ja.com

可能な更新後、Bluetoothは正しく機能しなくなりました

私は過去6か月間Ubuntu16.04.3 LTSでBluetoothを問題なく使用しており、マウス/キーボード/ヘッドフォンを同時に接続しています。しかし、突然、カーネルの更新があったと思います。これは、virtualboxのカーネルを更新する必要があったためです。同時に、Bluetoothで定期的に問題が発生し始めましたが、動作しない場合もありました。

とにかく多くのことをグーグルで試しましたが、何かを台無しにしたかどうかはわかりませんが、現在のBluetoothの動作は次のとおりです。

起動/再起動時にBluetoothはまったく機能しません。 Ubuntuはオンだと思っていますが、どのデバイスにも接続またはスキャンできません。

「Sudomodprobe-r btusb; Sudo modprobe btusb」(bluetoothドライバーなどを再インストールすると思います)を実行すると、bluetoothは問題なく動作し始めますが、約2分後に再び停止します。

それはとても奇妙です。明らかにその動作ですが、なぜそれはそのままになりませんか?

それが役立つ場合に備えて:

Sudo dmesg | grep Blue
[    9.266691] Bluetooth: Core ver 2.22
[    9.266704] Bluetooth: HCI device and connection manager initialized
[    9.266710] Bluetooth: HCI socket layer initialized
[    9.266711] Bluetooth: L2CAP socket layer initialized
[    9.266714] Bluetooth: SCO socket layer initialized
[    9.285931] Bluetooth: HCI UART driver ver 2.3
[    9.285932] Bluetooth: HCI UART protocol H4 registered
[    9.285933] Bluetooth: HCI UART protocol BCSP registered
[    9.285945] Bluetooth: HCI UART protocol LL registered
[    9.285946] Bluetooth: HCI UART protocol ATH3K registered
[    9.285946] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    9.285974] Bluetooth: HCI UART protocol Intel registered
[    9.285982] Bluetooth: HCI UART protocol Broadcom registered
[    9.285983] Bluetooth: HCI UART protocol QCA registered
[    9.285984] Bluetooth: HCI UART protocol AG6XX registered
[    9.285984] Bluetooth: HCI UART protocol Marvell registered
[    9.428155] Bluetooth: hci0: Firmware revision 0.1 build 103 week 50 2016
[   10.205097] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   10.205098] Bluetooth: BNEP filters: protocol multicast
[   10.205100] Bluetooth: BNEP socket layer initialized
[   12.659374] Bluetooth: RFCOMM TTY layer initialized
[   12.659377] Bluetooth: RFCOMM socket layer initialized
[   12.659381] Bluetooth: RFCOMM ver 1.11
[   33.820193] Bluetooth: hci0 command 0x0c52 tx timeout
[   57.756016] Bluetooth: hci0 command 0x0405 tx timeout
[  103.871505] Bluetooth: hci0: Firmware revision 0.1 build 103 week 50 2016

-編集

ブルートゥースパッケージを削除して再インストールするためにいくつかの手順を試しましたが、それでも問題は解決しません。何らかの理由で、2分間動作する代わりに、ドライバーを再起動してから約15秒でBluetoothが動作するようになりました。私のsyslogは、それが起こった直後にこれを示しています。

tail syslog
Jan 28 13:43:51 pierre-Galago-Pro system76-daemon[1255]: 2018-01-28 13:43:51,967  INFO  {'hci0': True, 'phy0': True} != {'phy0': True}
Jan 28 13:43:51 pierre-Galago-Pro system76-daemon[1255]: 2018-01-28 13:43:51,970  INFO  airplane_mode: False
Jan 28 13:44:04 pierre-Galago-Pro bluetoothd[1306]: /org/bluez/hci0/dev_57_D3_98_0B_83_19/fd1: fd(36) ready
Jan 28 13:44:04 pierre-Galago-Pro rtkit-daemon[3655]: Supervising 3 threads of 1 processes of 1 users.
Jan 28 13:44:04 pierre-Galago-Pro rtkit-daemon[3655]: Successfully made thread 10504 of process 5763 (n/a) owned by '1000' RT at priority 5.
Jan 28 13:44:04 pierre-Galago-Pro rtkit-daemon[3655]: Supervising 4 threads of 1 processes of 1 users.
Jan 28 13:44:04 pierre-Galago-Pro kernel: [  317.466103] input: 57:D3:98:0B:83:19 as /devices/virtual/input/input27
Jan 28 13:44:23 pierre-Galago-Pro bluetoothd[1306]: Suspend: Connection timed out (110)
Jan 28 13:44:25 pierre-Galago-Pro bluetoothd[1306]: Abort: Connection timed out (110)
Jan 28 13:44:25 pierre-Galago-Pro acpid: input device has been disconnected, fd 22

bluetoothdはbluezという名前のパッケージのデーモンのようで、bluezパッケージがUbuntu 16.04用にごく最近更新されたことがわかります( https://launchpad.net/ubuntu/+source/bluez )前のバージョンにダウングレードする必要があるかもしれません。

素晴らしいことに、私は今のところ最もありそうもない方法でこれを解決したかもしれないようです。

さまざまなパッケージのインストール/再インストールなど、さまざまなことを試しました。インストールしたシステムアップデートがあり、何度も再起動しました。System76サポートからこのページを読むまで何も修正されませんでした: http:// support。 system76.com/articles/bluetooth/

まず、機内モードを切り替えて問題が解決するかどうかを確認することを提案します。まあそれは完全にやった!