[Fixed] sound has gone

F. A.O. the penguin
I have no sound please help
I have followed the advise in ubuntu.org, I’ve put the output in the attached file.
I would be greatful of any help

I am useing ubuntu 11.10


Can you post the output from:

aplay -l
sudo lshw -C multimedia

And can you post the contents of:

gedit /etc/modprobe.d/alsa-base.conf

Before we proceed. Have you check to make sure you haven’t accidentally muted the volume?

A search shows that you and your “sound” issue has been answered so many times Porter. Please use the search function, it’s not a hard thing to do.

I don’t want to be going out of my way to help, if there is already several solutions which have worked. Hopefully you can appreciate that.

Try this - Open a terminal, and enter:

sudo cp -v /etc/modprobe.d/alsa-base.conf /etc/modprobe.d/alsa-base.conf.bak

Hit enter, and your password when asked.

Now enter:

sudo sh -c "echo options snd-hda-intel model=ref >> /etc/modprobe.d/alsa-base.conf"

Hit enter.

Reboot your machine, and hopefully it’s working.

Otherwise, see the other threads where you found a solution:





Was this an upgrade from 11.04 to 11.10, or a fresh install of 11.10 ?

Can you hear Youtube videos, like you could here:

If you boot to an earlier kernel … does sound work ?

You’re not answering all my questions again.

To boot an older kernel …

Shut down your PC, turn on the PC and hold the “Shift” key, untill you are presented with the GRUB boot selection screen.

Use the down arrow key to select “Previous Versions” … hit the enter key.

select an older kernel … and hit enter to boot it.

Does sound now work ?

You still didn’t answer this question -

Was this an upgrade from 11.04 to 11.10, or a fresh install of 11.10 ?

Have a look in your Software Sources > Other Software tab … and see if the ppa:diwic/fighting-rewinds PPA is still active (has a tick by it) … and let me know.

Post the contents of:

gedit /etc/modprobe.d/alsa-base.conf

OK, lets go back to defaults by removing the PPA and anything installed from it … and removing the lines you added to /etc/modprobe.d/alsa-base.conf

as they may not be needed in 11.10

to remove/purge the PPA -

sudo apt-get install ppa-purge


sudo ppa-purge ppa:diwic/fighting-rewinds

(any errors from that last command … post them)

now open /etc/modprobe.d/alsa-base.conf for editing:

sudo gedit /etc/modprobe.d/alsa-base.conf

and remove the 5 lines at the end that read -

options snd-hda-intel model=ref

so the last 2 lines now read -

# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2

SAVE the file … and exit gedit.

Run a full system update:

sudo apt-get update && sudo apt-get upgrade

REBOOT … does sound work now ?

OK … is this a laptop, and if so can you post the make/model

Is the tower prebuilt (as in by HP, Compag, Acer, etc) … in which case what is the make/model.

or custom built … in which case, do you know the motherboard make/model ?

Is the sound card built into the motherboard, or add-in … if add-in, what is the make/model ?

Had you been messing with the sound setting before the audio went ?

Please provide as much information as possible.

It may also be a good idea to run:

dmesg >> ~/dmesg.txt

then attach the dmesg.txt file (you’ll find it in your Home directory) to your next response.

also run:

sudo lshw >> ~/lshw.txt

then attach the lshw.txt file (again, you’ll find it in your Home directory) to your next response.

also run:

lspci -vnn >> ~/lspci.txt

then attach the lspci.txt file (again, you’ll find it in your Home directory) to your next response.

No … don’t worry about it.

What is the output from:

cat /proc/asound/card0/codec* | grep Codec


OK, you’ve got a lot of testing to do in a bit (after I’ve typed it up … but for now let’s amke sure you have the latest ALSA driver modues

Open a terminal and run:

sudo add-apt-repository ppa:ubuntu-audio-dev/ppa


sudo apt-get update


sudo apt-get install linux-alsa-driver-modules-$(uname -r)

Once that command has finished, you NEED to REBOOT.

Meanwhile, I’ll type up the next lot of instructions.

Oh … lets remove that PPA then:

sudo ppa-purge ppa:ubuntu-audio-dev/ppa

I’ll post the other instructions when I have time :slight_smile:

OK, as I can’t find any info for a definite working fix for your motherboard, your only option is to try EVERY “option” for the STAC9227 codec.

First let’s make a backup of your alsa-base.conf:

cp -v /etc/modprobe.d/alsa-base.conf ~/alsa-base.conf

Open alsa-base.conf for editing:

sudo gedit /etc/modprobe.d/alsa-base.conf

You should see a file with a ton of stuff in it … if it opens a blank file, close without saving … and try again…

Next you need to add a NEW line at the end of that file … and enter ONE of the option lines listed below.

then save the file, and reboot to test the sound.

if that ONE option doesn’t work … reopen alsa-base.conf … and REPLACE the line you added with another one of the options below … then save, reboot, and test again.

Till you find one that works.

If none of them work … we’ll move on to other options like position_fix and probe_mask.

STAC9227 options to try -

options snd-hda-intel model=ref
options snd-hda-intel model=ref-no-jd
options snd-hda-intel model=3stack
options snd-hda-intel model=5stack
options snd-hda-intel model=5stack-no-fp
options snd-hda-intel model=dell-3stack
options snd-hda-intel model=dell-bios
options snd-hda-intel model=volknob
options snd-hda-intel model=auto

Hmm … good to know one of them “kind of” works … and maybe if we put that PPA back in, it may work perfectly.

But before doing that … test the others … you never know, one of them may fix things completely