How to Enable or Disable headphone jack detection in linux
This is how you can Enable or Disable automatic headphone jack detection in linux.
***Press F6 ***to change the default sound card. Change it from Default to HDA Intel PCH
Then press the right arrow and left arrow keys to navigate. Find Auto-Mute which most probably will read Auto-Mut if you are not using the terminal in full screen mode. Press the Up arrow key to change the value of Auto-Mute from Enabled to Disabled. This will disable all kinds of jack detection. If you want the functionality back then simply enable it.
Auto-Mute Enabled = Jack Detection On Auto-Mute Disabled = Jack Detection Off