You are not logged in.

#1 2025-01-10 12:06:11

Risse
Member
Registered: 2019-05-17
Posts: 8

Wrong balance in headphones when plugging in and out

I have a laptop with a headphone jack, and when I keep plugging the cable in and out, it (almost always?) sets one of the channels to 8%, and leaves the other one to the original value.

I used pavucontrol to "lock" the channels, but this seems to have no effect.

I have removed the whole

~/.config/pulse

folder and restarted the machine, but the problem is still there.

Trying to demonstrate the problem:

[risse@thinkpad ~]$ pactl -- set-sink-volume @DEFAULT_SINK@ 50%
[risse@thinkpad ~]$ pactl list sinks | grep "Volume\|balance"
	Volume: front-left: 32768 /  50% / -18,06 dB,   front-right: 32768 /  50% / -18,06 dB
	       balance 0,00
	Base Volume: 65536 / 100% / 0,00 dB
** YANK THE HEADPHONES OUT, PUT BACK IN **
[risse@thinkpad ~]$ pactl list sinks | grep "Volume\|balance"
	Volume: front-left: 32768 /  50% / -18,06 dB,   front-right: 32768 /  50% / -18,06 dB
	       balance 0,00
	Base Volume: 65536 / 100% / 0,00 dB
** YANK THE HEADPHONES OUT, PUT BACK IN **
[risse@thinkpad ~]$ pactl list sinks | grep "Volume\|balance"
	Volume: front-left: 32846 /  50% / -18,00 dB,   front-right: 5358 /   8% / -65,25 dB
	       balance -0,84
	Base Volume: 65536 / 100% / 0,00 dB

I pressed nothing between the commands, just yanking the cable in and out of the headphones socket.

Offline

Board footer

Powered by FluxBB