Comment 9 for bug 114053

Revision history for this message
Michael B. Trausch (mtrausch) wrote : Re: [Bug 114053] Re: snd_hda_intel (alc883 chipset) does not perform jack sense

On Wed, 2007-06-20 at 08:22 +0000, Daniel T Chen wrote:
> It may also be prudent to note that I went through the sources to find
> all of the “model=” options for the driver for my chipset, and I did
> try them all, as well as the “model=ref” option. None of these options
> changed the behavior of the card in any noticeable fashion, though the
> mixer controls changed (but the new options that showed up with some
> of the options failed to do anything useful, as well).
>
> Try model=6stack-dig

As I noted above, I tried all of the possible options, and none of them
helped. The exact models I tried are (from
linux-source-2.6.20/sound/pci/hda/patch-realtek.c starting at line 132):

/* ALC883 models */
enum {
        ALC883_3ST_2ch_DIG,
        ALC883_3ST_6ch_DIG,
        ALC883_3ST_6ch,
        ALC883_6ST_DIG,
        ALC883_TARGA_DIG,
        ALC883_TARGA_2ch_DIG,
        ALC888_DEMO_BOARD,
        ALC883_ACER,
        ALC883_MEDION,
        ALC883_LAPTOP_EAPD,
        ALC883_AUTO,
        ALC883_MODEL_LAST,
};

... AND I tried the model=ref option, which is not in this list but is
elsewhere in the source, which can be found by (whitespace edited to
wrap better):

mbt@sage:/usr/src/linux-source-2.6.20/sound/pci/hda$ grep ref *|grep \"
patch_sigmatel.c: { .modelname = "ref",
patch_sigmatel.c: { .modelname = "ref",
patch_sigmatel.c: { .modelname = "ref",
patch_sigmatel.c: { .modelname = "ref",
patch_sigmatel.c: { .modelname = "ref",
patch_sigmatel.c: "available, default to model=ref\n");
patch_sigmatel.c: "available, default to model=ref\n");
patch_sigmatel.c: "available, default to model=ref\n");
patch_sigmatel.c: "available, default to model=ref\n");
mbt@sage:/usr/src/linux-source-2.6.20/sound/pci/hda$

I can't remember the place in the source that maps the constants defined
to the strings used for model=, but they are as you can probably see
above close enough to see what the strings are for the options.

  Thanks,
  Mike

--
Michael B. Trausch
           <email address hidden>
Phone: (404) 592-5746
                          Jabber IM:
           <email address hidden>
Demand Freedom! Use open and free protocols, standards, and software!
Support free speech---it is the most valuable freedom we have!