Skip to contentSkip to conversation

Envy24HT

PATCH Applied James Stafford 2 participants 2 messages Jan 27, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Envy24HT

One of the attached patches correct a problem with the surround speakers with the AUDIO2000 Envy24HT based board. The other patch adds the ICE1724.conf file to the alsa-lib/src/conf/cards directory.

pci/ice1712/amp.c +7 -0
@@ -42,6 +42,12 @@
 	return 0;
 }
 
+static int __devinit snd_vt1724_amp_add_controls(ice1712_t *ice)
+{
+	/* we use pins 39 and 41 of the VT1616 for left and right read outputs */
+	snd_ac97_write_cache(ice->ac97, 0x5a, snd_ac97_read(ice->ac97, 0x5a) & ~0x8000);
+}
+
 
 /* entry point */
 struct snd_ice1712_card_info snd_vt1724_amp_cards[] __devinitdata = {
@@ -49,6 +55,7 @@
 		VT1724_SUBDEVICE_AUDIO2000,
 		"AMP Ltd AUDIO2000",
 		snd_vt1724_amp_init,
+		snd_vt1724_amp_add_controls,
 	},
 	{ } /* terminator */
 };
src/conf/cards/Makefile.am +1 -0
@@ -10,6 +10,7 @@
 	FM801.conf \
 	GUS.conf \
 	ICE1712.conf \
+	ICE1724.conf \
 	ICH.conf \
 	RME9636.conf \
 	RME9652.conf \

diff -u -N -r cvs2/alsa-lib/src/conf/cards/ICE1724.conf cvs-envy24ht/alsa-lib/src/conf/cards/ICE1724.conf

alsa-lib/src/conf/cards/ICE1724.conf +100 -0

100 lines not on this page · raw message

--
James Stafford

mailto:[email protected]

Advanced Micro Peripherals Ltd
Unit 17
Sedgeway Business Park
Witchford
Cambridge
CB6 2HY

Tel: +44 1353 659 500
Fax:+44 1353 659 600

Applied
#1 lore raw

Hi,

At Mon, 27 Jan 2003 13:31:38 +0000,

Quoted 4 lines · James Stafford

One of the attached patches correct a problem with the surround speakers with the AUDIO2000 Envy24HT based board. The other patch adds the ICE1724.conf file to the alsa-lib/src/conf/cards directory.

thanks, applied to cvs now.

Takashi

-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com