At Fri, 03 Nov 2006 16:47:56 +0300, Andrew L. Neporada wrote: > > Hi! > > We need to enable External Amplifier on this laptops. This patch basicly > adds laptop-eapd model to ALC883 codec. Thanks for the patch. Unfortunately it isn't applicable to HG repo since more other changes have been done to ALC883 code. Could you try HG version with the patch below I fixed? Also, please give a sign-off to commit the patch. Takashi diff -r 8c37ecaca886 Documentation/ALSA-Configuration.txt --- a/Documentation/ALSA-Configuration.txt Mon Nov 06 12:01:53 2006 +0100 +++ b/Documentation/ALSA-Configuration.txt Mon Nov 06 12:03:33 2006 +0100 @@ -827,6 +827,7 @@ Prior to version 0.9.0rc4 options had a medion Medion Laptops targa-dig Targa/MSI targa-2ch-dig Targs/MSI with 2-channel + laptop-eapd 3-jack with SPDIF I/O and EAPD (Clevo M540JE, M550JE) auto auto-config reading BIOS (default) ALC861/660 diff -r 8c37ecaca886 pci/hda/patch_realtek.c --- a/pci/hda/patch_realtek.c Mon Nov 06 12:01:53 2006 +0100 +++ b/pci/hda/patch_realtek.c Mon Nov 06 12:05:52 2006 +0100 @@ -125,6 +125,7 @@ enum { ALC888_DEMO_BOARD, ALC883_ACER, ALC883_MEDION, + ALC883_LAPTOP_EAPD, ALC883_AUTO, ALC883_MODEL_LAST, }; @@ -5469,6 +5470,9 @@ static struct hda_board_config alc883_cf .config = ALC883_ACER }, { .pci_subvendor = 0x161f, .pci_subdevice = 0x2054, .modelname = "medion", .config = ALC883_MEDION }, + { .modelname = "laptop-eapd", .config = ALC883_LAPTOP_EAPD }, + { .pci_subvendor = 0x1558, .pci_subdevice = 0, + .config = ALC883_LAPTOP_EAPD }, /* Clevo */ { .modelname = "auto", .config = ALC883_AUTO }, {} }; @@ -5597,8 +5601,19 @@ static struct alc_config_preset alc883_p .num_channel_mode = ARRAY_SIZE(alc883_sixstack_modes), .channel_mode = alc883_sixstack_modes, .input_mux = &alc883_capture_source, - } - + }, + [ALC883_LAPTOP_EAPD] = { + .mixers = { alc883_base_mixer, + alc883_chmode_mixer }, + .init_verbs = { alc883_init_verbs, alc882_eapd_verbs }, + .num_dacs = ARRAY_SIZE(alc883_dac_nids), + .dac_nids = alc883_dac_nids, + .num_adc_nids = ARRAY_SIZE(alc883_adc_nids), + .adc_nids = alc883_adc_nids, + .num_channel_mode = ARRAY_SIZE(alc883_3ST_2ch_modes), + .channel_mode = alc883_3ST_2ch_modes, + .input_mux = &alc883_capture_source, + }, }; ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-devel