@eggie, I have the same issue, your approach to address it works as well
for me, thanks for pointing in the good direction ;) However, I found
unacceptable the fact of no mic input if headphones are plugged. As such
I found an alternative, making the headset port always available and the
default, even if not plugged. Thus when headphones/headset connected the
port is to Headset mic, but I can still change to Internal mic. With
unplugged headphone/headset the same, port is to Headset mic, but I can
still change to Internal mic.

1. In /usr/share/pulseaudio/alsa-mixer/paths/analog-input-headset-
mic.conf change all the 'state.plugged' and 'state.unplugged' to 'yes'.

2. Locate the name of the Source and desired Port with:
$ pacmd list-sources

3. Edit /etc/pulse/default.pa to set the default Source and Port, add
the line 'set-source-port SourceName PortName' in my case it was 'set-
source-port alsa_input.pci-0000_00_1f.3.analog-stereo analog-input-
headset-mic'

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1876056

Title:
  No automatic switch to headset microphone on connect

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1876056/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to