On Sun, 2006-02-12 at 14:10 -0700, Richard Fish wrote:
> On 2/11/06, Lee Revell <[EMAIL PROTECTED]> wrote:
> > First try 1.0.11-rc1 and -rc2.  If those don't work your best bet is to
> > use ALSA CVS to do a binary search by date between 1.0.10 and
> > 1.0.11-rc1:
> 
> Thanks for the advice.  I have to go back to 17-nov-2005 11:05 (UTC)
> to get back to a working version.  The 11:10 version doesn't work.
> 
> The problem there seems to be the change:
> 
> diff -ur --exclude CVS
> alsa-cvs-200511170405/alsa-kernel/pci/hda/hda_codec.c
> alsa-cvs-200511170410/alsa-kernel/pci/hda/hda_codec.c
> --- alsa-cvs-200511170405/alsa-kernel/pci/hda/hda_codec.c       2006-02-12
> 13:05:31.000000000 -0700
> +++ alsa-cvs-200511170410/alsa-kernel/pci/hda/hda_codec.c       2006-02-12
> 12:08:59.000000000 -0700
> @@ -1837,7 +1889,6 @@
>                loc = get_defcfg_location(def_conf);
>                switch (get_defcfg_device(def_conf)) {
>                case AC_JACK_LINE_OUT:
> -               case AC_JACK_SPEAKER:
>                        seq = get_defcfg_sequence(def_conf);
>                        assoc = get_defcfg_association(def_conf);
>                        if (! assoc)
> @@ -1852,6 +1903,9 @@
>                        sequences[cfg->line_outs] = seq;
>                        cfg->line_outs++;
>                        break;
> +               case AC_JACK_SPEAKER:
> +                       cfg->speaker_pin = nid;
> +                       break;
>                case AC_JACK_HP_OUT:
>                        cfg->hp_pin = nid;
>                        break;
> 
> I can make that version work with the following patch:
> 
> diff -ur alsa-cvs-200511170410/alsa-kernel/pci/hda/hda_codec.c
> alsa-cvs-rjf/alsa-kernel/pci/hda/hda_codec.c
> --- alsa-cvs-200511170410/alsa-kernel/pci/hda/hda_codec.c       2006-02-12
> 12:08:59.000000000 -0700
> +++ alsa-cvs-rjf/alsa-kernel/pci/hda/hda_codec.c        2006-02-12
> 13:49:40.000000000 -0700
> @@ -1888,6 +1888,8 @@
>                        continue;
>                loc = get_defcfg_location(def_conf);
>                switch (get_defcfg_device(def_conf)) {
> +               case AC_JACK_SPEAKER:
> +                       cfg->speaker_pin = nid;
>                case AC_JACK_LINE_OUT:
>                        seq = get_defcfg_sequence(def_conf);
>                        assoc = get_defcfg_association(def_conf);
> @@ -1903,9 +1905,6 @@
>                        sequences[cfg->line_outs] = seq;
>                        cfg->line_outs++;
>                        break;
> -               case AC_JACK_SPEAKER:
> -                       cfg->speaker_pin = nid;
> -                       break;
>                case AC_JACK_HP_OUT:
>                        cfg->hp_pin = nid;
>                        break;
> 
> My patch is probably wrong, but maybe someone has an idea of a better patch?
> 

It actually looks like your second patch is not exactly the opposite of
the first patch.  Does it work if you just back out the first patch?

Lee

> 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...
> 
> -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
> 



-------------------------------------------------------
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&kid=103432&bid=230486&dat=121642
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to