No Sound in Acer pc

hello. I am new to linux. a Friend of mine installed opensuse for me on my pc to introduce me to linux.
i want to learn linux and all that it has to offer.

anyway the installation went fast and nice but there is no sound :(. i dont know what to do as i am new to opensuse.

by the way i also have windows vista on my pc. The pc is very new just bought it. When i boot with vista , everything is just fine:|.

here is some information

ACER
system model: aspire 6920G
BIOS : Ver 1.00PARTTBL6
Processor : Intel(R)Core™2Duo CPU T8100 @2.10GHz(2 CPUs), ~2.1GHz
Memory : 3070MB RAM

realtek high defination audio (if that information is of any use)

i am greatful for the help in advance.

Try working your way through the openSUSE audio troubleshooting guide. If you get stumped trying the guide, post here, and one of the users on our forum will try help you. SDB:AudioTroubleshooting - openSUSE

hi again.
i tryed to follew the troubleshooting prosses
All is going well till i came upon a step where i have to run this in command:

/usr/sbin/alsa-info.sh

when i get this response:

me@linux-oonb:~> /usr/sbin/alsa-info.sh
bash: /usr/sbin/alsa-info.sh: No such file or directory.

…And if someone can please tell me what alsa is?.You see the thing is that i am trying to learn linux and this is my first linux intoduction for which i need sound lol.

thanks in advance.

Some “light reading”:

Both of those are links on the audio troubleshoot guide link I passed, and I think if you had skimmed thru them (or better yet read them) you would not be asking that question about alsa.

If you need to be walked thru this in slow motion (ie hand held) please advise as I am sure one of the many volunteers watching our forum can help.

Well, the ‘alsainfo’-script has to be installed on your mashine first to use it - anyway, it’s not necessary to make your sound work. I recommend, simply using

alsaconf

to configure your soundcard. It’s pretty self-explanatory.

That script only works with 1.0.17 and later of alsa. If you are using openSUSE-11.0, then you may have only 1.0.16 of alsa, in which case that script is not provided. I believe it states that fact on the troubleshooting guide.

ok when i try to restart my alsa this is what i get in the command:

linux-oonb:/home/me # rcalsasound restart
Starting sound driver: hda-intelWARNING: Error inserting snd (/lib/modules/2.6.25.5-1.1-default/weak-updates/alsa/acore/snd.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_hwdep (/lib/modules/2.6.25.5-1.1-default/weak-updates/alsa/acore/snd-hwdep.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_timer (/lib/modules/2.6.25.5-1.1-default/weak-updates/alsa/acore/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_pcm (/lib/modules/2.6.25.5-1.1-default/weak-updates/alsa/acore/snd-pcm.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_hda_intel (/lib/modules/2.6.25.5-1.1-default/weak-updates/alsa/pci/hda/snd-hda-intel.ko): Unknown symbol in module, or unknown parameter (see dmesg)
failed

I am in the 5 step of the trubleshotting. Thanks for the help so far.

Note, the guide states to stop following each step once your audio starts to work…so I am assuming at no stage did your audio work.

Reference the error message you quote, what “model” option were you using in your /etc/modprobe.d/sound file? Typically that error means the model option did not work, and you need to try a different one.

Did you check the dmesg like it suggested?

You can do that by typing:
dmesg > dmesg.txt
and then open “dmesg.txt” in a text editor and search for occurences of snd, hda, alsa (ie search for sound related words).

You seem to be having little success. If you wish, you can provide more info, and I can try to provide you a recommendation a bit quicker. To provide more information, with your PC connected to the internet copy and paste the following into a gnome-terminal or konsole:

wget http://home.cfl.rr.com/infofiles/tsalsa && su -c 'bash ./tsalsa' 

when prompted for a password please enter your root password. Please try to accurately answer the question on the number of plugs/jacks on your PC (for example my PC has 3 i/o plugs/jacks). When the script completes it will pass you a URL. Please post that URL here.

Also, please copy and paste the following into a gnome-terminal or konsole and post the output here.rpm -qa | grep alsa
rpm -qa | grep pulse
rpm -q libasound2
uname -a
cat /etc/modprobe.d/sound

Once I have that information, I believe I may be able to provide helpful recommendation(s).

Note I am travelling a lot right now, so my response may take a few days.

Ok here i am back.

The first thing you told me was that the model option that is given in the sound file. I did not change it yet but i will try that.

after that you told me to “check the dmesg” and type:

dmesg > dmesg.txt

which i didn’t knew how to do.

ok now for what i did id this.
you asked me to run this.

wget http://home.cfl.rr.com/infofiles/tsalsa && su -c ‘bash ./tsalsa’

I posted 3 of the answers of which i didnt knew what i should answer here:
for the queastion where they ask me :

Have you tried any model options
when loading your sound modules?

i answered no because i didn’t knew what it is .

where they ask me if i am using a digital receiver to power the speakers?
for your sound card?

i did the same answers NO because i didnt knew what it is.

ok The last question seemed very important to get right:
it was somthing like this.

This info is needed by the Alsa for its model options;
Enter make and model number for your laptop, desktop or motherboard
Enter your PC make and model number here:

I answered:

Aspire 6920G

the result is this:

cat: /proc/asound/version: No such file or directory
cat: /proc/asound/modules: No such file or directory
cat: /proc/asound/cards: No such file or directory
lsof: WARNING: can’t stat() fuse.gvfs-fuse-daemon file system /home/sarai/.gvfs
Output information may be incomplete.
lsof: status error on /dev/dsp*: No such file or directory
lsof: status error on /dev/snd/: No such file or directory
lsof 4.79
latest revision: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/
latest FAQ: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/FAQ
latest man page: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_man
usage: -?abhlnNoOPRstUvVX] +|-c c] +|-d s] +D D] +|-f[gG]]
-F [f]] -g [s]] -i ] +|-L [l]] +m [m]] +|-M] -o [o]]
-p s] +|-r [t]] -S [t]] -T [t]] -u s] +|-w] -x [fl]] --] [names]
Use the ``-h’’ option to get more help information.
cat: /proc/asound/card0/pcm0p/info: No such file or directory
cat: /proc/asound/cards: No such file or directory
grep: /sys/module/snd_
/parameters/
: No such file or directory
uploading /tmp/tsalsa.txt to nopaste.com
Uploading /tmp/tsalsa.txt: #-------------------------------------------------] 0.2 Seconds
tsalsa completed in 445 seconds
paste this url in #alsa: tsalsa.txt - nopaste.com (beta)

ok that was that . after that i did what you said about this:

rpm -qa | grep alsa
rpm -qa | grep pulse
rpm -q libasound2
uname -a
cat /etc/modprobe.d/sound

ok first the result for :

rpm -qa | grep alsa

is this
alsa-oss-1.0.15-48.1
alsa-oss-32bit-1.0.15-48.1
alsa-plugins-pulse-32bit-1.0.16-57.1
alsa-tools-1.0.16-47.1
alsa-utils-1.0.16-35.1
alsa-devel-1.0.16-39.1
alsa-plugins-1.0.16-57.1
alsa-1.0.17.git20081008-1.1
alsa-plugins-pulse-1.0.16-57.1
alsa-firmware-1.0.16-24.1
alsa-driver-kmp-default-1.0.16.20081009_2.6.25.16_0.1-2.1
FA_clalsadrv-1.1.0-136.1

and the result for :

rpm -qa | grep pulse

is this :

libpulse-mainloop-glib0-0.9.10-26.1
libpulse-browse0-0.9.10-26.1
libpulse0-32bit-0.9.10-26.1
alsa-plugins-pulse-32bit-1.0.16-57.1
pulseaudio-utils-0.9.10-26.1
pulseaudio-module-bluetooth-0.9.10-26.1
pulseaudio-module-x11-0.9.10-26.1
gstreamer-0_10-pulse-0.9.5-54.1
libpulse0-0.9.10-26.1
alsa-plugins-pulse-1.0.16-57.1
libpulsecore4-0.9.10-26.1
pulseaudio-module-lirc-0.9.10-26.1
pulseaudio-esound-compat-0.9.10-26.1
pulseaudio-0.9.10-26.1
pulseaudio-module-zeroconf-0.9.10-26.1
libao-pulse-0.9.3-123.1
pulseaudio-module-gconf-0.9.10-26.1

The result for :
rpm -q libasound2

is this :

libasound2-1.0.16-39.1

the result for :

uname -a

is this :
Linux linux-oonb 2.6.25.5-1.1-default #1 SMP 2008-06-07 01:55:22 +0200 x86_64 x86_64 x86_64 GNU/Linux

and the result for :
cat /etc/modprobe.d/sound

is this :

options snd slots=snd-hda-intel enable=1 index=0 model=acer

u1Nb.iXBPmqOEHcE:82801H (ICH8 Family) HD Audio Controller

alias snd-card-0 snd-hda-intel

oh by the way the first line is edited by me :

i added the following part: “enable=1 index=0 model=acer”

And by the way i am so greatful for all the help i am getting here . Thank you*

ok now i logged into the root and deleted the part that i myself add to the /etc/modprobe.d/sound

and then i typed this in the command >
rcalsasound restart

the the result is this >

Starting sound driver: hda-intel done

anyway i noticed that the sound/speaker icon in the bottom-right has a red cross on it which is usvally thee if you mute it. I dont know why it is there. I tried to right click and check if it muted but its not!
I dont know if this has somthing to do with my sound not working but i thougth it would be worst mentioning.

OK, great. And what was the output of that specifically wrt your sound? Note that it was not me who initially told you to “check the dmesg”, but rather the error message you obtained stated that. I quote from our post:

The black bold was the non-subtle “clue” to look at your dmesg for infor on the error “inserting snd_hda_intel”. What did you get from that when searching in the dmesg.txt file for “snd” or “hda” or “alsa” ?

And now that you know what a model option is, did you have a model option when that error message (see the red above) occurred? If so, then you applied the WRONG model option.

Well, that says a lot there. You have installed alsa-driver-kmp-default for the 2.6.25.16 kernel, but you have the 2.6.25.5-1.1 kernel. ie … you installed the wrong driver.

You need to install the driver that is consistent with your kernel version. The repository you need to go to in order to get the correct alsa-driver-kmp-default for your 2.6.25.5-1.1 kernel is Index of /repositories/multimedia:/audio:/KMP/openSUSE_11.0

There is specific guidance on how to do that here:
Alsa-update - openSUSE

That guide is very specific in noting you must install the alsa version that is specific to your kernel version!

Please follow this carefully. Installing the wrong driver indicates either:
a. that guide is totally confusing, and/or
b. you made a mistake because you could not understand that guide.

Now i have done everything you said.
And now the results of the commands you told me to give are these:

linux-oonb:/home/sarai # rpm -qa | grep alsa
alsa-oss-1.0.15-48.1
alsa-plugins-samplerate-32bit-1.0.16-57.1
alsa-tools-1.0.18.git20081030-1.1
alsa-oss-32bit-1.0.15-48.1
alsa-plugins-pulse-32bit-1.0.16-57.1
alsa-plugins-samplerate-1.0.16-57.1
alsa-plugins-jack-32bit-1.0.16-57.1
alsa-plugins-1.0.16-57.1
alsa-1.0.18.git20081030-1.1
alsa-plugins-pulse-1.0.16-57.1
alsa-plugins-maemo-1.0.16-57.1
alsa-driver-kmp-default-1.0.18.20081107_2.6.25.5_1.1-8.1
alsa-plugins-32bit-1.0.16-57.1
alsa-devel-1.0.18.git20081030-1.1
alsa-plugins-maemo-32bit-1.0.16-57.1
alsa-firmware-1.0.17.git20080617-2.1
FA_clalsadrv-1.1.0-136.1
alsa-plugins-jack-1.0.16-57.1
alsa-utils-1.0.18.git20081031-2.1
linux-oonb:/home/sarai # rpm -qa | grep pulse
libpulse-mainloop-glib0-0.9.10-26.1
libpulse-browse0-0.9.10-26.1
libpulse0-32bit-0.9.10-26.1
alsa-plugins-pulse-32bit-1.0.16-57.1
pulseaudio-utils-0.9.10-26.1
pulseaudio-module-bluetooth-0.9.10-26.1
pulseaudio-module-x11-0.9.10-26.1
gstreamer-0_10-pulse-0.9.5-54.1
libpulse0-0.9.10-26.1
alsa-plugins-pulse-1.0.16-57.1
libpulsecore4-0.9.10-26.1
pulseaudio-module-lirc-0.9.10-26.1
pulseaudio-esound-compat-0.9.10-26.1
pulseaudio-0.9.10-26.1
pulseaudio-module-zeroconf-0.9.10-26.1
libao-pulse-0.9.3-123.1
pulseaudio-module-gconf-0.9.10-26.1
linux-oonb:/home/sarai # rpm -q libasound2
libasound2-1.0.18.git20081030-1.1
linux-oonb:/home/sarai # uname -a
Linux linux-oonb 2.6.25.5-1.1-debug #1 SMP 2008-06-07 01:55:22 +0200 x86_64 x86_64 x86_64 GNU/Linux
linux-oonb:/home/sarai # cat /etc/modprobe.d/sound
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel

hmmm… I take it you still have no sound?

It reads to me that you installed way too many alsa applications. I note:

linux-oonb:/home/sarai # rpm -qa | grep alsa
alsa-oss-1.0.15-48.1
alsa-plugins-samplerate-32bit-1.0.16-57.1
alsa-tools-1.0.18.git20081030-1.1
alsa-oss-32bit-1.0.15-48.1
alsa-plugins-pulse-32bit-1.0.16-57.1
alsa-plugins-samplerate-1.0.16-57.1
alsa-plugins-jack-32bit-1.0.16-57.1
alsa-plugins-1.0.16-57.1
alsa-1.0.18.git20081030-1.1
alsa-plugins-pulse-1.0.16-57.1
alsa-plugins-maemo-1.0.16-57.1
alsa-driver-kmp-default-1.0.18.20081107_2.6.25.5_1.1-8.1
alsa-plugins-32bit-1.0.16-57.1
alsa-devel-1.0.18.git20081030-1.1
alsa-plugins-maemo-32bit-1.0.16-57.1
alsa-firmware-1.0.17.git20080617-2.1
FA_clalsadrv-1.1.0-136.1
alsa-plugins-jack-1.0.16-57.1
alsa-utils-1.0.18.git20081031-2.1 

Do you need all of those? The problem there is you have some at version 1.0.18 and some at 1.0.16. How do you know that that 1.0.16 versions will work ok with the 1.0.18 versions?

Did you install extra pulse applications? Looking at the massive number of pulse applications, I am guessing that you either have Gnome installed, or KDE4? Pulse audio is buggy in openSUSE-11.0, so I would recommend caution in installing more pulse audio apps. Many users actually deleted their pulse audio to work around problems.

OK, can you now run the diagnostic script please?

wget http://home.cfl.rr.com/infofiles/tsalsa && su -c 'bash ./tsalsa'

and post here the output URL provided ?

I want to see if your audio hardware is now recognized.

OK i did that.

But i am afraid some of the questions may have been answeres wrong as i wasnt sure what to answer there.

any way here is the result.

lsof: WARNING: can’t stat() fuse.gvfs-fuse-daemon file system /home/sarai/.gvfs
Output information may be incomplete.
uploading /tmp/tsalsa.txt to nopaste.com
Uploading /tmp/tsalsa.txt: #-------------------------------------------------] 0.2 Seconds
tsalsa completed in 129 seconds
paste this url in #alsa: tsalsa.txt - nopaste.com (beta)

OK, that was useful. It reports this:
Alsa driver: 1.0.16rc2
Alsa lib: 1.0.18
Alsa utils: 1.0.18
which means your driver version does not match your kernel version, and you still have a problem there, which may, or may not, prevent you from getting audio.

I note from your previous post you have installed:

alsa-1.0.18.git20081030-1.1
alsa-driver-kmp-default-1.0.18.20081107_2.6.25.5_1.1-8.1 

alsa-1.0.18 is dated 30-Oct-2008 and alsa-driver-kmp-default is dated 7-Nov-2008. When I go to the site that has alsa-1.0.18 I note it is the most current version. Hence they should work together.

This makes me wonder if you have done a reboot since you last installed an alsa application? Have you? You need to do that to unload and reload the drivers. Please reboot.

It also reports your sound card is recognized (finally !! ) and you have an ALC889. This is a very new hardware audio codec, and support is fairly recent for openSUSE. When I search the alsa site I get this for the alc889: Search results for ALC889 - AlsaProject

… anyway, I recommend you start by fixing your alsa.

open a gnome-terminal or a konsole, with your PC connected to the internet, and type “su” (no quotes - enter root password when prompted for a password) and then copy and paste the following:

zypper ar http://download.opensuse.org/repositories/multimedia:/audio/openSUSE_11.0/ multimedia1
zypper install alsa alsa-utils alsa-tools alsa-firmware alsa-oss-32bit alsa-oss libasound2 alsa-plugins-samplerate-32bit alsa-plugins-pulse-32bit alsa-plugins-samplerate alsa-plugins-jack-32bit alsa-plugins alsa-plugins-pulse alsa-plugins-maemo alsa-plugins-32bit alsa-devel alsa-plugins-maemo-32bit alsa-plugins-jack 
zypper rr multimedia1

It is likely you will be told many of the alsa apps are already installed, but it should update some more alsa apps, making your applications consistent. Then reboot !! Test your sound. I suspect it will still not work.

If so, then edit your /etc/modprobe.d/sound file, adding a new line at the end, so that it looks like this:

alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel 
options snd-hda-intel model=acer 

Then reboot. Test your sound.

If it still does not work, in your /etc/modprobe.d/sound file, replace “acer” with “acer-aspire” and try again. Test your sound.

Good luck.

OK the first thing you asked me if i had rebooted the pc to which the answer is yes i did.

then now i did the step you told me to in the command.

then i rebooted.

still no sound.

when i open the file sound , it looks like this:

options snd slots=snd-hda-intel

u1Nb.iXBPmqOEHcE:82801H (ICH8 Family) HD Audio Controller

alias snd-card-0 snd-hda-intel

Is this the way it should look?

should i change it to the way it is shown in your post ?

It should not matter. There are two tools that one can use to automatically configure their sound: YaST, or alsaconf. A third way is to do it manually by edits, which is what I am trying, since neither automatic method worked.

The format:

options snd slots=snd-hda-intel
# u1Nb.iXBPmqOEHcE:82801H (ICH8 Family) HD Audio Controller
alias snd-card-0 snd-hda-intel 

is created by going to YaST > Hardware > Sound and trying to configure your sound card. In the process of doing that it deleted the old /etc/modprobe.d/sound file and recreates a new file.

The format:

alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel 

which YOU provided me in a previous post, is created by running the program ‘alsaconf’. When you run ‘alsaconf’ it will delete your previous /etc/modprobe.d/sound file and create a new file.

So what I want you to do is add as the LAST line to that file (no matter which format you are using):

options snd-hda-intel model=acer 

and save that change. Do NOT, I repeat do NOT run “alsaconf” after making this edit, nor should you run YaST > Hardware > Sound > edit after making this edit, as running either will immediately delete your change (which is counter productive).

Also, what are you using as a sound test. I recommend you copy and paste the following line into a gnome-terminal or konsole, and use this as a sound test: speaker-test -Dplug:front -c2 -l5 -twavYou should hear a ladies voice saying 5 times: front right , front left, … etc …

Don’t forget to follow my previous instructions, … ie reboot. Test your sound.

If it still does not work, in your /etc/modprobe.d/sound file, replace “acer” with “acer-aspire” and try again. Test your sound.

i ran the command you told me to

speaker-test -Dplug:front -c2 -l5 -twav
i ran it before the editing the sound file and after it . 2 times in other words first time i ran it , it gave me an error and it kept repeating it over and over agian whi
ch is understandable …anyway after i edited the sound file i get this …

sarai@linux-oonb:~> speaker-test -Dplug:front -c2 -l5 -twav

speaker-test 1.0.18

Playback device is plug:front
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 16384
Period size range from 32 to 8192
Using max buffer size 16384
Periods = 4
was set period_size = 4096
was set buffer_size = 16384
0 - Front Left

but the wierd thing is that it stops . i mean it does not continue with the front right or anything just stops there…

should i change the “acer” to “acer aspire” or is there something else that is causing the problem.