On Mon, Mar 23, 2015 at 04:09:33PM +0100, Takashi Iwai wrote:
Right, but it's a bit irrelevant. We do want to have a common core code, indeed. However, as David suggested, the latest patchset still doesn't care about "phantom" jack that is a mandatory feature. HD-audio create kctl items even for fixed pins without jack detection. This is needed for having consistent pin mapping.
OK, right - phantom jacks aren't something I was aware of.
Now the question is whether we need representing the same item for input jack, even though it's nothing but a place holder. If we want to have consistency between input and kctl jack items, then yes. OTOH, we might want to drop buttons from kctls in anyway, so such a consistency has no importance. Then we may just ignore phantom jacks for input jacks but create only phatom jack kctls, too, either by adding a new flag to indicate that, or let type=0 behaving like that.
I'm not sure I see the relevancy of buttons here?