Skip to contentSkip to conversation

Conexant test code

PATCH Tobin Davis 1 participant 1 message Oct 27, 2006

lore
Share & tools
lore
#0 lore raw

Here's test patch 7. This should (hopefully) re-enable Mic recording and mute the internal speakers when headphones are plugged in.

I've combined the driver wrapper with the kernel patch for easier distribution and integration.

For the new testers in the group, here's the instructions:

wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.13.tar.bz2 tar -jxf alsa-driver-1.0.13.tar.bz2
cd alsa-driver-1.0.13
./configure --with-debug=full --with-cards=hda-intel
patch -p1 <conexant-test7.patch
make ; make install
dmesg -c

Stop all audio applications and remove all audio drivers (lsmod |fgrep snd). Reload the new driver with "modprobe snd-hda-intel" and test it out. Use alsamixer to report any mixer issues (easier to debug than kmix/gmix, whatever-gui-mixer). If nothing works, or one function doesn't work, try reloading the driver with "model=test" as a parameter. This should enable everything.

Send me your test results. Please include the system make/model, and the subsystem line from "lspci -s 0:1b -vn" (Ex: Subsystem: 103c:30b2). I need this for tracking what works on what systems.

Thanks,

Signature · 1 line
Tobin Davis <[email protected]>
pci/hda/patch_conexant.c new file +2 -0
@@ -0,0 +1,2 @@
+#define __NO_VERSION__
+#include "../../alsa-kernel/pci/hda/patch_conexant.c"
alsa-kernel/Documentation/ALSA-Configuration.txt +3 -0
diff -r d7fe584f7395 Documentation/ALSA-Configuration.txt
@@ -865,6 +865,9 @@ Prior to version 0.9.0rc4 options had a 
 	  laptop	3-jack with hp-jack automute
 	  laptop-dig	ditto with SPDIF
 	  auto		auto-config reading BIOS (default)
+	
+	Conexant
+	  laptop	Laptop config with SPDIF
 
 	STAC9200/9205/9220/9221/9254
 	  ref		Reference board
alsa-kernel/pci/hda/Makefile +1 -1
diff -r d7fe584f7395 pci/hda/Makefile
@@ -1,5 +1,5 @@ snd-hda-intel-objs := hda_intel.o
 snd-hda-intel-objs := hda_intel.o
-snd-hda-codec-objs := hda_codec.o hda_generic.o patch_realtek.o patch_cmedia.o patch_analog.o patch_sigmatel.o patch_si3054.o patch_atihdmi.o
+snd-hda-codec-objs := hda_codec.o hda_generic.o patch_realtek.o patch_cmedia.o patch_analog.o patch_sigmatel.o patch_si3054.o patch_atihdmi.o patch_conexant.o
 ifdef CONFIG_PROC_FS
 snd-hda-codec-objs += hda_proc.o
 endif
alsa-kernel/pci/hda/hda_patch.h +3 -0
diff -r d7fe584f7395 pci/hda/hda_patch.h
@@ -14,6 +14,8 @@ extern struct hda_codec_preset snd_hda_p
 extern struct hda_codec_preset snd_hda_preset_si3054[];
 /* ATI HDMI codecs */
 extern struct hda_codec_preset snd_hda_preset_atihdmi[];
+/* Conexant audio codec */
+extern struct hda_codec_preset snd_hda_preset_conexant[];
 
 static const struct hda_codec_preset *hda_preset_tables[] = {
 	snd_hda_preset_realtek,
@@ -22,5 +24,6 @@ static const struct hda_codec_preset *hd
 	snd_hda_preset_sigmatel,
 	snd_hda_preset_si3054,
 	snd_hda_preset_atihdmi,
+	snd_hda_preset_conexant,
 	NULL
 };
alsa-kernel/pci/hda/patch_conexant.c new file +950 -0

950 lines not on this page · raw message

-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel