약 한 달 전까지만 해도 이는 문제가 되지 않았습니다. 이제 블루투스 스피커에 연결할 때마다 일반적으로 유휴 상태일 때 약 3분 후에 연결이 끊어지지만 때로는 그렇지 않을 때도 있습니다. 연결이 끊어진 동안 Journalctl의 출력은 다음과 같습니다.
May 17 15:06:20 archweaponevo kernel: usb 1-1.4: USB disconnect, device number 91
May 17 15:06:20 archweaponevo dbus-daemon[371]: [system] Rejected send message, 0 matched rules; type="method_return", sender=":1.25" (uid=1000 pid=635 comm="/usr/bin/pulseaudio --daemonize=no --log-target=jo") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.3" (uid=0 pid=390 comm="/usr/lib/bluetooth/bluetoothd ")
May 17 15:06:20 archweaponevo bluetoothd[390]: Endpoint unregistered: sender=:1.25 path=/MediaEndpoint/A2DPSink/sbc
May 17 15:06:20 archweaponevo bluetoothd[390]: Endpoint unregistered: sender=:1.25 path=/MediaEndpoint/A2DPSource/sbc
May 17 15:06:20 archweaponevo systemd[1]: Starting Load/Save RF Kill Switch Status...
May 17 15:06:20 archweaponevo NetworkManager[372]: <info> [1621281980.8775] device (A0:10:81:38:A2:7D): state change: disconnected -> unmanaged (reason 'removed', sys-iface-state: 'removed')
May 17 15:06:20 archweaponevo systemd[483]: Stopped target Bluetooth.
May 17 15:06:20 archweaponevo systemd[1]: Stopped target Bluetooth.
May 17 15:06:20 archweaponevo systemd[1]: Started Load/Save RF Kill Switch Status.
May 17 15:06:20 archweaponevo audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 17 15:06:20 archweaponevo kernel: audit: type=1130 audit(1621281980.880:3435): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 17 15:06:20 archweaponevo kernel: usb 1-1.4: new full-speed USB device number 92 using ehci-pci
May 17 15:06:21 archweaponevo kernel: usb 1-1.4: New USB device found, idVendor=0a5c, idProduct=21e6, bcdDevice= 1.12
May 17 15:06:21 archweaponevo kernel: usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
May 17 15:06:21 archweaponevo kernel: usb 1-1.4: Product: BCM20702A0
May 17 15:06:21 archweaponevo kernel: usb 1-1.4: Manufacturer: Broadcom Corp
May 17 15:06:21 archweaponevo kernel: usb 1-1.4: SerialNumber: F4B7E2CCD8D1
May 17 15:06:21 archweaponevo upowerd[650]: treating change event as add on /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4
May 17 15:06:21 archweaponevo systemd[483]: Reached target Bluetooth.
May 17 15:06:21 archweaponevo systemd[1]: Reached target Bluetooth.
May 17 15:06:21 archweaponevo kernel: Bluetooth: hci0: BCM: chip id 63
May 17 15:06:21 archweaponevo kernel: Bluetooth: hci0: BCM: features 0x07
May 17 15:06:21 archweaponevo kernel: Bluetooth: hci0: archweaponevo
May 17 15:06:21 archweaponevo kernel: Bluetooth: hci0: BCM20702A1 (001.002.014) build 0000
May 17 15:06:21 archweaponevo kernel: Bluetooth: hci0: BCM: firmware Patch file not found, tried:
May 17 15:06:21 archweaponevo kernel: Bluetooth: hci0: BCM: 'brcm/BCM20702A1-0a5c-21e6.hcd'
May 17 15:06:21 archweaponevo kernel: Bluetooth: hci0: BCM: 'brcm/BCM-0a5c-21e6.hcd'
May 17 15:06:21 archweaponevo bluetoothd[390]: Endpoint registered: sender=:1.25 path=/MediaEndpoint/A2DPSink/sbc
May 17 15:06:21 archweaponevo bluetoothd[390]: Endpoint registered: sender=:1.25 path=/MediaEndpoint/A2DPSource/sbc
May 17 15:06:21 archweaponevo NetworkManager[372]: <info> [1621281981.8185] manager: (A0:10:81:38:A2:7D): new Bluetooth device (/org/freedesktop/NetworkManager/Devices/91)
May 17 15:06:21 archweaponevo NetworkManager[372]: <info> [1621281981.8192] device (A0:10:81:38:A2:7D): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
May 17 15:06:21 archweaponevo NetworkManager[372]: <info> [1621281981.8219] device (A0:10:81:38:A2:7D): state change: unavailable -> disconnected (reason 'none', sys-iface-state: 'managed')
May 17 15:06:26 archweaponevo systemd[1]: systemd-rfkill.service: Deactivated successfully.
May 17 15:06:26 archweaponevo audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 17 15:06:26 archweaponevo kernel: audit: type=1131 audit(1621281986.064:3436): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
"USB 장치 BCM20702A0 [Broadcom Corp] 자동 일시 중단"을 전환하여 Powertop을 사용하여 문제를 일시적으로 해결할 수 있었습니다.
실행 중 cat /sys/bus/usb/devices/1-1.4/power/control
변경 사항이 확인되었으며 Bluetooth가 계속 연결되어 있는 것 같습니다. 하지만 다시 시작하면 재설정됩니다.
다음과 같은 udev 규칙을 추가해 보았습니다.
/etc/udev/rules.d/usb-power.rules:
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="0a5c", ATTR{idProduct}=="21e6", TEST=="power/control", ATTR{power/control}="on"
그러나 이것은 효과가 없습니다.