<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
All tests below were done with the original patch, as the suggested<br>
modification breaks 8ch mode here.<br>
<div class="im"><br>
> In 8ch mode, do the "Line jack" return true when you plugged "Side Speaker"<br>
> ?<br>
<br>
</div>Yes, the state reflects whether something is plugged into the blue jack.<br>
<div class="im"><br>
> pactl list<br>
><br>
> should "line in" list as not available when channel mode changed to "8 ch" ?<br>
<br>
</div>Unfortunately, it is "available" if there is something plugged in and<br>
"mot available" if there is nothing plugged in.<br>
<div class="im"><br></div></blockquote><div><br></div><div><br><a href="https://www.kernel.org/doc/Documentation/sound/alsa/HD-Audio-Controls.txt">https://www.kernel.org/doc/Documentation/sound/alsa/HD-Audio-Controls.txt</a><br>
<br>Mic Jack Mode, Line Jack Mode, etc
<br>These enum controls the direction and the bias of the input jack
pins. Depending on the jack type, it can set as "Mic In" and "Line
In", for determining the input bias, or it can be set to "Line Out"
when the pin is a multi-I/O jack for surround channels.<br><br>the switching from 6ch to 8ch can also be implemented using Line Jack Mode too<b><br><br></b>Simple mixer control 'Line Jack Mode',0
<br>Items: 'Mic In' 'Line In' 'Side Line Out'
<br><font color="#FF0000"><span style="color:rgb(0,0,0)">Item0: 'Side Line Out'</span><br><br><br><br></font></div><div><font color="#FF0000"><b><br></b></font></div></div></div></div>