Skip to content

Commit

Permalink
[ALSA] Add Conexant audio support to the HD Audio driver
Browse files Browse the repository at this point in the history
This driver adds limited support for the Conexant 5045 and 5047 HD Audio
codecs.  Some issues still need to be resolved.  The code is based
primarily on code from the Analog Devices AD1981 support and the Realtek
ALC260 support.  Some code came from the original code developed by Alex
Pototskiy (see alsa bugtracker 2485).

Signed-off-by: Tobin Davis <tdavis@dsl-only.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
  • Loading branch information
Tobin Davis authored and Jaroslav Kysela committed Feb 9, 2007
1 parent e6327cf commit c9b443d
Show file tree
Hide file tree
Showing 4 changed files with 1,324 additions and 1 deletion.
14 changes: 14 additions & 0 deletions Documentation/sound/alsa/ALSA-Configuration.txt
Original file line number Diff line number Diff line change
Expand Up @@ -862,6 +862,20 @@ Prior to version 0.9.0rc4 options had a 'snd_' prefix. This was removed.
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
Expand Down
10 changes: 9 additions & 1 deletion sound/pci/hda/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
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
Expand Down
3 changes: 3 additions & 0 deletions sound/pci/hda/hda_patch.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ extern struct hda_codec_preset snd_hda_preset_sigmatel[];
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,
Expand All @@ -22,5 +24,6 @@ static const struct hda_codec_preset *hda_preset_tables[] = {
snd_hda_preset_sigmatel,
snd_hda_preset_si3054,
snd_hda_preset_atihdmi,
snd_hda_preset_conexant,
NULL
};
Loading

0 comments on commit c9b443d

Please sign in to comment.