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?
Yeah, on the same laptop, even both on the front. The designer must have smoked, or just looked for a partner sitting at next to listen to music together :)
http://en.community.dell.com/support-forums/laptop/f/3517/t/19440542
One of the headphone jack is actually headphone/SPDIF combo jack
and the two headphone jacks and mic jack can support surround 5.1