Pulseaudio detects plugged headphones as unplugged

My pulseaudio are showing that my headphones are unplugged but when i choose the “unplugged” headphones they work just fine. Usually this wouldn’t be a issue but a lot of apps also don’t detect my headphones because of pulse audio, also when i plug another audio output the pulse audio choose it automatically and i can’t change it.

Try with pipewire. It’s a new replacement for pulseaudio and works better normally. sudo pacman -S pipewire pipewire-pulse and then reboot your pc

2 Likes

I had issues with pulseaudio. Unless you are running something that depends on pulse, why not give Pipewire a try? https://wiki.archlinux.org/title/PipeWire

–Michael

1 Like

I did this but i still have the same problem, the only profile that works is the “Analog stereo duplex” and it still detects the headphones as disconnected.

My installation was as follows:

sudo pacman -S pipewire pipewire-alsa pipewire-jack pipewire-pulse
You will notice there are two additional packages “pipewire-alsa and pipewire-jack” Maybe that will solve your headphone jac switchng issue.

Check server is running with

pactl info

Here are my results after installing the above:

Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 80
Tile Size: 65472
User Name: michael
Host Name: eos22
Server Name: PulseAudio (on PipeWire 0.3.47)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_00_1b.0.analog-stereo
Default Source: alsa_input.pci-0000_00_1b.0.analog-stereo
Cookie: fd87:a9eb

It works for me.

–Michael

2 Likes