Не удается подключиться к устройствам Bluetooth (org.bluez.Error.ConnectionAttemptFailed)

Я не могу подключиться * к устройствам Bluetooth. Сканирование обнаружит мои устройства через пару минут, но сопряжение не будет успешным. При использовании В графическом интерфейсе настроек мое устройство отображается как «Не настроено». При нажатии на него в течение минуты отображается вращающееся колесо, после чего оно возвращается в состояние «Не настроено».

Использование bluetoothctl при попытке выполнить сопряжение с устройства, я получаю org.bluez.Error.ConnectionAttemptFailed

Это происходит при попытке связать несколько разных устройств Bluetooth (гарнитура, динамик, телефон) с моим компьютером.

В настоящее время используется Ubuntu 20.04 (обновлено с 18.04), kernel 5.4.0-37-generic

У меня были те же проблемы при запуске 18.04 на этом компьютере, также с 20.04 live-USB, чтобы исключить все, что я мог изменить по умолчанию.

Мои устройства bluetooth: 03: 00.0 Сетевой контроллер: Intel Corporation Dual Band Wireless-AC 3168NGW [Stone Peak] (rev 10)

user@computer:~$ dmesg | grep -i blue
[   21.690128] Bluetooth: Core ver 2.22
[   21.690138] Bluetooth: HCI device and connection manager initialized
[   21.690141] Bluetooth: HCI socket layer initialized
[   21.690142] Bluetooth: L2CAP socket layer initialized
[   21.690147] Bluetooth: SCO socket layer initialized
[   21.755854] Bluetooth: hci0: read Intel version: 370810225019140f00
[   21.758971] Bluetooth: hci0: Intel Bluetooth firmware file: intel/ibt-hw-37.8.10-fw-22.50.19.14.f.bseq
[   22.083912] Bluetooth: hci0: Intel firmware patch completed and activated
[   23.196241] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   23.196242] Bluetooth: BNEP filters: protocol multicast
[   23.196245] Bluetooth: BNEP socket layer initialized
[   23.318920] Bluetooth: RFCOMM TTY layer initialized
[   23.318924] Bluetooth: RFCOMM socket layer initialized
[   23.318927] Bluetooth: RFCOMM ver 1.11
user@computer:~$ systemctl status bluetooth.service
● bluetooth.service - Bluetooth service
     Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2020-06-16 10:34:31 PDT; 39min ago
       Docs: man:bluetoothd(8)
   Main PID: 1115 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 19013)
     Memory: 2.3M
     CGroup: /system.slice/bluetooth.service
             └─1115 /usr/lib/bluetooth/bluetoothd

Jun 16 10:34:30 computer systemd[1]: Starting Bluetooth service...
Jun 16 10:34:30 computer bluetoothd[1115]: Bluetooth daemon 5.53
Jun 16 10:34:31 computer bluetoothd[1115]: Starting SDP server
Jun 16 10:34:31 computer systemd[1]: Started Bluetooth service.
Jun 16 10:34:31 computer bluetoothd[1115]: Bluetooth management interface 1.14 initialized
Jun 16 10:35:35 computer bluetoothd[1115]: Endpoint registered: sender=:1.83 path=/MediaEndpoint/A2DPSink/sbc
Jun 16 10:35:35 computer bluetoothd[1115]: Endpoint registered: sender=:1.83 path=/MediaEndpoint/A2DPSource/sbc
user@computer:~$ bluetoothctl
Agent registered
[bluetooth]# power on
Changing power on succeeded
[bluetooth]# scan on
Discovery started
[CHG] Controller 10:F0:05:XX:XX:XX Discovering: yes
[bluetooth]# pairable on
Changing pairable on succeeded
[CHG] Device 5C:FB:7C:XX:XX:XX RSSI: -84
[CHG] Device 5C:FB:7C:XX:XX:XX TxPower: 4
[CHG] Device 5C:FB:7C:XX:XX:XX UUIDs: 0000110d-0000-1000-8000-00805f9b34fb
[CHG] Device 5C:FB:7C:XX:XX:XX UUIDs: 0000110b-0000-1000-8000-00805f9b34fb
[CHG] Device 5C:FB:7C:XX:XX:XX UUIDs: 0000110e-0000-1000-8000-00805f9b34fb
[CHG] Device 5C:FB:7C:XX:XX:XX UUIDs: 0000110f-0000-1000-8000-00805f9b34fb
[CHG] Device 5C:FB:7C:XX:XX:XX UUIDs: 0000111e-0000-1000-8000-00805f9b34fb
[CHG] Device 5C:FB:7C:XX:XX:XX UUIDs: 00001108-0000-1000-8000-00805f9b34fb
[CHG] Device 5C:FB:7C:XX:XX:XX UUIDs: 00001131-0000-1000-8000-00805f9b34fb
[bluetooth]# trust 5C:FB:7C:XX:XX:XX
Changing 5C:FB:7C:XX:XX:XX trust succeeded
[bluetooth]# pair 5C:FB:7C:XX:XX:XX
Attempting to pair with 5C:FB:7C:XX:XX:XX
Failed to pair: org.bluez.Error.ConnectionAttemptFailed
[bluetooth]# exit

Буду признателен за любую помощь!

* Пару раз, используя bluetoothctl, мне удавалось заставить его вкратце сказать, что он сопряжен и подключен, но после этого сразу же говорилось, что отключен. В настоящее время я не могу повторить это.

Обновление

По-прежнему не удалось выяснить причину проблемы, но я поймал ее, говоря, что оно подключилось к устройству и немедленно отключилось:

user@computer:~$ bluetoothctl
Agent registered
[bluetooth]# power on
Changing power on succeeded
[bluetooth]# scan on
Discovery started
[CHG] Device 5C:FB:7C:XX:XX:XX RSSI: -80
[CHG] Device 5C:FB:7C:XX:XX:XX RSSI: -84
[CHG] Device 5C:FB:7C:XX:XX:XX RSSI: -77
[bluetooth]# trust 5C:FB:7C:XX:XX:XX
[CHG] Device 5C:FB:7C:XX:XX:XX Trusted: yes
Changing 5C:FB:7C:XX:XX:XX trust succeeded
[bluetooth]# pair 5C:FB:7C:XX:XX:XX
Attempting to pair with 5C:FB:7C:XX:XX:XX
[CHG] Device 5C:FB:7C:XX:XX:XX Connected: yes
[CHG] Device 5C:FB:7C:XX:XX:XX UUIDs: 00001108-0000-1000-8000-00805f9b34fb
[CHG] Device 5C:FB:7C:XX:XX:XX UUIDs: 0000110b-0000-1000-8000-00805f9b34fb
[CHG] Device 5C:FB:7C:XX:XX:XX UUIDs: 0000110c-0000-1000-8000-00805f9b34fb
[CHG] Device 5C:FB:7C:XX:XX:XX UUIDs: 0000110e-0000-1000-8000-00805f9b34fb
[CHG] Device 5C:FB:7C:XX:XX:XX UUIDs: 0000111e-0000-1000-8000-00805f9b34fb
[CHG] Device 5C:FB:7C:XX:XX:XX UUIDs: 00001124-0000-1000-8000-00805f9b34fb
[CHG] Device 5C:FB:7C:XX:XX:XX UUIDs: 00001200-0000-1000-8000-00805f9b34fb
[CHG] Device 5C:FB:7C:XX:XX:XX ServicesResolved: yes
[CHG] Device 5C:FB:7C:XX:XX:XX Paired: yes
Pairing successful
[CHG] Device 5C:FB:7C:XX:XX:XX ServicesResolved: no
[CHG] Device 5C:FB:7C:XX:XX:XX Connected: no
[bluetooth]# 

Мы будем очень признательны за любые мысли по дальнейшему устранению неполадок!

1
задан 16 June 2020 в 22:24

0 ответов

Другие вопросы по тегам:

Похожие вопросы: