Comment 20 for bug 134351

Revision history for this message
Model: Gateway MT3423 Notebook (mliberto0347) wrote :

In bug 134146 Jose Bernardo's sound was working in Ubuntu Feisty, which is what I am running and my sound does not work.

Headphones and speakers do not work on my machine.

Where is the makefile that Peter Clifton is talking about in Bug #134146? It says I can try to add the following to makefile:
 EXTRA_CFLAGS := -DCONFIG_SND_HDA_GENERIC \
                -DCONFIG_SND_HDA_CODEC_REALTEK \
                -DCONFIG_SND_HDA_CODEC_CMEDIA \
                -DCONFIG_SND_HDA_CODEC_ANALOG \
                -DCONFIG_SND_HDA_CODEC_SIGMATEL \
                -DCONFIG_SND_HDA_CODEC_SI3054 \
                -DCONFIG_SND_HDA_CODEC_ATIHDMI \
                -DCONFIG_SND_HDA_CODEC_CONEXANT \
                -DCONFIG_SND_HDA_CODEC_VIA

I found the hda_patch.h file he was talking about but I do not know if this one is the one that needs to be manipulated.

hda_patch.h looks like this:

/*
 * HDA Patches - included by hda_codec.c
 */

/* Realtek codecs */
extern struct hda_codec_preset snd_hda_preset_realtek[];
/* C-Media codecs */
extern struct hda_codec_preset snd_hda_preset_cmedia[];
/* Analog Devices codecs */
extern struct hda_codec_preset snd_hda_preset_analog[];
/* SigmaTel codecs */
extern struct hda_codec_preset snd_hda_preset_sigmatel[];
/* SiLabs 3054/3055 modem codecs */
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[];
/* VIA codecs */
extern struct hda_codec_preset snd_hda_preset_via[];

static const struct hda_codec_preset *hda_preset_tables[] = {
 snd_hda_preset_realtek,
 snd_hda_preset_cmedia,
 snd_hda_preset_analog,
 snd_hda_preset_sigmatel,
 snd_hda_preset_si3054,
 snd_hda_preset_atihdmi,
 snd_hda_preset_conexant,
 snd_hda_preset_via,
 NULL
};

I performed the following in terminal that Mr. Bernardo reported fixed his issue:

sudo apt-get install module-assistant
sudo m-a update
sudo m-a prepare
sudo m-a a-i alsa

When I ran sudo m-a a-i alsa I received error: Build of the package alsa-source failed! How would you wish to proceed?
View
Continue
Stop

I dont know if alsa lib, utilities, and driver being in my home folder could cause this error.