[Bug 1876056] Re: No automatic switch to headset microphone on connect

2021-06-20 Thread Daniel van Vugt
Suggestions for PulseAudio developers should be made as new issues at:
https://gitlab.freedesktop.org/groups/pulseaudio/-/issues

-- 
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

[Bug 1876056] Re: No automatic switch to headset microphone on connect

2021-06-13 Thread Egbert van der Wal
@rcassini - that is what the modification I suggested also does.

To get back towards Pulsaaudio though, I did pay more attention to
differen platforms. It occured to my that Mac OS also isn't capable of
detecting what type of jack is plugged in, but still manages to make a
decent automatic choice.

I noticed that:

- When I plug in headphones, it uses the internal mic -> OK
- When I plug a simple headset, it switches to headset mic -> OK
- When I plug in a more advanced headset with mute control that is unmuted, it 
still switches to headset mic -> OK
- When I plug in this same headset with the mic muted, it remains on internal 
mic -> questionable, but makes sense. When I then unmute, it still switches to 
headset mic.

So it seems to actually poll the wires for a signal, and if any input
that looks like a mic is coming through, it switches. So when it's
muted, no signal comes through and it assumes it's a headset.

Simple and clever, and usually what you want. The main drawback is that
this may lead to a situation where you think you're muted but you're
actually not muted because it uses the internal mic which isn't muted.

Still, something that I'd like to see implemented in Pulseaudio as well!

-- 
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

[Bug 1876056] Re: No automatic switch to headset microphone on connect

2021-06-12 Thread Raymundo Cassani
@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-_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

[Bug 1876056] Re: No automatic switch to headset microphone on connect

2020-05-01 Thread Sebastien Bacher
Thank, if you are not using GNOME that explains you are not seeing the
UI. I suggest you report a bug against KDE but I don't know what's the
right component there. Also closing that one rather than reassigning
because a cleaner state report is probably going to be easier to read
and understand

** Changed in: pulseaudio (Ubuntu)
   Status: New => Invalid

-- 
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

[Bug 1876056] Re: No automatic switch to headset microphone on connect

2020-04-30 Thread Egbert van der Wal
No, that seems to be an actual regression. The thing I'm reporting turns
out to be an intentional configuration issue related to limitations of
the hardware / jack detection.

-- 
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

[Bug 1876056] Re: No automatic switch to headset microphone on connect

2020-04-30 Thread Hui Wang
Please take a look at #1876065, maybe they have the same rootcause. But
you mentioned pulseaudio 1:13.0-1ubuntu1.1, so I didn't duplicate your
bug to that one.

-- 
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

[Bug 1876056] Re: No automatic switch to headset microphone on connect

2020-04-30 Thread Egbert van der Wal
@seb128 yes you are right. The explanation there makes a lot of sense -
after some experimentation I found that the headset mic becomes
available no matter whether I plugin a headphones or a headset, so it
doesn't actually detect the presence of a microphone, it just happens
that something is plugged in.

However, that issue also mentions:

> Ubuntu solves this by popping up a GUI that asks what you plugged in.

This seems like a sane thing to do in this situation. As I'm using
Kubuntu and not Ubuntu, where should this feature be requested?

For the time being, I added the two suggested sections to
/usr/share/pulseaudio/alsa-mixer/paths/analog-input-internal-mic.conf

[Jack Headphone Mic]
state.plugged = no
state.unplugged = unknown

[Jack Headset Mic]
state.plugged = no
state.unplugged = unknown

This works beautifully. But now, indeed, when I plug in a regular
headset without a microphone it will still switch making me effectively
muted.

-- 
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

[Bug 1876056] Re: No automatic switch to headset microphone on connect

2020-04-30 Thread Sebastien Bacher
Could be the same as
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/194

-- 
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

[Bug 1876056] Re: No automatic switch to headset microphone on connect

2020-04-30 Thread Sebastien Bacher
Thank you for your bug report, could you report it upstream on
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/ ?

** Changed in: pulseaudio (Ubuntu)
   Importance: Undecided => Low

** Bug watch added: gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues #194
   https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/194

-- 
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

[Bug 1876056] Re: No automatic switch to headset microphone on connect

2020-04-30 Thread Daniel van Vugt
** Tags added: eoan

-- 
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