On Tue, 2012-04-17 at 17:34 +0200, David Henningsson wrote: > 2012-04-17 16:48, Mark Brown skrev: > > On Tue, Apr 17, 2012 at 04:29:01PM +0200, David Henningsson wrote: > >> For desktops / HDA, we only have single-direction ports so far, and > >> I don't see that changing in the foreseeable future, so not much to > >> worry about there. > > > > This is definitely *not* true - as I have repeatedly pointed out all the > > Apple hardware has headset jacks that are compatible with the iDevice > > headsets. See the recent thread from Kevin Hillman on alsa-devel... > > I know that there is plenty of Apple (and Lenovo etc) hardware that have > 4-pin headset jacks. I also know that for all such hardware that I've > seen, the input and output paths are separated at the codec level - the > mic pin node and the headphone pin node is separate, and they have > separate jack detection. There is no way we can figure out, from > reading/parsing the codec configuration, whether this is a 4-pin jack or > this is one separate headphone jack and one mic jack physically. > > Therefore, the 4-pin jacks show up as two different ports, one for > headphone and one for mic. They are both single-direction ports, and > thus, my original statement is true. Regardless whether the physical jack shows up as one or two jacks in alsa, does this really have anything to do with ports in Pulseaudio? IMO, if a physical jack is used for both input and output, it should be linked to two ports (or more - the physical jack in N9, for example, is associated with at least 4, and probably more, ports in Pulseaudio). -- Tanu