[alsa-devel] Separate input and output jacks for one UCM device?

Mark Brown broonie at kernel.org
Thu Mar 19 16:18:51 CET 2015


On Thu, Mar 19, 2015 at 03:51:06PM +0100, Takashi Iwai wrote:
> Mark Brown wrote:

> > The theory is that this is handled by the fact that the userspace ABI
> > includes a reference to the struct device and therefore a chain showing
> > where the thing is attached; anything registering two different jacks
> > with the same name attached to the same device probably qualifies as
> > broken.

> So this implicitly assumes the name uniqueness.  For HD-audio, this
> was a problem because we need to generate jack names dynamically; for
> example, there are laptops with two headphones, and we assigned
> indices in such a case.

That's on the same card, though?  I'd expect a device creating two input
jacks to do the same (putting the number in the name, or some other
identifer like "front" and "back").
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20150319/15f64861/attachment-0001.sig>


More information about the Alsa-devel mailing list