You are not logged in.
Hi,
I have a system with a faulty rear audio jack that no longer detects when the cable from my headset is plugged in, though it works perfectly otherwise.
The same cable/headset is detected correctly when I use the front audio jack. However I would like to keep using the rear jack, but since the cable is not detected by the jack, pipewire (or wireplumber?) does not switch to it automatically and defaults to the front jack when none of them detects any devices.
Can anyone tell me how to force the use of the rear audio input by default in pipewire/wireplumber?
Thank you.
Offline
Run a script/command during pipewire startup that forces the port switch with pactl: E.g. look at the drop-in/context execution for https://wiki.archlinux.org/title/PipeWi … he_network and run the appropriate port switch command.
Mod note: not networking, moving to Multimedia and Games
Last edited by V1del (2023-04-13 20:27:07)
Offline
Thank you for the hint, I managed to change the port using the below command:
pactl set-source-port 102 analog-input-rear-mic
However, there seems to be something else that uses the device detection functionality.
Some application do not detect a microphone at all unless it also gets detected as plugged in.
I have no idea why that is but setting the source port manually does not help with these applications, wire-desktop is one example that wont detect the microphone when there is no automatic detection.
Perhaps anyone still knows a solution to this.
Last edited by freebird (2023-04-14 20:18:51)
Offline
While I have not found any complete solution to solving this issue in software, I did manage to fix the issue mechanically.
For those interested in the mechanical solution:
The jack sockets have a mechanical switch at their end that detects if a plug is present. However that switch is quite prone to mechanical failure.
I managed to fix this in my case by soldering a thin layer of tin on top of the plug, so it extends for maybe 0.2 mm
Last edited by freebird (2023-04-15 11:44:03)
Offline