Re: [PATCH] Emu10k1 - STAC9758 (fixes #2308)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for your answer. I hope this is a more appropriate description; if not, 
let me know. I'm unexperienced, yet eager to learn ;-)

Summary: The following patch (hopefully) fixes bug #2308 for users of STAC9758

For some time now, some users of STAC9758 (emu10k1) would have no sound on 
their front channels. This can be fixed (at least for me) by unmuting  head 
phone volume and setting it to 0dB before removing the "Front Playback" 
control. For details, cf.
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2308
Find the appropriate patch attached.

Credits to: Raymond

Signed-off-by: Rolf Stefan Wilke <stefan.wilke@xxxxxxxxxx>

 

--- alsa-driver-1.0.14rc2.orig/alsa-kernel/pci/emu10k1/emumixer.c	2007-01-15 14:25:27.000000000 +0100
+++ alsa-driver-1.0.14rc2/alsa-kernel/pci/emu10k1/emumixer.c	2007-02-06 18:34:51.000000000 +0100
@@ -1582,6 +1582,7 @@
 			if (emu->ac97->id == AC97_ID_STAC9758) {
 				emu->rear_ac97 = 1;
 				snd_emu10k1_ptr_write(emu, AC97SLOT, 0, AC97SLOT_CNTR|AC97SLOT_LFE|AC97SLOT_REAR_LEFT|AC97SLOT_REAR_RIGHT);
+				snd_ac97_write_cache(emu->ac97, AC97_HEADPHONE, 0x0202);
 			}
 			/* remove unused AC97 controls */
 			snd_ac97_write_cache(emu->ac97, AC97_SURROUND_MASTER, 0x0202);
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux