I have a dodgy jack at the front of my computer. I decided to use the one that connects directly to the motherboard at the back. The problem is that from time to time the unplugged jack at the front detects that headphones have been plugged in.
What I tried to do is disable automatic switching in default.pa, which does work as intended. The problem is when the front jack erroneously detect that something is plugged in it disables the motherboard jack.
The front jack does work if you apply pressure on it. I tested the situation with two set of headphones. Indeed, when you use the back jack you get a line out device. But if, keeping the back jack in use, you plug in something in the front jack line out disappears and is replaced with headphones. This is what is happening when you leave the front jack unplugged. It erroneously detects headphones, and disables line out for a split second. Then it removes headphones, leaving me with no sound. I need to manually select line out.
I see two solutions to the problem: have both jacks enabled at the same time; disable the front jack all together. Any ideas how to do any of those things?