Hello.
I have installed SuSE 11.1 and I can’t seem to get any audio out of it. I tried google but it proved less than helpful. My mainboard is a DG33TL and it had Sigmatel STAC9271D audio. I am at a loss. Any help is appreciated.
Try working your way thru the openSUSE audio troubleshooting guide:
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? 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, the following twice:
/usr/sbin/alsa-info.shthe first time it will update the diagnostic script, and the second time the diagnostic script will post the output (of your PCs hardware/software audio config) 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.
Also, please 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.
Thank you for the assistance. When I edit my /etc/modprobe.d/sound (which looks like this):
**options snd slots=snd-hda-intel
u1Nb.faoYkGmAqsA:82801I (ICH9 Family) HD Audio Controller
alias snd-card-0 snd-hda-intel**
to look like this:
options snd slots=snd-hda-intel model=5stack
# u1Nb.faoYkGmAqsA:82801I (ICH9 Family) HD Audio Controller
alias snd-card-0 snd-hda-intel
it produces the following errors during rcalsasound restart:
Shutting down sound driver done
Starting sound driver: hda-intelWARNING: Error inserting snd (/lib/modules/2.6.27.7-9-default/updates/alsa/acore/snd.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_timer (/lib/modules/2.6.27.7-9-default/updates/alsa/acore/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_pcm (/lib/modules/2.6.27.7-9-default/updates/alsa/acore/snd-pcm.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_hwdep (/lib/modules/2.6.27.7-9-default/updates/alsa/acore/snd-hwdep.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_hda_codec (/lib/modules/2.6.27.7-9-default/updates/alsa/pci/hda/snd-hda-codec.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_hda_intel (/lib/modules/2.6.27.7-9-default/updates/alsa/pci/hda/snd-hda-intel.ko): Unknown symbol in module, or unknown parameter (see dmesg)
failed
this is the guide I’m using: SDB:Intel-HDA sound problems - openSUSE
Thats a good guide. … But if you wish to follow that guide, you will need get the author of that guide to help you. … I wrote this guide: SDB:AudioTroubleshooting - openSUSE and I gave it my best shot in my previous post, together with an information request.
Good luck with your effort on a different solution path.
Oh sorry, I found that guide from a link on your guide and thought it was another section. Here are the URL’s
http://www.alsa-project.org/db/?f=0c5d465a55a050c5e2f91885e11dc080dedab652
http://www.alsa-project.org/db/?f=f65f28081abeab8d023270d06904500b4ccd12b3
rpm -qa | grep alsa
alsa-plugins-pulse-1.0.19.git20090218-1.3
alsa-oss-32bit-1.0.17.git20080715-2.20
alsa-driver-kmp-default-1.0.19.20090221_2.6.27.7_9.1-1.1
alsa-firmware-1.0.19.git20090120-1.1
alsa-oss-1.0.17.git20080715-2.20
alsa-driver-unstable-kmp-default-1.0.19.20090220_2.6.27.7_9.1-3.1
alsa-1.0.19.git20090218-1.1
alsa-utils-1.0.19.git20090221-1.1
alsa-plugins-1.0.19.git20090218-1.3
rpm -qa | grep pulse
libpulse0-0.9.12-9.5
libpulse-browse0-0.9.12-9.5
pulseaudio-module-lirc-0.9.12-9.5
libpulse-mainloop-glib0-0.9.12-9.5
pulseaudio-utils-0.9.12-9.5
pulseaudio-module-x11-0.9.12-9.5
alsa-plugins-pulse-1.0.19.git20090218-1.3
pulseaudio-module-zeroconf-0.9.12-9.5
vlc-aout-pulse-0.9.8a-12.5
libpulsecore4-0.9.12-9.5
libpulse0-32bit-0.9.12-9.6
pulseaudio-module-bluetooth-0.9.12-9.5
pulseaudio-module-gconf-0.9.12-9.5
pulseaudio-0.9.12-9.5
pulseaudio-esound-compat-0.9.12-9.5
rpm -q libasound2
libasound2-1.0.19.git20090218-1.1
uname -a
Linux linux-7opm 2.6.27.7-9-default #1 SMP 2008-12-04 18:10:04 +0100 x86_64 x86_64 x86_64 GNU/Linux
cat /etc/modprobe.d/sound
options snd slots=snd-hda-intel
options snd-hda-intel model=5stack
u1Nb.faoYkGmAqsA:82801I (ICH9 Family) HD Audio Controller
alias snd-card-0 snd-hda-intel
*
****Please note that I added the second line as described in your guide
Thanks. What is the significance of two different outputs of the script? Is there two because you did not update the script the first time, but rather just ran it without updating?
OK, there is a problem here with your rpms… You should NOT install alsa-driver-unstable-kmp-default at the same time as alsa-driver-kmp-default. So please REMOVE alsa-driver-unstable-kmp-default, and reboot your PC.
That was a good try. But remove that line for now, and try to see if your sound works after removing alsa-driver-unstable-kmp-default. If it does not, then you can put that line back in and try again.
I note the following options for the STAC927x for alsa:
STAC9227/9228/9229/927x
=======================
ref Reference board
ref-no-jd Reference board without HP/Mic jack detection
3stack D965 3stack
5stack D965 5stack + SPDIF
dell-3stack Dell Dimension E520
dell-bios Fixes with Dell BIOS setup
so if 5stack does not work, you can also try each of the other options, one at a time, restarting alsa in between each attempt with: su -c ‘rcalsasound restart’ entering root password when prompted and also restart your mixer.
For determining sound functionality, try each of the two speaker tests, to see if one will work (and try each as a regular user and with root permissions). There is guidance here: SDB:AudioTroubleshooting - how to test your sound - openSUSE
Hello again. I have removed that extra package and have been working through your tutorial and I have noticed some things. My card is definitely the 5stack option as it is the only profile that recognizes the SPDIF. When I test it it produces no errors but there is still no sound. However, when i try to use the analog inputs they give the same error regardless of the options used in /etc/modprobe.d/sound.
**
audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! gconfaudiosink: Could not open audio device for playback.**
Does this help at all?
Also I updated and re-ran the alsa script. Here is the url:
http://www.alsa-project.org/db/?f=8ae2f66db9601ed808e6fa6c9b076ecbc24d64e4
Thank you for your patience.
Hmmmm… I don’t know. To me the ultimate test is successful sound, not whether SPDIF is recognized.
It doesn’t mean anything to me.
Did you try BOTH sound tests as a regular user, and alsa as user root? ie
speaker-test -Dplug:front -c2 -l5 -twavand if that does not work try: speaker-test -c2 -l5 -twav
Try as a regular user and as root.
ok, somethings in that puzzle me:
!!Amixer output
!!-------------
!!-------Mixer controls for card 0 [Intel]
Card hw:0 ‘Intel’/‘HDA Intel at 0xe0420000 irq 22’
Mixer name : ‘SigmaTel STAC9271D’
Simple mixer control ‘Master’,0
Mono: Playback 100 79%] -20.25dB] [on]
Simple mixer control ‘Front’,0
Front Left: Playback 100 79%] -20.25dB] [on]
Front Right: Playback 100 79%] -20.25dB] [on]
Simple mixer control ‘Surround’,0
Front Left: Playback 127 [100%] [0.00dB] [off]
Front Right: Playback 127 [100%] [0.00dB] [off]
Simple mixer control ‘Center’,0
Mono: Playback 127 [100%] [0.00dB] [off]
Simple mixer control ‘LFE’,0
Mono: Playback 127 [100%] [0.00dB] [off]
Simple mixer control ‘Side’,0
Front Left: Playback 127 [100%] [0.00dB] [off]
Front Right: Playback 127 [100%] [0.00dB] [off]
Simple mixer control ‘IEC958’,0
Mono: Playback [off]
Simple mixer control ‘IEC958 Default PCM’,0
Mono: Playback [on]
Simple mixer control ‘IEC958 Playback Source’,0
Items: ‘Digital Playback’ ‘ADAT’ ‘Analog Mux 1’ ‘Analog Mux 2’ ‘Analog Mux 3’
Item0: ‘Digital Playback’
Simple mixer control ‘Analog Loopback’,0
Mono: Playback [off]
Simple mixer control ‘Swap Center/LFE’,0
Mono: Playback [off]
You have your volume @ 78%. For testing moving it up to 95% and then back off once you have audio established. Sometimes the control range is not linear.
In some cases your mixer has a function OFF, but has the volume control set to 100%. Whats the intention for that? In some cases you have digital audio IEC958 OFF, and other cases ON. Why the inconsistency? Typically analog loopback should be OFF, but I have read of claims by users who state switching it ON got their audio to work. You could try experimenting with that. What happens if you turn surround sound on?
If you tried ALL the model options , AND if you tested each option thorough with different mixer settings, and if you still have no audio, you should write a bug report: Submitting Bug Reports - openSUSE
Its amazing how with a little patience you can go from no audio on any channel to full digital surround with spdif out. You have done me a great service. When I’m a little more proficient at linux I’ll return the favor to the community.
Thanks.
The issue was some options in the mixer were counter acting each other. I quickly got analog on the audio test. All I had to do for digital was add the model=5stack line in the sound file.
Congratulations on sorting this. … Thanks for sharing your solution.
hello,
im very new to linux and see to have the same problems. Sorry for the bad english. I learning to speak two weeks ago. i have followd the first part of the steps in the SDB:Audio troubleshooting and these are my results.
i hav test the sound and i dont hear the lady speaking.
here is my url:
http://www.alsa-project.org/db/?f=7d775376c35e290cce26fb84e5d83e0963971487
also these are the results when i type the command on the konsole:
rpm -qa | grep alsa
alsa-utils-1.0.18-6.4
alsa-devel-1.0.18-8.7
alsa-1.0.18-8.7
alsa-plugins-1.0.18-6.12
alsa-plugins-pulse-1.0.18-6.12
alsa-oss-1.0.17-1.37
rpm -qa | grep pulse
pulseaudio-module-zeroconf-0.9.12-9.6
libpulsecore4-0.9.12-9.6
libpulse-browse0-0.9.12-9.6
pulseaudio-utils-0.9.12-9.6
pulseaudio-module-x11-0.9.12-9.6
pulseaudio-module-bluetooth-0.9.12-9.6
pulseaudio-module-lirc-0.9.12-9.6
libpulse0-0.9.12-9.6
libxine1-pulse-1.1.15-20.8
pulseaudio-0.9.12-9.6
pulseaudio-esound-compat-0.9.12-9.6
libpulse-mainloop-glib0-0.9.12-9.6
alsa-plugins-pulse-1.0.18-6.12
pulseaudio-module-jack-0.9.12-9.6
rpm -q libasound2
libasound2-1.0.18-8.7
uname -a
Linux linux-nrc7 2.6.27.19-3.2-pae #1 SMP 2009-02-25 15:40:44 +0100 i686 i686 i386 GNU/Linux
cat /etc/modprobe.d/sound
options snd slots=snd-hda-intel
u1Nb.uI7Vp9nVK5B:82801I (ICH9 Family) HD Audio Controller
alias snd-card-0 snd-hda-intel
I see that your PC has an IDT 92HD71B7X hardware audio codec.
Sound on hardware that uses that audio codec was broken with the recent kernel update from the 2.6.27.7_9 kernel to the 2.6.27.19_3.2 kernel, requiring an update to 1.0.19 of alsa as built/packaged on the openSUSE build service site… I see that your computer has the 2.6.27.19_3.2 kernel. Hence you need to update your alsa.
You can do that by opening a konsole or a terminal, type “su” (no quotes - enter root password when prompted) and with your PC connected to the internet, copy and paste and execute, one at a time in sequence, the following six zypper commands:
zypper ar http://download.opensuse.org/repositories/multimedia:/audio/openSUSE_11.1/ multimedia
zypper install alsa alsa-devel alsa-oss alsa-plugins alsa-plugins-pulse alsa-utils alsa-tools alsa-firmware libasound2
zypper rr multimedia
zypper ar http://download.opensuse.org/repositories/multimedia:/audio:/KMP/openSUSE_11.1_Update/ multimedia
zypper install alsa-driver-kmp-pae
zypper rr multimedia
Then restart your PC and test your sound.
If that still does not work, please post here and there are some edits I can give that you can try in your /etc/modprobe.d/sound file.