weird behaviour!, sound nt working.

Hello all,
this is the second time i’m dealing with openSUSE 11 sound problem.
last time it happened, i switched to ubuntu(it sucks!). Installing it back, i’m agian finding the sound problem. i’ve followed the first step of the audio troublshooting guide and got this:

abhishek@linux-qucp:~> rpm -q alsa alsa-utils alsa-frimware
alsa-1.0.16-39.1
alsa-utils-1.0.16-35.1
package alsa-frimware is not installed
abhishek@linux-qucp:~> zypper install alsa-firmware
Root privileges are required for installing or uninstalling packages.
abhishek@linux-qucp:~> su
Password:
linux-qucp:/home/abhishek # rpm -q alsa alsa-utils alsa-firmware
alsa-1.0.16-39.1
alsa-utils-1.0.16-35.1
alsa-firmware-1.0.16-24.1
linux-qucp:/home/abhishek #
linux-qucp:/home/abhishek # zypper install alsa-firmware
Download (curl) error for ‘http://download.opensuse.org/update/11.0/repodata/repomd.xml’:
Error code:
Error message: Couldn’t resolve host ‘download.opensuse.org

Abort, retry, ignore? [A/r/i]: i
Download (curl) error for ‘http://download.opensuse.org/update/11.0/repodata/repomd.xml’:
Error code:
Error message: Couldn’t resolve host ‘download.opensuse.org

Abort, retry, ignore? [A/r/i]: i
Error building the cache database:
Download (curl) error for ‘http://download.opensuse.org/update/11.0/repodata/repomd.xml’:
Error code:
Error message: Couldn’t resolve host ‘download.opensuse.org

Warning: Disabling repository ‘Updates for 11.0’ because of the above error.
Download (curl) error for ‘http://download.opensuse.org/distribution/11.0/repo/oss/repodata/repomd.xml’:
Error code:
Error message: Couldn’t resolve host ‘download.opensuse.org

Abort, retry, ignore? [A/r/i]: i
Error building the cache database:
Download (curl) error for ‘http://download.opensuse.org/distribution/11.0/repo/oss/repodata/repomd.xml’:
Error code:
Error message: Couldn’t resolve host ‘download.opensuse.org

Warning: Disabling repository ‘openSUSE-11.0-Oss’ because of the above error.
Download (curl) error for ‘http://download.opensuse.org/distribution/11.0/repo/non-oss/repodata/repomd.xml’:
Error code:
Error message: Couldn’t resolve host ‘download.opensuse.org

Abort, retry, ignore? [A/r/i]: i
Error building the cache database:
Download (curl) error for ‘http://download.opensuse.org/distribution/11.0/repo/non-oss/repodata/repomd.xml’:
Error code:
Error message: Couldn’t resolve host ‘download.opensuse.org

Warning: Disabling repository ‘openSUSE-11.0-Non-Oss’ because of the above error.
Reading installed packages…
‘alsa-firmware’ is already installed.
Nothing to do.
linux-qucp:/home/abhishek #

What should i do?!

You need to be very accurate in the syntax of your commands, else you will get failures.

Are you certain you have your repositories setup correctly? If you are using openSUSE-11.0, then please follow the guidance here and setup ONLY OSS, non-OSS, Update and Packman. Only those 4. Remove others if you added others: Repositories/11.0 - openSUSE-Community

If using openSUSE-11.1, then please follow the guidance here and setup ONLY OSS, non-OSS, Update and Packman. Only those 4. Remove others if you added others: Repositories/11.1 - openSUSE-Community

Note your PC must be connected to the Internet when you are trying to install via zypper.

Next, with those added, you can try the troubleshooting guide again:
SDB:AudioTroubleshooting - openSUSE

Ensure you moved both master and PCM volume controls up in your mixer to 95% when testing sound. After you have confirmed basic sound you can move those down to a lower level to remove distortion.

Please note that to determine if you have sound, please copy and paste the following speaker-test into a Gnome terminal or a kde konsole: speaker-test -c2 -l5 -twavYou should hear a female voice saying ‘FRONT LEFT’, ‘FRONT RIGHT’ five times. If you hear that voice, then you likely have an application or a codec problem. Post if that is the case, and the advice then will be different.

If you have no success with the audio troubleshooting guide, then I will need more information if I am to make a recommendation … So can you provide more very detailed information so a good recommendation can be given?

  • In the case of openSUSE-11.1, you can do that, with your PC connected to the internet, by opening a gnome-terminal or a kde konsole and typing with root permissions twice:/usr/sbin/alsa-info.shthe first time it will update the diagnostic script, and the second time that will run the diagnostic script and post the output to a web site on the Internet. It will give you the URL of the web site. Please post that URL here. Just the URL.

  • In the case of openSUSE-11.0, with wget program installed, with your PC connected to the internet, instead copy and paste the following into a terminal , execute it, and post here the output URL that is provided :

wget -O alsa-info.sh http://www.alsa-project.org/alsa-info.sh && bash alsa-info.sh

Also, please to provide additional information, copy and paste the following commands one line at a time into a gnome-terminal or a konsole and post here the output: rpm -qa | grep alsa
rpm -qa | grep pulse
rpm -q libasound2
uname -a
cat /etc/modprobe.d/soundWe also need that output.

linux-qucp:/home/abhishek/Desktop # wget -O alsa-info.sh http://www.alsa-project.org/alsa-info.sh && bash alsa-info.sh
–2009-02-27 18:12:44-- http://www.alsa-project.org/alsa-info.sh
Resolving Main Page - AlsaProject… failed: Temporary failure in name resolution.
wget: unable to resolve host address `Main Page - AlsaProject

and the other set of commands gave the following:

linux-qucp:/home/abhishek/Desktop # rpm -qa | grep alsa
alsa-oss-1.0.15-48.1
alsa-utils-1.0.16-35.1
alsa-1.0.16-39.1
alsa-plugins-1.0.16-57.1
alsa-firmware-1.0.16-24.1
linux-qucp:/home/abhishek/Desktop # rpm -qa | grep pulse
linux-qucp:/home/abhishek/Desktop # rpm -qa libasound2
libasound2-1.0.16-39.1
linux-qucp:/home/abhishek/Desktop # uname -a
Linux linux-qucp 2.6.25.5-1.1-pae #1 SMP 2008-06-07 01:55:22 +0200 i686 i686i386 GNU/Linux
linux-qucp:/home/abhishek/Desktop # cat /etc/modprobe.d/sound
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-intel8x0

You need to run that with your PC connected to the internet. Sometimes the alsa site can be down.

Please try again, and to avoid your making a syntax error, I recommend you copy and paste it:

wget -O alsa-info.sh http://www.alsa-project.org/alsa-info.sh && bash alsa-info.sh

The computer has been connected to the internet all this time! And i’m copying and pasting all the commands!

Whats going wrong?!

I am not at a Linux PC right now, so I can not run the command. But I’ve run it many many dozens of times in the past. It works.

Are you behind a corporate firewall ? Many times corporate firewalls are very tight, and will block apps such as wget.

Alternatively, you could download the script, and then run it from a bash shell, as explained here: SDB:AudioTroubleshooting - script to run to obtain detailed information - openSUSE

i’m on my college internet.
Anyways, i’ve downloaded the alsa-info.sh manually and ran it in the konsole. Then it updates the file itself and asks me to run it from the new location “/tmp”.
Then none of the files (the one i downloaded and the new one) give any output!

If you downloaded the file alsa-info.sh to /home/your username, simply open a bash shell and type:
[INDENT]bash alsa-info.sh --no-upload [/INDENT]
that will save the text file alsa-info.txt in /tmp (don’t confuse alsa-info.txt with alsa-info.sh … one is the output text file, the other is the executeable script file).

Then open up alsa-info.txt with a text editor, and paste it to general pastebin - simplified internet collaboration or another paste bin site.

This sort of stuff is all second nature and takes seconds :slight_smile: … don’t be discouraged … there will come a time when this is second nature to you also. :slight_smile:

Hey oldcpu!
i just changed the bad thing (kde 4 to kde 3.5) and miraculously the firmware got installed in one go and everything’s working fine now!

Anyways, thank you for your kind help and of course, time!

Abhishek.

Glad to read its working.