You are not logged in.

#1 2021-12-04 08:36:00

Registered: 2016-06-21
Posts: 17

[Solved] Pipewire Bluetooth Headphone Automatic Switch Output Device

Hello, when i connected my bluetooth headphone, the output device is not switch as bluetooth device. I need to switch it manually.

1) Connected to the bluetooth headphone.

# connect 38:18:4C:B0:52:D9 
Attempting to connect to 38:18:4C:B0:52:D9
[CHG] Device 38:18:4C:B0:52:D9 Connected: yes
Connection successful
[CHG] Device 38:18:4C:B0:52:D9 ServicesResolved: yes

2) Output device is still the speaker. I tried to change priority but it did not effect anything.

$ pactl list sinks |& grep -E "Sink|Ports|analog-ou"
Sink #45
		media.class = "Audio/Sink"
		analog-output-speaker: Speakers (type: Speaker, priority: 9000, availability group: Legacy 3, availability unknown)
		analog-output-headphones: Headphones (type: Headphones, priority: 9900, availability group: Legacy 2, not available)
	Active Port: analog-output-speaker
Sink #55
		media.class = "Audio/Sink"

Solution: add

pactl load-module module-switch-on-connect

as startup command.

Last edited by emin (2022-02-20 09:47:16)


Board footer

Powered by FluxBB