On 7/12/07, Claudio Matsuoka <cmatsuoka@xxxxxxxxx> wrote:
This patch adds line-in capture to LG LW (ALC880 codec). Tested with LW20.
And it will work even better with the actual patch attached ;)
From 0a3874297c1847d0b7252b51f29addae1e1b3328 Mon Sep 17 00:00:00 2001 From: Claudio Matsuoka <cmatsuoka@xxxxxxxxx> Date: Thu, 12 Jul 2007 12:43:43 -0300 Subject: [PATCH] [ALSA] hda-codec - Add LG LW20 line-in capture source Add line-in to the list of LG LW20 capture sources. Also fix the LG LW pin assignment list comment. Signed-off-by: Claudio Matsuoka <cmatsuoka@xxxxxxxxx> --- sound/pci/hda/patch_realtek.c | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index ad2b420..26462c4 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -1880,17 +1880,18 @@ static void alc880_lg_unsol_event(struct hda_codec *codec, unsigned int res) * Pin assignment: * Speaker-out: 0x14 * Mic-In: 0x18 - * Built-in Mic-In: 0x19 (?) - * HP-Out: 0x1b + * Built-in Mic-In: 0x19 + * Line-In: 0x1b + * HP-Out: 0x1a * SPDIF-Out: 0x1e */ -/* seems analog CD is not working */ static struct hda_input_mux alc880_lg_lw_capture_source = { - .num_items = 2, + .num_items = 3, .items = { { "Mic", 0x0 }, { "Internal Mic", 0x1 }, + { "Line In", 0x2 }, }, }; -- 1.5.2.3
_______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel