Commit ccadc3e3 authored by James Courtier-Dutton's avatar James Courtier-Dutton Committed by Jaroslav Kysela

[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: default avatarJames Courtier-Dutton <James@superbug.co.uk>
parent 27fe864e
...@@ -205,6 +205,18 @@ static int snd_emu10k1_init(struct snd_emu10k1 *emu, int enable_ir, int resume) ...@@ -205,6 +205,18 @@ static int snd_emu10k1_init(struct snd_emu10k1 *emu, int enable_ir, int resume)
tmp = snd_emu10k1_spi_write(emu, 0x0622); tmp = snd_emu10k1_spi_write(emu, 0x0622);
tmp = snd_emu10k1_spi_write(emu, 0x1400); tmp = snd_emu10k1_spi_write(emu, 0x1400);
snd_emu10k1_ptr20_write(emu, 0x60, 0, 0x10); snd_emu10k1_ptr20_write(emu, 0x60, 0, 0x10);
/* Enable GPIOs
* GPIO0: Unknown
* GPIO1: Speakers-enabled.
* GPIO2: Unknown
* GPIO3: Unknown
* GPIO4: IEC958 Output on.
* GPIO5: Unknown
* GPIO6: Unknown
* GPIO7: Unknown
*/
outl(0x76, emu->port + A_IOCFG); /* Windows uses 0x3f76 */
} }
snd_emu10k1_ptr_write(emu, PTB, 0, emu->ptb_pages.addr); snd_emu10k1_ptr_write(emu, PTB, 0, emu->ptb_pages.addr);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment