bluez: disable auto-connect by default

P V requested to merge pvir/wireplumber:bluez-autoconnect into master


It makes PW to try connect to all locally known BT audio devices on start, which is in general not a good thing to do.

Some BT adapters are not capable of simultaneous audio streaming and scanning for connections (e.g Raspberry Pi builtin BT, probably more), so audio stutters until adapter/kernel give up trying to connect to devices that cannot be reached.

Disabling it makes devices to not reconnect on user VT switch, but also that we should only do for devices that were connected when logind switched.

See pipewire#3294 (closed)

Merge request reports