26 Mar
2007
26 Mar
'07
2:50 p.m.
At Sun, 25 Mar 2007 14:38:16 -0300, sergiodaniel@inf.ufg.br wrote:
This is a description to correct the problem of p5vdc-x motherboard's.
In file hda_codec.c the line 1727 is: if (codec->bus->modelname && models) { the variable codec->bus->modelname not is reconized for asus pc5vdc-x motherboards. Your ship is "Analog Devices AD1986A"
i correct this add the lines in the funcion static int patch_ad1986a(struct hda_codec *codec)
. . .
default: spec->num_mixers = 2; spec->mixers[1] = ad1986a_3st_mixers; spec->num_init_verbs = 3; spec->init_verbs[1] = ad1986a_3st_init_verbs; spec->init_verbs[2] = ad1986a_ch2_init; spec->channel_mode = ad1986a_modes; spec->num_channel_mode = ARRAY_SIZE(ad1986a_modes); spec->need_dac_fix = 1; spec->multiout.max_channels = 2; spec->multiout.num_dacs = 1; break; }
The complete code is in www.inf.ufg.br/~sergiodaniel/alsa-driver-1.0.14_PATCH_rc3-p5vdc-x.tar.gz
Could you post a patch (diff -u) ? Otherwise it's hard to review your changes.
thanks,
Takashi