aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorJames Courtier-Dutton <James@superbug.co.uk>2005-12-21 09:31:02 -0500
committerJaroslav Kysela <perex@suse.cz>2006-01-03 06:31:02 -0500
commitccadc3e38b72629fdfd1290343fdb11813dfecc2 (patch)
tree6acdd421f2983cba4e385e0a26c9205cf740ef66 /sound/pci
parent27fe864ec9e61041fc0b6f680207ae84f359b502 (diff)
[ALSA] snd-emu10k1: Enable speakers on Audigy 2 ZS Notebook.
Modules: EMU10K1/EMU10K2 driver Description: This enables the 7.1 speaker output of the Audigy 2 ZS Notebook. Further towards fixing ALSA bug#927 TODO: SPDIF/IEC958 output. (untested, might already work) Sound capture. (untested, might already work.) Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
Diffstat (limited to 'sound/pci')
-rw-r--r--sound/pci/emu10k1/emu10k1_main.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/sound/pci/emu10k1/emu10k1_main.c b/sound/pci/emu10k1/emu10k1_main.c
index eb093700fa71..e3a14068115c 100644
--- a/sound/pci/emu10k1/emu10k1_main.c
+++ b/sound/pci/emu10k1/emu10k1_main.c
@@ -205,6 +205,18 @@ static int snd_emu10k1_init(struct snd_emu10k1 *emu, int enable_ir, int resume)
205 tmp = snd_emu10k1_spi_write(emu, 0x0622); 205 tmp = snd_emu10k1_spi_write(emu, 0x0622);
206 tmp = snd_emu10k1_spi_write(emu, 0x1400); 206 tmp = snd_emu10k1_spi_write(emu, 0x1400);
207 snd_emu10k1_ptr20_write(emu, 0x60, 0, 0x10); 207 snd_emu10k1_ptr20_write(emu, 0x60, 0, 0x10);
208 /* Enable GPIOs
209 * GPIO0: Unknown
210 * GPIO1: Speakers-enabled.
211 * GPIO2: Unknown
212 * GPIO3: Unknown
213 * GPIO4: IEC958 Output on.
214 * GPIO5: Unknown
215 * GPIO6: Unknown
216 * GPIO7: Unknown
217 */
218 outl(0x76, emu->port + A_IOCFG); /* Windows uses 0x3f76 */
219
208 } 220 }
209 221
210 snd_emu10k1_ptr_write(emu, PTB, 0, emu->ptb_pages.addr); 222 snd_emu10k1_ptr_write(emu, PTB, 0, emu->ptb_pages.addr);