aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2005-06-27 09:32:43 -0400
committerJaroslav Kysela <perex@suse.cz>2005-07-28 06:09:39 -0400
commitb6482d48e536729829025262d6529df09ae20396 (patch)
tree388a90edc6030a4bf1a9b5139896888801c89cd6
parent548e7823bc33b8cde4de59dfafe0fd69d951d3b5 (diff)
[ALSA] hda-codec - Add 6stack model for ALC880
Documentation,HDA Codec driver - Added a new '6stack' model for ALC880. - Fixed the typo in 6stack-digout model name. - Added description for missing models in ALSA-Configuration.txt. Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--Documentation/sound/alsa/ALSA-Configuration.txt5
-rw-r--r--sound/pci/hda/patch_realtek.c14
2 files changed, 18 insertions, 1 deletions
diff --git a/Documentation/sound/alsa/ALSA-Configuration.txt b/Documentation/sound/alsa/ALSA-Configuration.txt
index 104a994b8289..dfe44cf655d7 100644
--- a/Documentation/sound/alsa/ALSA-Configuration.txt
+++ b/Documentation/sound/alsa/ALSA-Configuration.txt
@@ -636,11 +636,16 @@ Prior to version 0.9.0rc4 options had a 'snd_' prefix. This was removed.
636 3stack-digout 3-jack in back, a HP out and a SPDIF out 636 3stack-digout 3-jack in back, a HP out and a SPDIF out
637 5stack 5-jack in back, 2-jack in front 637 5stack 5-jack in back, 2-jack in front
638 5stack-digout 5-jack in back, 2-jack in front, a SPDIF out 638 5stack-digout 5-jack in back, 2-jack in front, a SPDIF out
639 6stack 6-jack in back, 2-jack in front
640 6stack-digout 6-jack with a SPDIF out
639 w810 3-jack 641 w810 3-jack
640 z71v 3-jack (HP shared SPDIF) 642 z71v 3-jack (HP shared SPDIF)
641 asus 3-jack 643 asus 3-jack
642 uniwill 3-jack 644 uniwill 3-jack
643 F1734 2-jack 645 F1734 2-jack
646 test for testing/debugging purpose, almost all controls can be
647 adjusted. Appearing only when compiled with
648 $CONFIG_SND_DEBUG=y
644 649
645 CMI9880 650 CMI9880
646 minimal 3-jack in back 651 minimal 3-jack in back
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index ed16ce817dd8..9b4339a004fc 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -40,6 +40,7 @@ enum {
40 ALC880_W810, 40 ALC880_W810,
41 ALC880_Z71V, 41 ALC880_Z71V,
42 ALC880_AUTO, 42 ALC880_AUTO,
43 ALC880_6ST,
43 ALC880_6ST_DIG, 44 ALC880_6ST_DIG,
44 ALC880_F1734, 45 ALC880_F1734,
45 ALC880_ASUS, 46 ALC880_ASUS,
@@ -1559,7 +1560,9 @@ static struct hda_board_config alc880_cfg_tbl[] = {
1559 { .modelname = "z71v", .config = ALC880_Z71V }, 1560 { .modelname = "z71v", .config = ALC880_Z71V },
1560 { .pci_subvendor = 0x1043, .pci_subdevice = 0x1964, .config = ALC880_Z71V }, 1561 { .pci_subvendor = 0x1043, .pci_subdevice = 0x1964, .config = ALC880_Z71V },
1561 1562
1562 { .modelname = "6statack-digout", .config = ALC880_6ST_DIG }, 1563 { .modelname = "6stack", .config = ALC880_6ST },
1564
1565 { .modelname = "6stack-digout", .config = ALC880_6ST_DIG },
1563 { .pci_subvendor = 0x2668, .pci_subdevice = 0x8086, .config = ALC880_6ST_DIG }, 1566 { .pci_subvendor = 0x2668, .pci_subdevice = 0x8086, .config = ALC880_6ST_DIG },
1564 { .pci_subvendor = 0x8086, .pci_subdevice = 0x2668, .config = ALC880_6ST_DIG }, 1567 { .pci_subvendor = 0x8086, .pci_subdevice = 0x2668, .config = ALC880_6ST_DIG },
1565 { .pci_subvendor = 0x1462, .pci_subdevice = 0x1150, .config = ALC880_6ST_DIG }, 1568 { .pci_subvendor = 0x1462, .pci_subdevice = 0x1150, .config = ALC880_6ST_DIG },
@@ -1646,6 +1649,15 @@ static struct alc_config_preset alc880_presets[] = {
1646 .channel_mode = alc880_fivestack_modes, 1649 .channel_mode = alc880_fivestack_modes,
1647 .input_mux = &alc880_capture_source, 1650 .input_mux = &alc880_capture_source,
1648 }, 1651 },
1652 [ALC880_6ST] = {
1653 .mixers = { alc880_six_stack_mixer },
1654 .init_verbs = { alc880_volume_init_verbs, alc880_pin_6stack_init_verbs },
1655 .num_dacs = ARRAY_SIZE(alc880_6st_dac_nids),
1656 .dac_nids = alc880_6st_dac_nids,
1657 .num_channel_mode = ARRAY_SIZE(alc880_sixstack_modes),
1658 .channel_mode = alc880_sixstack_modes,
1659 .input_mux = &alc880_6stack_capture_source,
1660 },
1649 [ALC880_6ST_DIG] = { 1661 [ALC880_6ST_DIG] = {
1650 .mixers = { alc880_six_stack_mixer }, 1662 .mixers = { alc880_six_stack_mixer },
1651 .init_verbs = { alc880_volume_init_verbs, alc880_pin_6stack_init_verbs }, 1663 .init_verbs = { alc880_volume_init_verbs, alc880_pin_6stack_init_verbs },