AutoConnect plugin fills journal and dmesg with misleading "errors" and other relevant logs. Can it be made an opt-in per device?
I just spent a litte time tonight trying to figure out why my dmesg is always filled with thousands of entries saying:
Bluetooth: hci0: Invalid exception type 03
Bluetooth: hci0: Invalid exception type 04
And my journalctl filled with thousands of entries saying things like:
src/profile.c:record_cb() Unable to get Hands-Free Voice gateway SDP record: Host is down
<...>
Bluetooth: hci0: Invalid exception type 03 # This is just the kernel message again
Bluetooth: hci0: Invalid exception type 04 # This is just the kernel message again
<...>
bluetoothd[2389]: No matching connection for device
<...>
bluetoothd[2389]: src/profile.c:record_cb() Unable to get Hands-Free Voice gateway SDP record: Host is down
kernel: Bluetooth: hci0: Invalid exception type 03
<...>
bluetoothd[2389]: Endpoint unregistered: sender=:1.2504 path=/MediaEndpoint/A2DPSource/ldac
bluetoothd[2389]: Endpoint unregistered: sender=:1.2504 path=/MediaEndpoint/A2DPSink/aptx_hd
bluetoothd[2389]: Endpoint unregistered: sender=:1.2504 path=/MediaEndpoint/A2DPSource/aptx_hd
bluetoothd[2389]: Endpoint unregistered: sender=:1.2504 path=/MediaEndpoint/A2DPSink/aptx
bluetoothd[2389]: Endpoint unregistered: sender=:1.2504 path=/MediaEndpoint/A2DPSource/aptx
bluetoothd[2389]: Endpoint unregistered: sender=:1.2504 path=/MediaEndpoint/A2DPSink/aac
bluetoothd[2389]: Endpoint unregistered: sender=:1.2504 path=/MediaEndpoint/A2DPSource/aac
bluetoothd[2389]: Endpoint unregistered: sender=:1.2504 path=/MediaEndpoint/A2DPSink/opus_g
bluetoothd[2389]: Endpoint unregistered: sender=:1.2504 path=/MediaEndpoint/A2DPSource/opus_g
bluetoothd[2389]: Endpoint unregistered: sender=:1.2504 path=/MediaEndpoint/A2DPSink/sbc
bluetoothd[2389]: Endpoint unregistered: sender=:1.2504 path=/MediaEndpoint/A2DPSource/sbc
bluetoothd[2389]: Endpoint unregistered: sender=:1.2504 path=/MediaEndpoint/A2DPSource/aptx_ll_1
bluetoothd[2389]: Endpoint unregistered: sender=:1.2504 path=/MediaEndpoint/A2DPSource/aptx_ll_0
bluetoothd[2389]: Endpoint unregistered: sender=:1.2504 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_1
bluetoothd[2389]: Endpoint unregistered: sender=:1.2504 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_0
bluetoothd[2389]: Endpoint unregistered: sender=:1.2504 path=/MediaEndpoint/A2DPSource/faststream
bluetoothd[2389]: Endpoint unregistered: sender=:1.2504 path=/MediaEndpoint/A2DPSource/faststream_duplex
bluetoothd[2389]: Endpoint unregistered: sender=:1.2504 path=/MediaEndpoint/A2DPSink/opus_05
bluetoothd[2389]: Endpoint unregistered: sender=:1.2504 path=/MediaEndpoint/A2DPSource/opus_05
bluetoothd[2389]: Endpoint unregistered: sender=:1.2504 path=/MediaEndpoint/A2DPSink/opus_05_duplex
bluetoothd[2389]: Endpoint unregistered: sender=:1.2504 path=/MediaEndpoint/A2DPSource/opus_05_duplex
bluetoothd[2389]: Endpoint registered: sender=:1.2512 path=/MediaEndpoint/A2DPSource/ldac
bluetoothd[2389]: Endpoint registered: sender=:1.2512 path=/MediaEndpoint/A2DPSink/aptx_hd
bluetoothd[2389]: Endpoint registered: sender=:1.2512 path=/MediaEndpoint/A2DPSource/aptx_hd
bluetoothd[2389]: Endpoint registered: sender=:1.2512 path=/MediaEndpoint/A2DPSink/aptx
bluetoothd[2389]: Endpoint registered: sender=:1.2512 path=/MediaEndpoint/A2DPSource/aptx
bluetoothd[2389]: Endpoint registered: sender=:1.2512 path=/MediaEndpoint/A2DPSink/aac
bluetoothd[2389]: Endpoint registered: sender=:1.2512 path=/MediaEndpoint/A2DPSource/aac
bluetoothd[2389]: Endpoint registered: sender=:1.2512 path=/MediaEndpoint/A2DPSink/opus_g
bluetoothd[2389]: Endpoint registered: sender=:1.2512 path=/MediaEndpoint/A2DPSource/opus_g
bluetoothd[2389]: Endpoint registered: sender=:1.2512 path=/MediaEndpoint/A2DPSink/sbc
bluetoothd[2389]: Endpoint registered: sender=:1.2512 path=/MediaEndpoint/A2DPSource/sbc
bluetoothd[2389]: Endpoint registered: sender=:1.2512 path=/MediaEndpoint/A2DPSource/aptx_ll_1
bluetoothd[2389]: Endpoint registered: sender=:1.2512 path=/MediaEndpoint/A2DPSource/aptx_ll_0
bluetoothd[2389]: Endpoint registered: sender=:1.2512 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_1
bluetoothd[2389]: Endpoint registered: sender=:1.2512 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_0
bluetoothd[2389]: Endpoint registered: sender=:1.2512 path=/MediaEndpoint/A2DPSource/faststream
bluetoothd[2389]: Endpoint registered: sender=:1.2512 path=/MediaEndpoint/A2DPSource/faststream_duplex
bluetoothd[2389]: Endpoint registered: sender=:1.2512 path=/MediaEndpoint/A2DPSink/opus_05
bluetoothd[2389]: Endpoint registered: sender=:1.2512 path=/MediaEndpoint/A2DPSource/opus_05
bluetoothd[2389]: Endpoint registered: sender=:1.2512 path=/MediaEndpoint/A2DPSink/opus_05_duplex
bluetoothd[2389]: Endpoint registered: sender=:1.2512 path=/MediaEndpoint/A2DPSource/opus_05_duplex
It turns out nothing is wrong at all and that when blueman's applet starts up on graphical login the AutoConnect plugin is enabled by default and immediately starts attempting to connect to things. Untrusting didn't stop this. Would it be possible to make AutoConnect an opt-in per device instead of doing it by default filling up logging facilities with 'error' logs?
First off: The Invalid exception type messages are a driver/firmware bug. They obviously should not appear.
AutoConnect is opt-in per device. You can enable (and disable) it explicitly for a connected device. You can check your setting e.g. with
gsettings get org.blueman.plugins.autoconnect services