![Ubuntu 22.04 で Bluetooth ドングルが検出されましたが動作しません](https://rvso.com/image/1073515/Ubuntu%2022.04%20%E3%81%A7%20Bluetooth%20%E3%83%89%E3%83%B3%E3%82%B0%E3%83%AB%E3%81%8C%E6%A4%9C%E5%87%BA%E3%81%95%E3%82%8C%E3%81%BE%E3%81%97%E3%81%9F%E3%81%8C%E5%8B%95%E4%BD%9C%E3%81%97%E3%81%BE%E3%81%9B%E3%82%93.png)
Ubuntu 22.04 をインストールしましたが、ある時点で Bluetooth が機能しなくなりました。
私は Bluetooth 外付けドングル Amitosai MTS-BT5PRO を持っています。問題はこのデバイスにあるのではないかと思いますが、Ubuntu 20.04 では正常に動作していたのが不思議です。
サービスは(理論上は)稼働していますが、新しいデバイスを検出したり、すでにペアリングされているデバイスに接続したりすることはできません。
デバイスが検出されていることを証明します (Realtek Semiconductor Corp. Bluetooth Radio):
~$ lsusb
Bus 002 Device 002: ID 05e3:0626 Genesys Logic, Inc. USB3.1 Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 2357:0107 TP-Link TL-WN821N v5/v6 [RTL8192EU]
Bus 001 Device 044: ID 0bda:8771 Realtek Semiconductor Corp. Bluetooth Radio
Bus 001 Device 043: ID 1b3f:1167 Generalplus Technology Inc. WEB CAM
Bus 001 Device 042: ID 258a:002a SINO WEALTH Gaming KB
Bus 001 Device 041: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
Bus 001 Device 040: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
サービスは実行されているようです(画像参照)
しかし、ログには 2 つのエラーが記録されます。
jul 26 10:44:40 andy systemd[1]: Started Bluetooth service.
jul 26 10:44:40 andy bluetoothd[9468]: Starting SDP server
jul 26 10:44:40 andy bluetoothd[9468]: Bluetooth management interface 1.22 initialized
jul 26 10:44:40 andy bluetoothd[9468]: Failed to set mode: Not Supported (0x0c)
jul 26 10:44:40 andy bluetoothd[9468]: Endpoint registered: sender=:1.125 path=/MediaEndpoint/A2DPSink/sbc
jul 26 10:44:40 andy bluetoothd[9468]: Endpoint registered: sender=:1.125 path=/MediaEndpoint/A2DPSource/sbc
jul 26 10:44:40 andy bluetoothd[9468]: Endpoint registered: sender=:1.125 path=/MediaEndpoint/A2DPSink/sbc_xq_453
jul 26 10:44:40 andy bluetoothd[9468]: Endpoint registered: sender=:1.125 path=/MediaEndpoint/A2DPSource/sbc_xq_453
jul 26 10:44:40 andy bluetoothd[9468]: Endpoint registered: sender=:1.125 path=/MediaEndpoint/A2DPSink/sbc_xq_512
jul 26 10:44:40 andy bluetoothd[9468]: Endpoint registered: sender=:1.125 path=/MediaEndpoint/A2DPSource/sbc_xq_512
jul 26 10:44:40 andy bluetoothd[9468]: Endpoint registered: sender=:1.125 path=/MediaEndpoint/A2DPSink/sbc_xq_552
jul 26 10:44:40 andy bluetoothd[9468]: Endpoint registered: sender=:1.125 path=/MediaEndpoint/A2DPSource/sbc_xq_552
jul 26 10:45:14 andy bluetoothd[9468]: Failed to set mode: Authentication Failed (0x05)
jul 26 10:47:11 andy bluetoothd[9468]: Endpoint unregistered: sender=:1.125 path=/MediaEndpoint/A2DPSink/sbc
jul 26 10:47:11 andy bluetoothd[9468]: Endpoint unregistered: sender=:1.125 path=/MediaEndpoint/A2DPSource/sbc
jul 26 10:47:11 andy bluetoothd[9468]: Endpoint unregistered: sender=:1.125 path=/MediaEndpoint/A2DPSink/sbc_xq_453
jul 26 10:47:11 andy bluetoothd[9468]: Endpoint unregistered: sender=:1.125 path=/MediaEndpoint/A2DPSource/sbc_xq_453
jul 26 10:47:11 andy bluetoothd[9468]: Endpoint unregistered: sender=:1.125 path=/MediaEndpoint/A2DPSink/sbc_xq_512
jul 26 10:47:11 andy bluetoothd[9468]: Endpoint unregistered: sender=:1.125 path=/MediaEndpoint/A2DPSource/sbc_xq_512
jul 26 10:47:11 andy bluetoothd[9468]: Endpoint unregistered: sender=:1.125 path=/MediaEndpoint/A2DPSink/sbc_xq_552
jul 26 10:47:11 andy bluetoothd[9468]: Endpoint unregistered: sender=:1.125 path=/MediaEndpoint/A2DPSource/sbc_xq_552
jul 26 10:47:19 andy bluetoothd[9468]: Failed to set mode: Not Supported (0x0c)
エラーは次のとおりです:
Failed to set mode: Not Supported (0x0c)
Failed to set mode: Authentication Failed (0x05)
サービスを再起動すると、Bluetooth エラーが表示されます。
そして、dmesg | grep -i bluetooth
これをスローします:
~$ sudo dmesg |grep -i bluetooth
[sudo] password for andresjalife:
[ 4.829449] usb 1-5: Product: Bluetooth Radio
[ 6.954047] Bluetooth: Core ver 2.22
[ 6.954086] NET: Registered PF_BLUETOOTH protocol family
[ 6.954087] Bluetooth: HCI device and connection manager initialized
[ 6.954090] Bluetooth: HCI socket layer initialized
[ 6.954091] Bluetooth: L2CAP socket layer initialized
[ 6.954094] Bluetooth: SCO socket layer initialized
[ 6.989904] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000b lmp_ver=0a lmp_subver=8761
[ 6.990827] Bluetooth: hci0: RTL: rom_version status=0 version=1
[ 6.990830] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_fw.bin
[ 6.991442] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_config.bin
[ 6.991717] Bluetooth: hci0: RTL: cfg_sz 6, total sz 30210
[ 7.160832] Bluetooth: hci0: RTL: fw version 0xdfc6d922
[ 7.796472] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 7.796476] Bluetooth: BNEP filters: protocol multicast
[ 7.796479] Bluetooth: BNEP socket layer initialized
[ 9.000301] Bluetooth: hci1: Opcode 0x c03 failed: -110
[ 21.885974] Bluetooth: RFCOMM TTY layer initialized
[ 21.885981] Bluetooth: RFCOMM socket layer initialized
[ 21.885984] Bluetooth: RFCOMM ver 1.11
[ 23.908309] Bluetooth: hci0: Opcode 0x c24 failed: -110
[ 23.908309] Bluetooth: hci0: command 0x0c24 tx timeout
[ 25.924303] Bluetooth: hci0: command 0x0c24 tx timeout
[ 25.924328] Bluetooth: hci0: Opcode 0x c24 failed: -110
[ 27.940333] Bluetooth: hci0: command 0x0c24 tx timeout
[ 27.940334] Bluetooth: hci0: Opcode 0x c24 failed: -110
[ 4133.077329] Bluetooth: hci0: Opcode 0x 401 failed: -110
[ 4133.077376] Bluetooth: hci0: command 0x0401 tx timeout
[ 4135.093401] Bluetooth: hci0: Opcode 0x c3a failed: -110
[ 4135.093405] Bluetooth: hci0: command 0x0c3a tx timeout
[ 4135.093413] Bluetooth: hci0: No gpio to reset Realtek device, ignoring
[ 4137.109361] Bluetooth: hci0: command 0x0401 tx timeout
[ 4137.109366] Bluetooth: hci0: No gpio to reset Realtek device, ignoring
[ 4137.109392] Bluetooth: hci0: Opcode 0x 401 failed: -110
[ 4259.943761] usb 1-12: Product: Bluetooth Radio
[ 4259.949371] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000b lmp_ver=0a lmp_subver=8761
[ 4259.950343] Bluetooth: hci0: RTL: rom_version status=0 version=1
[ 4259.950357] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_fw.bin
[ 4259.950518] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_config.bin
[ 4259.950618] Bluetooth: hci0: RTL: cfg_sz 6, total sz 30210
[ 4260.099367] Bluetooth: hci0: RTL: fw version 0xdfc6d922
[ 4271.990867] Bluetooth: hci0: Opcode 0x 402 failed: -110
[ 4271.990906] Bluetooth: hci0: command 0x0402 tx timeout
エラーの原因は何だかご存知ですか?
ドングル自体が原因だと思う場合、Ubuntu 22.04 と互換性のあるドングルをお勧めいただけますか?