Bluetooth가 A2dp에서 헤드폰으로 계속 변경되고 JBL 4 스피커가 있는 Debian Buster에서 연결이 끊어집니다.

Bluetooth가 A2dp에서 헤드폰으로 계속 변경되고 JBL 4 스피커가 있는 Debian Buster에서 연결이 끊어집니다.

1년 넘게 JBL 4 스피커의 Bluetooth 연결에 문제가 있었습니다. 그것은 계속해서 접촉을 잃습니다. 키보드 단축키를 통해 다시 연결하기 위해 인터넷에서 찾은 내용을 기반으로 스크립트를 만들었습니다. 때로는 몇 초 안에 연결되기도 하고, 때로는 PulseAudio를 꺼진 상태에서 A2P로 전환해야 하는 경우도 있습니다. 나는 이것을 여러 번해야했습니다. 연결이 끊어지는 것인지 아니면 프로필만 전환하는 것인지 알 수 없으므로 올바른 용어를 사용하지 않은 경우 양해해 주시기 바랍니다. 최근에 Stretch에서 Buster로 업그레이드했습니다. 이렇게 하면 더 안정적이지만 여전히 신뢰할 수 없습니다. 로그 파일을 읽고 오류를 검색해 보았지만 만족스러운 결과가 없었습니다. 내가 한 일: 기반https://askubuntu.com/questions/934381/bluetooth-speaker-not-doing-a2dp-ubuntu-gnome-17-04/935972 /var/lib/gdm3/.config/pulse/default.pa에 삽입:

#!/usr/bin/pulseaudio -nF
#

# load system wide configuration
.include /etc/pulse/default.pa
### unload driver modules for Bluetooth hardware
.ifexists module-bluetooth-policy.so
  unload-module module-bluetooth-policy
.endif

.ifexists module-bluetooth-discover.so
  unload-module module-bluetooth-discover
.endif

/etc/bluetooth/main.conf를 변경했습니다.

[General]

Disable=Headset
AutoConnect=true
Enable=Source,Sink,Media,Control,Gateway
Disable=Socket
#Default adapter name
# Defaults to 'BlueZ X.YZ'
#Name = BlueZ
HFP=false

[A2DP]
SBCSources=1
MPEG12Sources=0

# Default device class. Only the major and minor device class bits are
# considered. Defaults to '0x000000'.
#Class = 0x000100

# How long to stay in discoverable mode before going back to non-discoverable
# The value is in seconds. Default is 180, i.e. 3 minutes.
# 0 = disable timer, i.e. stay discoverable forever
# DiscoverableTimeout = 0

# How long to stay in pairable mode before going back to non-discoverable
# The value is in seconds. Default is 0.
# 0 = disable timer, i.e. stay pairable forever
# PairableTimeout = 0

# Automatic connection for bonded devices driven by platform/user events.
# If a platform plugin uses this mechanism, automatic connections will be
# enabled during the interval defined below. Initially, this feature
# intends to be used to establish connections to ATT channels. Default is 60.
#AutoConnectTimeout = 01

# Use vendor id source (assigner), vendor, product and version information for
# DID profile support. The values are separated by ":" and assigner, VID, PID
# and version.
# Possible vendor id source values: bluetooth, usb (defaults to usb)
#DeviceID = bluetooth:30:C0:1B:20:7F:04

# Do reverse service discovery for previously unknown devices that connect to
# us. This option is really only needed for qualification since the BITE tester
# doesn't like us doing reverse SDP for some test cases (though there could in
# theory be other useful purposes for this too). Defaults to 'true'.
#ReverseServiceDiscovery = true

# Enable name resolving after inquiry. Set it to 'false' if you don't need
# remote devices name and want shorter discovery cycle. Defaults to 'true'.
# NameResolving = false

# Enable runtime persistency of debug link keys. Default is false which
# makes debug link keys valid only for the duration of the connection
# that they were created for.
#DebugKeys = false

# Restricts all controllers to the specified transport. Default value
# is "dual", i.e. both BR/EDR and LE enabled (when supported by the HW).
# Possible values: "dual", "bredr", "le"
ControllerMode = bredr

# Enables Multi Profile Specification support. This allows to specify if
# system supports only Multiple Profiles Single Device (MPSD) configuration
# or both Multiple Profiles Single Device (MPSD) and Multiple Profiles Multiple
# Devices (MPMD) configurations.
# Possible values: "off", "single", "multiple"
MultiProfile = multiple

# 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 = true

# Default privacy setting.
# Enables use of private address.
# Possible values: "off", "device", "network"
# "network" option not supported currently
# Defaults to "off"
# Privacy = off


[Policy]
#
# The ReconnectUUIDs defines the set of remote services that should try
# to be reconnected to in case of a link loss (link supervision
# timeout). The policy plugin should contain a sane set of values by
# default, but this list can be overridden here. By setting the list to
# empty the reconnection feature gets disabled.
#ReconnectUUIDs=00001112-0000-1000-8000-00805f9b34fb,0000111f-0000-1000-8000-00805f9b34fb,0000110a-0000-1000-8000-00805f9b34fb

# ReconnectAttempts define the number of attempts to reconnect after a link
# lost. Setting the value to 0 disables reconnecting feature.
ReconnectAttempts=7

# ReconnectIntervals define the set of intervals in seconds to use in between
# attempts.
# If the number of attempts defined in ReconnectAttempts is bigger than the
# set of intervals the last interval is repeated until the last attempt.
#ReconnectIntervals=1,2,4,8,16,32,64
ReconnectIntervals=1


# AutoEnable defines option to enable all controllers when they are found.
# This includes adapters present on start as well as adapters that are plugged
# in later on. Defaults to 'false'.
AutoEnable=true

내 스크립트는 다음을 수행합니다.

echo "전원 켜기\n프록시 켜기\n기본 프록시\n$MAC_address 쌍\n$MAC_address 신뢰\n$MAC_address 연결\t\n종료" |블루투스 제어

너무 많은 것을 바꾸었기 때문에 무엇이 기억나지 않습니다.

내 시스템은

  • 운영 체제 - debian 10.3(x86-64)
  • 계피-3.8.8
  • 리눅스 커널 - 4.9.0-8amd64

"파란색"이라는 단어가 포함된 모든 것

  • blueman/stable, 이제 2.0.8-1 amd64
  • 블루투스/안정적, 안정적, 이제 5.50-1.2~deb10u1 모두
  • bluez-cups/stable, 이제 5.50-1.2~deb10u1 amd64
  • bluez-firmware/stable, stable, 이제 1.2-4 모두
  • bluez-hcidump/stable, 이제 5.50-1.2~deb10u1 amd64
  • bluez-obexd/stable, 이제 5.50-1.2~deb10u1 amd64
  • bluez-test-scripts/stable, stable, 이제 5.50-1.2~deb10u1 모두
  • bluez-test-tools/stable, 이제 5.50-1.2~deb10u1 amd64
  • bluez-tools/stable, 현재 2.0~20170911.0.7cb788c-2 amd64
  • bluez/stable, 이제 5.50-1.2~deb10u1 amd64
  • gir1.2-gnomebluetooth-1.0/stable 버전, 이제 3.28.2-4~deb10u1 amd64
  • gnome-bluetooth/stable, 이제 3.28.2-4~deb10u1 amd64
  • libbluetooth3/stable 버전, 이제 5.50-1.2~deb10u1 amd64
  • libgnome-bluetooth13/stable 버전, 이제 3.28.2-4~deb10u1 amd64
  • pulsaudio-module-bluetooth/buster-backports, 이제 13.0-3~bpo10+1 amd64
  • Pavucontrol-3.0-4 amd64

USB 어댑터

  • Cambridge Silicon Radio, Ltd Bluetooth 어댑터(HCI 모드)

발췌 통과

grep "파란색" /var/log/syslog

그러나 글자 수 제한으로 인해 아래에서 볼 수 있듯이 일부만 표시됩니다.

Feb 29 00:17:36 debian bluetoothd[937]: Endpoint unregistered: sender=:1.217 path=/MediaEndpoint/A2DPSink/sbc
Feb 29 00:17:36 debian bluetoothd[937]: Endpoint unregistered: sender=:1.217 path=/MediaEndpoint/A2DPSource/sbc
Feb 29 06:32:38 debian bluetoothd[939]: Bluetooth daemon 5.50
Feb 29 06:32:38 debian bluetoothd[939]: Unknown group A2DP in /etc/bluetooth/main.conf
Feb 29 06:32:38 debian bluetoothd[939]: Unknown key Disable for group General in /etc/bluetooth/main.conf
Feb 29 06:32:38 debian bluetoothd[939]: Unknown key AutoConnect for group General in /etc/bluetooth/main.conf
Feb 29 06:32:38 debian bluetoothd[939]: Unknown key Enable for group General in /etc/bluetooth/main.conf
Feb 29 06:32:38 debian bluetoothd[939]: Unknown key Disable for group General in /etc/bluetooth/main.conf
Feb 29 06:32:38 debian bluetoothd[939]: Unknown key HFP for group General in /etc/bluetooth/main.conf
Feb 29 06:32:38 debian bluetoothd[939]: Starting SDP server
Feb 29 06:32:38 debian bluetoothd[939]: Bluetooth management interface 1.14 initialized
Feb 29 06:32:38 debian bluetoothd[939]: Sap driver initialization failed.
Feb 29 06:32:38 debian bluetoothd[939]: sap-server: Operation not permitted (1)
Feb 29 06:32:39 debian NetworkManager[943]: <info>  [1582954359.9829] Loaded device plugin: NMBluezManager (/usr/lib/x86_64-linux-gnu/NetworkManager/1.14.6/libnm-device-plugin-bluetooth.so)
Feb 29 06:32:40 debian NetworkManager[943]: <info>  [1582954360.0086] bluez: use BlueZ version 5
Feb 29 06:32:40 debian NetworkManager[943]: <info>  [1582954360.0137] bluez5: NAP: added interface 00:0A:CD:32:33:60
Feb 29 06:33:55 debian bluetoothd[939]: Endpoint registered: sender=:1.199 path=/MediaEndpoint/A2DPSink/sbc
Feb 29 06:33:55 debian bluetoothd[939]: Endpoint registered: sender=:1.199 path=/MediaEndpoint/A2DPSource/sbc
Feb 29 06:33:59 debian dbus-daemon[1646]: [session uid=1000 pid=1646] Activating via systemd: service name='org.bluez.obex' unit='obex.service' requested by ':1.58' (uid=1000 pid=1929 comm="/usr/bin/python3 /usr/bin/blueman-applet ")
Feb 29 06:33:59 debian dbus-daemon[1646]: [session uid=1000 pid=1646] Successfully activated service 'org.bluez.obex'
Feb 29 06:34:00 debian cinnamon[1866]: JS LOG: [LookingGlass/info] Adding indicator: blueman
Feb 29 06:35:05 debian bluetoothd[939]: /org/bluez/hci0/dev_30_C0_1B_20_7F_04/fd0: fd(36) ready
Feb 29 06:35:21 debian bluetoothd[939]: Suspend: Connection timed out (110)
Feb 29 06:35:21 debian bluetoothd[939]: SUSPEND request rejected: Bad State (49)
Feb 29 06:36:05 debian bluetoothd[939]: /org/bluez/hci0/dev_30_C0_1B_20_7F_04/fd1: fd(36) ready
Feb 29 06:40:50 debian bluetoothd[939]: Unable to get io data for Headset Voice gateway: getpeername: Transport endpoint is not connected (107)
Feb 29 06:40:50 debian bluetoothd[939]: Endpoint unregistered: sender=:1.199 path=/MediaEndpoint/A2DPSink/sbc
Feb 29 06:40:50 debian bluetoothd[939]: Endpoint unregistered: sender=:1.199 path=/MediaEndpoint/A2DPSource/sbc
Feb 29 06:40:50 debian NetworkManager[943]: <info>  [1582954850.3318] bluez5: NAP: removed interface 00:0A:CD:32:33:60
Feb 29 06:40:50 debian /usr/lib/gdm3/gdm-x-session[1929]: /usr/lib/python3/dist-packages/blueman/plugins/applet/AppIndicator.py:8: PyGIWarning: AppIndicator3 was imported without specifying a version first. Use gi.require_version('AppIndicator3', '0.1') before import to ensure that the right version gets loaded.
Feb 29 06:40:50 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/PropertiesBlueZInterface.py", line 55, in wrapper
Feb 29 06:40:50 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/plugins/applet/GameControllerWakelock.py", line 36, in on_device_property_changed
Feb 29 06:40:50 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/main/Device.py", line 48, in __init__
Feb 29 06:40:50 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/errors.py", line 148, in warp
Feb 29 06:40:50 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/errors.py", line 146, in warp
Feb 29 06:40:50 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/PropertiesBlueZInterface.py", line 34, in get_properties
Feb 29 06:40:50 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/PropertiesBlueZInterface.py", line 55, in wrapper
Feb 29 06:40:50 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/plugins/applet/SerialManager.py", line 61, in on_device_property_changed
Feb 29 06:40:50 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/main/Device.py", line 48, in __init__
Feb 29 06:40:50 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/errors.py", line 148, in warp
Feb 29 06:40:50 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/errors.py", line 146, in warp
Feb 29 06:40:50 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/PropertiesBlueZInterface.py", line 34, in get_properties
Feb 29 06:40:51 debian bluetoothd[939]: Sap driver initialization failed.
Feb 29 06:40:51 debian bluetoothd[939]: sap-server: Operation not permitted (1)
Feb 29 06:40:51 debian NetworkManager[943]: <info>  [1582954851.4436] bluez5: NAP: added interface 00:0A:CD:32:33:60
Feb 29 06:40:51 debian bluetoothd[939]: Endpoint registered: sender=:1.199 path=/MediaEndpoint/A2DPSink/sbc
Feb 29 06:40:51 debian bluetoothd[939]: Endpoint registered: sender=:1.199 path=/MediaEndpoint/A2DPSource/sbc
Feb 29 06:40:53 debian bluetoothd[939]: /org/bluez/hci0/dev_30_C0_1B_20_7F_04/fd2: fd(37) ready
Feb 29 07:53:24 debian bluetoothd[939]: Unable to get io data for Headset Voice gateway: getpeername: Transport endpoint is not connected (107)
Feb 29 07:53:24 debian bluetoothd[939]: Endpoint unregistered: sender=:1.199 path=/MediaEndpoint/A2DPSink/sbc
Feb 29 07:53:24 debian bluetoothd[939]: Endpoint unregistered: sender=:1.199 path=/MediaEndpoint/A2DPSource/sbc
Feb 29 07:53:24 debian NetworkManager[943]: <info>  [1582959204.3603] bluez5: NAP: removed interface 00:0A:CD:32:33:60
Feb 29 07:53:24 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/PropertiesBlueZInterface.py", line 55, in wrapper
Feb 29 07:53:24 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/plugins/applet/GameControllerWakelock.py", line 36, in on_device_property_changed
Feb 29 07:53:24 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/main/Device.py", line 48, in __init__
Feb 29 07:53:24 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/errors.py", line 148, in warp
Feb 29 07:53:24 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/errors.py", line 146, in warp
Feb 29 07:53:24 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/PropertiesBlueZInterface.py", line 34, in get_properties
Feb 29 07:53:24 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/PropertiesBlueZInterface.py", line 55, in wrapper
Feb 29 07:53:24 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/plugins/applet/SerialManager.py", line 61, in on_device_property_changed
Feb 29 07:53:24 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/main/Device.py", line 48, in __init__
Feb 29 07:53:24 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/errors.py", line 148, in warp
Feb 29 07:53:24 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/errors.py", line 146, in warp
Feb 29 07:53:24 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/PropertiesBlueZInterface.py", line 34, in get_properties
Feb 29 07:53:25 debian bluetoothd[939]: Sap driver initialization failed.
Feb 29 07:53:25 debian bluetoothd[939]: sap-server: Operation not permitted (1)
Feb 29 07:53:25 debian NetworkManager[943]: <info>  [1582959205.4896] bluez5: NAP: added interface 00:0A:CD:32:33:60
Feb 29 07:53:25 debian bluetoothd[939]: Endpoint registered: sender=:1.199 path=/MediaEndpoint/A2DPSink/sbc
Feb 29 07:53:25 debian bluetoothd[939]: Endpoint registered: sender=:1.199 path=/MediaEndpoint/A2DPSource/sbc
Feb 29 07:53:32 debian bluetoothd[939]: /org/bluez/hci0/dev_30_C0_1B_20_7F_04/fd3: fd(37) ready
Feb 29 07:58:34 debian bluetoothd[939]: Unable to get io data for Headset Voice gateway: getpeername: Transport endpoint is not connected (107)
Feb 29 07:58:34 debian bluetoothd[939]: Endpoint unregistered: sender=:1.199 path=/MediaEndpoint/A2DPSink/sbc
Feb 29 07:58:34 debian bluetoothd[939]: Endpoint unregistered: sender=:1.199 path=/MediaEndpoint/A2DPSource/sbc
Feb 29 07:58:34 debian NetworkManager[943]: <info>  [1582959514.0113] bluez5: NAP: removed interface 00:0A:CD:32:33:60
Feb 29 07:58:34 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/main/PluginManager.py", line 212, in Run
Feb 29 07:58:34 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/plugins/applet/DiscvManager.py", line 92, in on_adapter_removed
Feb 29 07:58:34 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/PropertiesBlueZInterface.py", line 55, in wrapper
Feb 29 07:58:34 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/plugins/applet/GameControllerWakelock.py", line 36, in on_device_property_changed
Feb 29 07:58:34 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/main/Device.py", line 48, in __init__
Feb 29 07:58:34 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/errors.py", line 148, in warp
Feb 29 07:58:34 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/errors.py", line 146, in warp
Feb 29 07:58:34 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/PropertiesBlueZInterface.py", line 34, in get_properties
Feb 29 07:58:34 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/PropertiesBlueZInterface.py", line 55, in wrapper
Feb 29 07:58:34 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/plugins/applet/SerialManager.py", line 61, in on_device_property_changed
Feb 29 07:58:34 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/main/Device.py", line 48, in __init__
Feb 29 07:58:34 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/errors.py", line 148, in warp
Feb 29 07:58:34 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/errors.py", line 146, in warp
Feb 29 07:58:34 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/PropertiesBlueZInterface.py", line 34, in get_properties
Feb 29 07:58:35 debian bluetoothd[939]: Sap driver initialization failed.
Feb 29 07:58:35 debian bluetoothd[939]: sap-server: Operation not permitted (1)
Feb 29 07:58:35 debian NetworkManager[943]: <info>  [1582959515.1173] bluez5: NAP: added interface 00:0A:CD:32:33:60
Feb 29 07:58:35 debian bluetoothd[939]: Endpoint registered: sender=:1.199 path=/MediaEndpoint/A2DPSink/sbc
Feb 29 07:58:35 debian bluetoothd[939]: Endpoint registered: sender=:1.199 path=/MediaEndpoint/A2DPSource/sbc
Feb 29 07:58:55 debian bluetoothd[939]: /org/bluez/hci0/dev_30_C0_1B_20_7F_04/fd4: fd(37) ready
Feb 29 08:40:38 debian bluetoothd[939]: Unable to get io data for Headset Voice gateway: getpeername: Transport endpoint is not connected (107)
Feb 29 08:40:38 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/main/PluginManager.py", line 212, in Run
Feb 29 08:40:38 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/plugins/applet/DiscvManager.py", line 92, in on_adapter_removed
Feb 29 08:40:38 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/PropertiesBlueZInterface.py", line 55, in wrapper
Feb 29 08:40:38 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/plugins/applet/GameControllerWakelock.py", line 36, in on_device_property_changed
Feb 29 08:40:38 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/main/Device.py", line 48, in __init__
Feb 29 08:40:38 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/errors.py", line 148, in warp
Feb 29 08:40:38 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/errors.py", line 146, in warp
Feb 29 08:40:38 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/PropertiesBlueZInterface.py", line 34, in get_properties
Feb 29 08:40:39 debian bluetoothd[939]: Endpoint unregistered: sender=:1.199 path=/MediaEndpoint/A2DPSink/sbc
Feb 29 08:40:39 debian bluetoothd[939]: send: Software caused connection abort (103)
Feb 29 08:40:39 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/PropertiesBlueZInterface.py", line 55, in wrapper
Feb 29 08:40:39 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/plugins/applet/SerialManager.py", line 61, in on_device_property_changed
Feb 29 08:40:39 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/main/Device.py", line 48, in __init__
Feb 29 08:40:39 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/errors.py", line 148, in warp
Feb 29 08:40:39 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/errors.py", line 146, in warp
Feb 29 08:40:39 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/PropertiesBlueZInterface.py", line 34, in get_properties
Feb 29 08:40:39 debian bluetoothd[939]: Endpoint unregistered: sender=:1.199 path=/MediaEndpoint/A2DPSource/sbc
Feb 29 08:40:39 debian NetworkManager[943]: <info>  [1582962038.8883] bluez5: NAP: removed interface 00:0A:CD:32:33:60
Feb 29 08:40:40 debian bluetoothd[939]: Sap driver initialization failed.
Feb 29 08:40:40 debian bluetoothd[939]: sap-server: Operation not permitted (1)
Feb 29 08:40:40 debian NetworkManager[943]: <info>  [1582962040.0044] bluez5: NAP: added interface 00:0A:CD:32:33:60
Feb 29 08:40:40 debian bluetoothd[939]: Endpoint registered: sender=:1.199 path=/MediaEndpoint/A2DPSink/sbc
Feb 29 08:40:40 debian bluetoothd[939]: Endpoint registered: sender=:1.199 path=/MediaEndpoint/A2DPSource/sbc
Feb 29 08:41:03 debian bluetoothd[939]: /org/bluez/hci0/dev_30_C0_1B_20_7F_04/fd5: fd(36) ready
Feb 29 08:58:44 debian bluetoothd[939]: Unable to get io data for Headset Voice gateway: getpeername: Transport endpoint is not connected (107)
Feb 29 08:58:44 debian bluetoothd[939]: Endpoint unregistered: sender=:1.199 path=/MediaEndpoint/A2DPSink/sbc
Feb 29 08:58:44 debian bluetoothd[939]: Endpoint unregistered: sender=:1.199 path=/MediaEndpoint/A2DPSource/sbc
Feb 29 08:58:44 debian NetworkManager[943]: <info>  [1582963124.2621] bluez5: NAP: removed interface 00:0A:CD:32:33:60
Feb 29 08:58:44 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/main/PluginManager.py", line 212, in Run
Feb 29 08:58:44 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/plugins/applet/DiscvManager.py", line 92, in on_adapter_removed
Feb 29 08:58:44 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/PropertiesBlueZInterface.py", line 55, in wrapper
Feb 29 08:58:44 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/plugins/applet/GameControllerWakelock.py", line 36, in on_device_property_changed
Feb 29 08:58:44 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/main/Device.py", line 48, in __init__
Feb 29 08:58:44 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/errors.py", line 148, in warp
Feb 29 08:58:44 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/errors.py", line 146, in warp
Feb 29 08:58:44 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/PropertiesBlueZInterface.py", line 34, in get_properties
Feb 29 08:58:44 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/PropertiesBlueZInterface.py", line 55, in wrapper
Feb 29 08:58:44 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/plugins/applet/SerialManager.py", line 61, in on_device_property_changed
Feb 29 08:58:44 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/main/Device.py", line 48, in __init__
Feb 29 08:58:44 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/errors.py", line 148, in warp
Feb 29 08:58:44 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/errors.py", line 146, in warp
Feb 29 08:58:44 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/PropertiesBlueZInterface.py", line 34, in get_properties
Feb 29 08:58:45 debian bluetoothd[939]: Sap driver initialization failed.
Feb 29 08:58:45 debian bluetoothd[939]: sap-server: Operation not permitted (1)
Feb 29 08:58:45 debian NetworkManager[943]: <info>  [1582963125.3800] bluez5: NAP: added interface 00:0A:CD:32:33:60
Feb 29 08:58:45 debian bluetoothd[939]: Endpoint registered: sender=:1.199 path=/MediaEndpoint/A2DPSink/sbc
Feb 29 08:58:45 debian bluetoothd[939]: Endpoint registered: sender=:1.199 path=/MediaEndpoint/A2DPSource/sbc
Feb 29 08:59:16 debian bluetoothd[939]: /org/bluez/hci0/dev_30_C0_1B_20_7F_04/fd6: fd(36) ready
Feb 29 08:59:43 debian bluetoothd[939]: Unable to get io data for Headset Voice gateway: getpeername: Transport endpoint is not connected (107)
Feb 29 08:59:43 debian bluetoothd[939]: Endpoint unregistered: sender=:1.199 path=/MediaEndpoint/A2DPSink/sbc
Feb 29 08:59:43 debian bluetoothd[939]: Endpoint unregistered: sender=:1.199 path=/MediaEndpoint/A2DPSource/sbc
Feb 29 08:59:43 debian NetworkManager[943]: <info>  [1582963183.6143] bluez5: NAP: removed interface 00:0A:CD:32:33:60
Feb 29 08:59:43 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/main/PluginManager.py", line 212, in Run
Feb 29 08:59:43 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/plugins/applet/DiscvManager.py", line 92, in on_adapter_removed
Feb 29 08:59:43 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/PropertiesBlueZInterface.py", line 55, in wrapper
Feb 29 08:59:43 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/plugins/applet/GameControllerWakelock.py", line 36, in on_device_property_changed
Feb 29 08:59:43 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/main/Device.py", line 48, in __init__
Feb 29 08:59:43 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/errors.py", line 148, in warp
Feb 29 08:59:43 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/errors.py", line 146, in warp
Feb 29 08:59:43 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/PropertiesBlueZInterface.py", line 34, in get_properties
Feb 29 08:59:43 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/PropertiesBlueZInterface.py", line 55, in wrapper
Feb 29 08:59:43 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/plugins/applet/SerialManager.py", line 61, in on_device_property_changed
Feb 29 08:59:43 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/main/Device.py", line 48, in __init__
Feb 29 08:59:43 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/errors.py", line 148, in warp
Feb 29 08:59:43 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/errors.py", line 146, in warp
Feb 29 08:59:43 debian /usr/lib/gdm3/gdm-x-session[1929]:   File "/usr/lib/python3/dist-packages/blueman/bluez/PropertiesBlueZInterface.py", line 34, in get_properties

도움을 주셔서 감사합니다.

안녕히 가세요,

미샤

답변1

다른 Bluetooth 어댑터를 사용하여 문제가 해결되었습니다. Avantree의 "Priva III"를 사용하면 다시는 연결이 끊어지지 않습니다. 플러그인 후에는 작동했습니다.

관련 정보