[alsa-devel] [pulseaudio-discuss] What-did-you-plugin-dialog

Alexander E. Patrakov patrakov at gmail.com
Sun Dec 1 07:11:14 CET 2013


2013/12/1 Raymond Yau <superquad.vortex2 at gmail.com>:
>>>
>>
>> >> Before retasking:
>> >>
>> >>
>> >> http://www.alsa-project.org/db/?f=fd97b8194e205b4f91127bca74ad7c9b2cd93ab9
>> >>
>> >> After retasking blue line in, pin ID 0x1a as Line out (Side):
>> >>
>> >>
>> >> http://www.alsa-project.org/db/?f=d56f9a6d0692c9a8d5c88f43100a6cb78407c163
>> >>
>> >> Note that retasking did not work: attempting to play a 8-channel wav
>> >> file through hw:1,0 resulted in an "Invalid argument" error.
>> >>
>> >> FWIW, here is what hdajackretask printed to the console:
>> >>
>> >> 0x11 0x99430130
>> >> 0x12 0x4037c540
>> >> 0x14 0x01014010
>> >> 0x15 0x01011012
>> >> 0x16 0x01016011
>> >> 0x17 0x411111f0
>> >> 0x18 0x01a19050
>> >> 0x19 0x02a19060
>> >> 0x1a 0x01014413
>> >> 0x1b 0x02214020
>> >> 0x1c 0x411111f0
>> >> 0x1d 0x4045e601
>> >> 0x1e 0x01452140
>> >> 0x1f 0x411111f0
>> >> 1
>> >>
>> >
>> > you need root privilege for hdajackretask to write the firmware file to
>> > /lib/firmware and modify /etc/modprobe.d/alsa-lbase.conf to use the
>> > firmware
>> > file
>> >
>> > can you try the patch which add "channel mode" control which allow you
>> > to
>> > switch from 6ch to 8ch
>>
>> I have tested the patch. In 8ch mode, it works without any overrides
>> in the sense that the side channels go to the blue jack if I choose
>> 8ch mode. In the 6ch mode, the line input also works (tested by using
>> headphones as a very bad microphone-like source).
>>
>> Here is alsa-info in the 6ch mode:
>>
>> http://www.alsa-project.org/db/?f=d152698d4b2d9589d4c5f14e0c8e6d4978c8fbd0
>>
>> And in 8ch mode:
>>
>> http://www.alsa-project.org/db/?f=4d5d14fbb559819fd82e7731e656be7efcfab439
>>
>> Pulseaudio is not smart enough to decide by itself that it can toggle
>> the control and add 7.1 profiles. If I toggle the control manually and
>> restart pulseaudio, they appear.
>>
>> If the role of the "Line jack" control is still unclear, just say so
>> and tell me what to do to figure it out.
>>

I will test everything later today, when I return home. However, I
have questions about the tests.

> In 8ch mode, do the "Line jack" return true when you plugged "Side Speaker"
> ?

Do I understand correctly that I need to look at "amixer -c1 contents" output?

> Should changes in "channel mode" , "Headphone Mic jack mode" or "Mic Jack
> Mode" trigger an event so that pulseaudio server probe the sound card again
> ?

How can I verify this? Is it enough to look at pulseaudio -vvv output?

-- 
Alexander E. Patrakov


More information about the Alsa-devel mailing list