[alsa-devel] First test of the hda-jack branch

David Henningsson david.henningsson at canonical.com
Wed Nov 16 11:07:38 CET 2011


On 11/16/2011 10:50 AM, Raymond Yau wrote:
> 2011/11/15 David Henningsson<david.henningsson at canonical.com>:
>> On 11/14/2011 05:24 PM, Jaroslav Kysela wrote:
>>> Date 14.11.2011 10:32, Takashi Iwai wrote:
>>>> At Fri, 11 Nov 2011 21:08:47 +0100,
>>>> David Henningsson wrote:
>>>>>
>>>>> In addition, I have a question about the second machine, which looks
>>>>> like this:
>>>>>
>>>>> numid=45,iface=CARD,name='Front Headphone Jack'
>>>>> numid=47,iface=CARD,name='Front Mic Jack'
>>>>> numid=48,iface=CARD,name='Line Jack'
>>>>> numid=41,iface=CARD,name='Line-Out Jack'
>>>>> numid=42,iface=CARD,name='Line-Out Jack',index=1
>>>>> numid=43,iface=CARD,name='Line-Out Jack',index=2
>>>>> numid=44,iface=CARD,name='Line-Out Jack',index=3
>>>>> numid=46,iface=CARD,name='Rear Mic Jack'
>>>>>
>>>>> Would it be possible to name the Line-Out Jacks "Front Line-Out",
>>>>> "Surround Line-Out" etc, so one can tell which one is which? Or can you
>>>>> always tell that just from the order of them?
>>>>
>>>> I can assign more intuitive names for the output, certainly.
>>>> I'll consider the implementation.
>
> How about those dell xps notebooks which have dual headphone jacks ?

We'll have to find a good naming convention for them as well, IMO.

>>> Perhaps, the jacks should be described (control name) using physical
>>> parameters (location, color, connector type). Many codecs support both
>>> directions and I saw some bug-reports that ALSA cannot reassign the
>>> direction of jacks -
>>
>> We can essentially do that in snd-hda-intel with the reconfiguration
>> feature. That will also recreate the jacks with the new name. This seems
>> to be a reasonable way forward IMO.
>
> can you describe more detail about the reconfiguration since I try to
> solve the problem of asus M2N ad1988 with 3 audio jacks(green, blue
> and pink at rear panel) by the auto model instead of "3stack" model?

The reconfiguration is described here: 
http://www.kernel.org/doc/Documentation/sound/alsa/HD-Audio.txt under 
the section "HD-Audio reconfiguration"

-- 
David Henningsson, Canonical Ltd.
http://launchpad.net/~diwic


More information about the Alsa-devel mailing list