Update of /cvsroot/alsa/alsa-kernel/pci/ac97
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11913/pci/ac97
Modified Files:
ac97_patch.c
Log Message:
added the quirk for Compaq Evo D510C.
Index: ac97_patch.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/ac97/ac97_patch.c,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- ac97_patch.c 14 Mar 2004 08:46:39 -0000 1.39
+++ ac97_patch.c 17 Mar 2004 11:14:45 -0000 1.40
@@ -1130,10 +1130,12 @@
val &= ~0x03; /* disable */
snd_ac97_write_cache(ac97, AC97_ALC650_CLOCK, val);
- val = snd_ac97_read(ac97, AC97_ALC650_MULTICH);
- val &= ~0xc000; /* slot: 3,4,7,8,6,9 */
- val &= ~(1 << 10); /* center-on-mic off */
- snd_ac97_write_cache(ac97, AC97_ALC650_MULTICH, val);
+ /* set default: slot 3,4,7,8,6,9
+ spdif-in monitor off, analog-spdif off, spdif-in off
+ center on mic off, surround on line-in off
+ downmix off, duplicate front off
+ */
+ snd_ac97_write_cache(ac97, AC97_ALC650_MULTICH, 0);
/* set GPIO0 for mic bias */
/* GPIO0 pin output, no interrupt, high */
@@ -1262,10 +1264,12 @@
val |= (1 << 1); /* spdif input pin */
val &= ~(1 << 12); /* vref enable */
snd_ac97_write_cache(ac97, 0x7a, val);
- val = snd_ac97_read(ac97, AC97_ALC650_MULTICH);
- val |= (1 << 15); /* enable spdif in */
- val &= ~(1 << 10); /* disable center on mic */
- snd_ac97_write_cache(ac97, AC97_ALC650_MULTICH, val);
+ /* set default: spdif-in enabled,
+ spdif-in monitor off, spdif-in PCM off
+ center on mic off, surround on line-in off
+ duplicate front off
+ */
+ snd_ac97_write_cache(ac97, AC97_ALC650_MULTICH, 1<<15);
/* full DAC volume */
snd_ac97_write_cache(ac97, AC97_ALC650_SURR_DAC_VOL, 0x0808);
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog