Skip to contentSkip to conversation

Conexant test patch 9.

PATCH Tobin Davis 2 participants 2 messages Nov 13, 2006

lore
Share & tools
lore
#0 lore raw

Sorry for the delay between patches.

The goal with this patch version is to enable the test model, so that further configuration discoveries will be possible. This is also going to be checked into HG (separate patches will be submitted to alsa-devel for HG inclusion).

Changes for this patch:
Conexant 5045:
Enable EAPD pin - should enable audio output Fixes to test model.

Conexant 5047:
Fixes to test model.

Known issues:
HP DV1/2/3000 series (Conexant 5047, subsystem ID 30A0 & 30B2):
Headphones don't mute the speakers. Need test model to be able to individually toggle switches to determine correct nid.
HP DV8000/Compaq V5000 series (ID 30A2:
Microphone apparently doesn't work. Need test model to work to hopefully fix this.
Toshiba series:
acpi issues. Need to add "apci=off irqpoll" for system to work. Unfortunately, acpi issue is in the kernel and outside of my control.

New Instructions are included as a separate text document. Please read.

Thanks for everyone that has been testing.

Signature · 1 line
Tobin Davis <[email protected]>

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

!!Backup your current drivers!!
tar -zcvf original-drivers.tgz /lib/modules/uname -r/kernel/sound

Now, get the daily snapshot, apply the patch, and build.

wget ftp://ftp.suse.com:21/pub/projects/alsa/snapshot/driver/alsa-driver-hg20061112.tar.bz2 tar -jxf alsa-driver-hg20061112.tar.bz2
cd alsa-driver-hg20061112.tar.bz2
patch -p1 <conexant-test9.patch
./configure --with-debug=full --with-cards=hda-intel
make ; make install
dmesg -c >/dev/null # this will clear dmesg prior to loading the new driver

Stop all audio applications and remove all audio drivers (lsmod |fgrep
snd). Reload the new driver with "modprobe snd-hda-intel" , look at the dmesg output and test out the sound. 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, the subsystem line from "lspci -s 0:1b -vn" (Ex: Subsystem: 103c:30b2), and the output from "cat /proc/asound/card0/codec#0".
I need this for tracking what works on what systems.

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 +14 -0
@@ -867,6 +867,20 @@ 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 5045
+	  laptop	Laptop config 
+	  test		for testing/debugging purpose, almost all controls can be
+			adjusted.  Appearing only when compiled with
+			$CONFIG_SND_DEBUG=y
+
+	Conexant 5047
+	  laptop	Basic Laptop config 
+	  laptop-hp	Laptop config for some HP models (subdevice 30A5)
+	  laptop-eapd	Laptop config with EAPD support
+	  test		for testing/debugging purpose, almost all controls can be
+			adjusted.  Appearing only when compiled with
+			$CONFIG_SND_DEBUG=y
 
 	STAC9200/9205/9220/9221/9254
 	  ref		Reference board
alsa-kernel/pci/hda/Makefile +1 -1
@@ -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
@@ -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 +1276 -0

1,276 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

#1 lore raw
Quoted 6 lines · Tobin Davis

Toshiba series:
acpi issues. Need to add "apci=off irqpoll" for system to
work.
Unfortunately, acpi issue is in the kernel and outside of my control.

If you have the time, it would be very helpful if you could file this at bugzilla.kernel.org, since you likely know more about the problem than most of the affected users. The kernel ACPI devs are very bugzilla-oriented and do pay attention to these.

Lee

-------------------------------------------------------------------------
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