On 2/12/06, Richard Fish <[EMAIL PROTECTED]> wrote:
> Unfortunately, there seems to be an additional problem, as when I
> apply that patch to 1.0.11rc3, I still have no audio.  Searching for
> the next problem now...

I have found the second problem.  Around 1/26, the following change was made:

diff -ur --exclude=CVS
alsa-cvs-200601250000/alsa-kernel/pci/hda/patch_sigmatel.c
alsa-cvs-200601260000/alsa-kernel/pci/hda/patch_sigmatel.c
--- alsa-cvs-200601250000/alsa-kernel/pci/hda/patch_sigmatel.c  2006-02-12
15:52:40.000000000 -0700
+++ alsa-cvs-200601260000/alsa-kernel/pci/hda/patch_sigmatel.c  2006-02-12
15:53:29.000000000 -0700
@@ -855,12 +855,14 @@

        if ((err = snd_hda_parse_pin_def_config(codec, &spec->autocfg, NULL)) < 
0)
                return err;
+       if (! spec->autocfg.line_outs && ! spec->autocfg.hp_pin)
+               return 0; /* can't find valid pin config */
+       stac92xx_auto_init_multi_out(codec);
+       stac92xx_auto_init_hp_out(codec);
        if ((err = stac92xx_add_dyn_out_pins(codec, &spec->autocfg)) < 0)
                return err;
        if ((err = stac92xx_auto_fill_dac_nids(codec, &spec->autocfg)) < 0)
                return err;
-       if (! spec->autocfg.line_outs && ! spec->autocfg.hp_pin)
-               return 0; /* can't find valid pin config */

        if ((err = stac92xx_auto_create_multi_out_ctls(spec, &spec->autocfg)) < 
0 ||
            (err = stac92xx_auto_create_hp_ctls(codec, &spec->autocfg)) < 0 ||
@@ -922,9 +924,6 @@

        snd_hda_sequence_write(codec, spec->init);

-       stac92xx_auto_init_multi_out(codec);
-       stac92xx_auto_init_hp_out(codec);
-
        return 0;
 }

The critical part of this seems to be the change to stac92xx_init.  To
fix this, I have to restore those two calls:

diff -ur --exclude=CVS alsa-cvs/alsa-kernel/pci/hda/patch_sigmatel.c
alsa-cvs-rjf/alsa-kernel/pci/hda/patch_sigmatel.c
--- alsa-cvs/alsa-kernel/pci/hda/patch_sigmatel.c       2006-02-12
15:53:29.000000000 -0700
+++ alsa-cvs-rjf/alsa-kernel/pci/hda/patch_sigmatel.c   2006-02-12
16:40:13.000000000 -0700
@@ -923,6 +923,9 @@
        struct sigmatel_spec *spec = codec->spec;

        snd_hda_sequence_write(codec, spec->init);
+       
+       stac92xx_auto_init_multi_out(codec);
+       stac92xx_auto_init_hp_out(codec);

        return 0;
 }

I tried adding those calls to stac9200_parse_auto_config, to mirror
the changes to stac92xx_parse_auto_config, but that did not fix the
problem.

Should this all be tracked on bugzilla?

-Richard


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to