내 Bluedio T4 헤드폰이 Ubuntu Linux 20.04 LTS에서 자동으로 연결되지 않습니다.
장치는 PulseAudio /etc/pulse/default.pa에서 신뢰할 수 있고 활성화되어 있습니다. Wireshark를 사용하면 컨트롤러에 매우 빠르게 연결되는 것을 볼 수 있습니다. 그러나 몇 밀리초 후에 연결 해제 요청을 보내고 이에 따라 장치 연결이 끊어집니다.
$ bluetoothctl info 17:07:11:00:00:00
Device 17:07:11:DD:0D:27 (public)
Name: Bluedio T
Alias: Bluedio T
Class: 0x00240404
Icon: audio-card
Paired: yes
Trusted: yes
Blocked: no
Connected: no
LegacyPairing: no
UUID: Audio Sink (0000110b-0000-1000-8000-00805f000000)
UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f000000)
UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f000000)
UUID: Handsfree (0000111e-0000-1000-8000-00805f000000)
$ cat /etc/pulse/default.pa | grep -B 1 -A 1 module-switch-on-connect
### Use hot-plugged devices like Bluetooth or USB automatically (LP: #1702794)
.ifexists module-switch-on-connect.so
load-module module-switch-on-connect
.endif
No. Time Source Destination Protocol Length Info
1 0.000000 controller host HCI_EVT 13 Rcvd Connect Request
2 0.000030 host controller HCI_CMD 11 Sent Accept Connection Request
3 0.001019 controller host HCI_EVT 7 Rcvd Command Status (Accept Connection Request)
4 0.175023 controller host HCI_EVT 11 Rcvd Role Change
5 0.195976 controller host HCI_EVT 14 Rcvd Connect Complete
6 0.196106 host controller HCI_CMD 6 Sent Read Remote Supported Features
...
36 0.311036 localhost () 17:07:11:dd:0d:27 (Bluedio T) L2CAP 17 Sent Configure Request (DCID: 0x0040)
37 0.317005 controller host HCI_EVT 8 Rcvd Number of Completed Packets
38 0.318999 controller host HCI_EVT 8 Rcvd Number of Completed Packets
39 0.364021 17:07:11:dd:0d:27 (Bluedio T) localhost () L2CAP 17 Rcvd Configure Request (DCID: 0x0040)
40 0.364073 localhost () 17:07:11:dd:0d:27 (Bluedio T) L2CAP 23 Sent Configure Response - Success (SCID: 0x0040)
41 0.366020 17:07:11:dd:0d:27 (Bluedio T) localhost () L2CAP 23 Rcvd Configure Response - Success (SCID: 0x0040)
42 0.369020 controller host HCI_EVT 8 Rcvd Number of Completed Packets
43 0.422020 17:07:11:dd:0d:27 (Bluedio T) localhost () SDP 42 Rcvd Service Search Attribute Request : Handsfree Audio Gateway: L2CAP: RFCOMM: [Protocol Descriptor List 0x0004] [Bluetooth Profile Descriptor List 0x0009] [(HFP AG) Network 0x0301] [(HFP AG) Supported Features 0x0311]
44 0.422245 localhost () 17:07:11:dd:0d:27 (Bluedio T) SDP 19 Sent Service Search Attribute Response
45 0.427979 controller host HCI_EVT 8 Rcvd Number of Completed Packets
46 0.479997 17:07:11:dd:0d:27 (Bluedio T) localhost () L2CAP 17 Rcvd Disconnection Request (SCID: 0x0040, DCID: 0x0040, PSM: 0x0001, Service: SDP)
47 0.480021 localhost () 17:07:11:dd:0d:27 (Bluedio T) L2CAP 17 Sent Disconnection Response (SCID: 0x0040, DCID: 0x0040, PSM: 0x0001, Service: SDP)
48 0.483982 controller host HCI_EVT 8 Rcvd Number of Completed Packets
49 0.687030 controller host HCI_EVT 7 Rcvd Disconnect Complete
50 0.748115 host controller HCI_CMD 5 Sent Write Scan Enable
51 0.751010 controller host HCI_EVT 7 Rcvd Command Complete (Write Scan Enable)
기기가 문제 없이 내 Android 기기에 연결되기 때문에 이런 일이 발생하는 이유를 모르겠습니다.
답변1
나도 같은 문제가 있습니다 (그러나 Debian Buster와 bluedio t6을 사용하고 있습니다).
섹션 FastConnectable
에서 옵션 을 변경해 보았습니다 .true
/etc/bluetooth/main.conf
[General]
# Permanently enables the Fast Connectable setting for adapters that
# support it. When enabled other devices can connect faster to us,
# however the tradeoff is increased power consumptions. This feature
# will fully work only on kernel version 4.1 and newer. Defaults to
# 'false'.
#FastConnectable = false
FastConnectable = true
그런 다음 재부팅합니다.블루투스, 이제 헤드셋을 켜자마자 바로 연결됩니다.