[alsa-devel] Smart 5.1 function not working on VIA VT1708S with *three* jacks on mainboard
Viliam Kubis
viliam.kubis at gmail.com
Sat Jul 10 14:39:11 CEST 2010
But my speakers only come with two jacks for input. One for the front
speakers and one for rear speakers. So I cannot connect the speakers to
all three jacks. I have compiled alsa with --with-debug=full configure
option to see which pins it has auto-parsed:
HDA Intel 0000:00:14.2: PCI INT A disabled
HDA Intel 0000:00:14.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16
ALSA hda_codec.c:4408: autoconfig: line_outs=1 (0x1c/0x0/0x0/0x0/0x0)
ALSA hda_codec.c:4412: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
ALSA hda_codec.c:4416: hp_outs=1 (0x1d/0x0/0x0/0x0/0x0)
ALSA hda_codec.c:4417: mono: mono_out=0x0
ALSA hda_codec.c:4420: dig-out=0x20/0x0
ALSA hda_codec.c:4428: inputs: mic=0x1a, fmic=0x1e, line=0x1b,
fline=0x0, cd=0x1f, aux=0x0
However in function smart51_get, the following condition
if (ctl & AC_PINCTL_IN_EN
&& !(ctl & AC_PINCTL_OUT_EN))
{
printk(KERN_INFO "*** PATCH on=0 in via_smart51_get()");
on = 0;
}
will never be true, so smart51_get will always set
*ucontrol->value.integer.value to 1. (printk line will not execute)
Smart 5.1 control gets created and appears to be "working". However
surround output does not work.
On Sat, 10 Jul 2010 11:41:35 +0200, Raymond Yau
<superquad.vortex2 at gmail.com> wrote:
>>> It might be. It is important not to mix VT1708 and VT1708S. For
>>> VT1708S,
> the following DACs are used in code:
>
> /* config dac list */
> switch (i) {
> case AUTO_SEQ_FRONT:
> spec->multiout.dac_nids[i] = 0x10;
> break;
> case AUTO_SEQ_CENLFE:
> spec->multiout.dac_nids[i] = 0x24;
> break;
> case AUTO_SEQ_SURROUND:
> spec->multiout.dac_nids[i] = 0x11;
> break;
> case AUTO_SEQ_SIDE:
> spec->multiout.dac_nids[i] = 0x25;
> break;
> }
>
>>> So 0x12 is not used for any of the surround outputs.
>
> I think your testing config is not compiled with smart 5.1 requirement
>
> Refer to smart51_get() , this function exepct red jack and blue jack
> are configued to Output
>
> But you still plugged in Mic into the pink jack according to your photo.
>
> Your speakers have to plugged in both pink and blue jacks
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
More information about the Alsa-devel
mailing list