No Sound in OpenSUSE 11.1

I am using a Gateway laptop and am having a hard time getting sound. I would appreciate it if someone could help me out.

linux-z3hr:/etc/init.d/rc5.d> uname -a
Linux linux-z3hr 2.6.27.7-9-default #1 SMP 2008-12-04 18:10:04 +0100 i686 i686 i386 GNU/Linux

http://www.alsa-project.org/db/?f=dd04df80355187db0b0ee6fe2cc6ead8c5a80d61

Thanks

When testing your sound, please copy and paste the following speaker-test into a gnome terminal or a kde konsole.
speaker-test -c2 -l5 -twav
You should hear a lady’s voice saying ‘FRONT LEFT’, ‘FRONT RIGHT’ five times.

If that does not work, I see your laptop has a stac9250. Its possible an update to your /etc/modprobe.d/sound file will fix this. Can you post the output of copying and pasting the following into a gnome terminal or a kde konsole:
rpm -qa | grep alsa
rpm -qa | grep pulse
rpm -q libasound2
uname -a
cat /etc/modprobe.d/sound

I note that 1.0.18a of alsa has the following list in the ALSA-Configuration.txt file for the STAC9250. So once we have the output of the above, we can propose an edit to your /etc/modprobe.d/sound file from this list. The list is here:

	STAC9202/9250/9251
	  ref		Reference board, base config
	  m2-2		Some Gateway MX series laptops
	  m6		Some Gateway NX series laptops
	  pa6		Gateway NX860 series

Thanks for the quick reply. Below is the output of the commands you asked me to run.

FYI: My laptop is a Gateway MX6930

ares:~ # rpm -qa | grep alsa
alsa-driver-kmp-default-1.0.18.20090112_2.6.27.7_9.1-4.1
alsa-tools-1.0.18.git20081201-1.6
alsa-plugins-pulse-1.0.18-6.12
alsa-utils-1.0.18.git20081122-1.9
alsa-plugins-1.0.18-6.12
alsa-oss-1.0.17-1.37
alsa-1.0.18.git20090106-1.1
alsa-firmware-1.0.17.git20081202-2.3
ares:~ # rpm -qa | grep pulse
pulseaudio-module-zeroconf-0.9.12-9.6
libpulsecore4-0.9.12-9.6
pulseaudio-utils-0.9.12-9.6
pulseaudio-module-jack-0.9.12-9.6
libpulse0-0.9.12-9.6
libpulse-mainloop-glib0-0.9.12-9.6
alsa-plugins-pulse-1.0.18-6.12
pulseaudio-module-lirc-0.9.12-9.6
pulseaudio-0.9.12-9.6
pulseaudio-module-bluetooth-0.9.12-9.6
libpulse-browse0-0.9.12-9.6
pulseaudio-esound-compat-0.9.12-9.6
libxine1-pulse-1.1.15-20.8
pulseaudio-module-x11-0.9.12-9.6
ares:~ # rpm -q libasound2
libasound2-1.0.18.git20090106-1.1
ares:~ # uname -a
Linux ares 2.6.27.7-9-default #1 SMP 2008-12-04 18:10:04 +0100 i686 i686 i386 GNU/Linux
ares:~ # cat /etc/modprobe.d/sound

options snd slots=snd-hda-intel

u1Nb.sBxdZWtb8gD:82801G (ICH7 Family) High Definition Audio Controller

alias snd-card-0 snd-hda-intel

And I just realized I didn’t note that the sound test didn’t work. I ran it as root and it at least acted like it was going to work but I didn’t get any sound. If I run it as a normal user I get the following result

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
ALSA lib pcm_dmix.c:975:(snd_pcm_dmix_open) unable to create IPC semaphore
Playback open error: -13,Permission denied
ALSA lib pcm_dmix.c:975:(snd_pcm_dmix_open) unable to create IPC semaphore
Playback open error: -13,Permission denied
ALSA lib pcm_dmix.c:975:(snd_pcm_dmix_open) unable to create IPC semaphore
Playback open error: -13,Permission denied
ALSA lib pcm_dmix.c:975:(snd_pcm_dmix_open) unable to create IPC semaphore
Playback open error: -13,Permission denied

I modified /etc/modprobe.d/sound to include the model based on your posting from the alsa source

more /etc/modprobe.d/sound

options snd-hda-intel model=m2-2
options snd slots=snd-hda-intel

u1Nb.sBxdZWtb8gD:82801G (ICH7 Family) High Definition Audio Controller

alias snd-card-0 snd-hda-intel

I still have no sound.

Did you restart alsa after making the modification? You need to restart either by rebooting, or by typing in a konsole or gnome-terminal: su -c ‘rcalsasound restart’ and then restart your mixer and then run the speaker test. Try running the speaker test as a regular user, and also as user root.

If that does not work, replace “m2-2” with “ref” and try again (restart alsa, mixer, run speaker-tests). If that does not work, replace “ref” with “m6” and try again (restart alsa, mixer, run speaker-tests).

I tried all 4 model options with the same results. Any more ideas?

Check your mixer. When testing your audio, I recommend you move your settings up to 95%, and back off from that level (to reduce distortion) only AFTER you get basic sound functioning.

I note this:

!!Amixer output
!!-------------

!!-------Mixer controls for card 0 [Intel]

Card hw:0 ‘Intel’/‘HDA Intel at 0xd8240000 irq 22’
Mixer name : ‘SigmaTel STAC9250’
Components : ‘HDA:83847634 HDA:10573057’
Controls : 16
Simple ctrls : 11
Simple mixer control ‘Master’,0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 31
Mono: Playback 21 68%] -15.00dB] [on]
Simple mixer control ‘Headphone’,0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 21 68%] -15.00dB] [on]
Front Right: Playback 21 68%] -15.00dB] [on]
Simple mixer control ‘Mono’,0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback off]

!!Amixer output
!!-------------

!!-------Mixer controls for card 0 [Intel]

Card hw:0 ‘Intel’/‘HDA Intel at 0xd8240000 irq 22’
Mixer name : ‘SigmaTel STAC9250’
Components : ‘HDA:83847634,107b0366,00100101 HDA:10573057,00010001,00100100’
Controls : 11
Simple ctrls : 8
Simple mixer control ‘Master’,0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 31
Mono: Playback 31 [100%] [0.00dB] [on]
Simple mixer control ‘PCM’,0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 255 [100%] [0.00dB]
Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control ‘Capture’,0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 15
Front Left: Capture 0 [0%] [0.00dB] [off]
Front Right: Capture 0 [0%] [0.00dB] [off]
Simple mixer control ‘Caller ID’,0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control ‘Input Source’,0
Capabilities: cenum
Items: ‘Mic’ ‘CD’
Item0: ‘Mic’
Simple mixer control ‘Mux’,0
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 4
Front Left: Capture 0 [0%] [0.00dB]
Front Right: Capture 0 [0%] [0.00dB]
Simple mixer control ‘Off-hook’,0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control ‘Speaker’,0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 31 [100%] [0.00dB] [on]
Front Right: Playback 31 [100%] [0.00dB] [on]

http://www.alsa-project.org/db/?f=529383acc9f2c819b9c80717f8e7b67c07b5b01d

I adjusted everything I knew how to in mixer and still no sound. Why is this so difficult in OpenSUSE?

Thanks for sticking with me to try and figure this out.

–rugger

Typically it is very easy with openSUSE. The sound “just worked” in the 4 PCs that I installed openSUSE-11.1.

IMHO you have 2 options:

  • write a bug report on openSUSE and get the attention of a developer Submitting Bug Reports - openSUSE , or
  • try removing pulse audio to see if that makes any difference

Does your sound work with another operating system (such as Vista or WinXP) ?

Thanks for your assistance in this. I was hoping this would work itself out so I could start using OpenSUSE again. I have had problems with sound in the past with OpenSUSE on this laptop (and my other as well) but this was on 10.x releases.

I have had this working with several OS’s, OpenSUSE is the only one I had any issue with at all. This includes Fedora and Ubuntu (several releases of each with no issue). I have also had XP, Vista, and Windows 7 installed with no issue.

The instability of the sound system is a large part of why I switched from OpenSUSE. That and package management which is exponentially better now.

I will see if removing pulseaudio will help, if not I may open a bug report because I’d really like to get this working. I’m really impressed with this release, with this one obvious exception.

Thanks for all your assistance, if uninstalling pulseaudio helps I will let you know.

Thanks again
–rugger

Of the 2 last computers I bought, Toshiba Laptop and Biostar-based server, they both had RealTek HD audio. I only got everything working once I downloaded the RealTek Alsa drivers and installed (had to compile for 32 and 64 bit, too)

For what it’s worth.

What kind of hardware we talking about here?

…Dan

If it works under fedora, it should work under openSUSE.

Ubuntu is not IMHO a good example, as the Ubuntu dev team are notorious for implementing fixes to Ubuntu, but not passing the fixes upstream. That “anti-share” Ubuntu policy is one reason why I refuse to use Ubuntu.

The laptop is a Gateway MX6930 with integrated intel sound.

I agree that if this works under fedora then it should work under openSUSE, unfortunately it doesn’t. I had the same issue with my old laptop but that was several releases ago for each.

I was just looking at the Packman repo, as I remembered using that for some non-oss features in the past. I did see a different version of libaudio there - 2-1.9.1-0.pm.2. I installed that and will see if it helps on the next reboot. I tried restarting audio system but it didn’t work so I’ll try the windows approach with a reboot.

I’m trying to remember if the audio worked on the live CD…I’ll let you know how that goes.

I’m not a huge fan of Ubuntu which is why I’ve been trying each release of OpenSUSE since I switched. I had audio and video issues around 10.3 I think so I switched.

If what you say about the Ubuntu dev “policy” is true I wish they’d change that because I’ve rarely had an issue with hardware on their releases.

If I can’t get this figured out I’m going to try a reinstall and see if that makes any difference. If you have any more ideas I’d appreciate it.

–rugger

What is the # of the openSUSE bug report you raised (per my recommendation above) ?

If you have not done so (raised a bug report), then please do so. The openSUSE dev who handles those reports is also an alsa dev, and there is an excellent possibility they may know of a solution, where I do not.

Well, I didn’t open a bug report because I decided to run the live CD again. The sound didn’t work at first, still annoying, but I was able to use the steps you had me run through previously and it worked.

I did a clean install and configured using your steps and it is working. I must have screwed something up in my initial attempts to resolve. I do think this should just work, I shouldn’t need to enter a model number or really do any config on the sound but it works and I’m up and running so I’m happy.

On a side note, my first install the display wasn’t correctly detected and I had to manually modify xorg.conf to set the correct resolution options. The new install worked just fine.

So far so good now. If I run into any more issues I’m sure I’ll post again. I truly appreciate you taking the time to help me out on this.

–rugger

Congratulation on getting this to work.

It is true that when giving a recommendation, one has to assume it is followed appropriately. It is very difficult to detect when a suggestion is not followed (as intended), without belaboring a thread with excessive requests to repeat what one has conducted. And often it is difficult to provide sufficiently precise instructions.

I’m glad to read you were able to sort this.

Now that is a lot of brass air fittings Wholesale Tools With Free Shipping World Wide From China Distributor there is just about every type
of air fitting that you could want. Wholesale prices too. I guess these could be used as small water pipe fitting also. I
used some of the parts to make my babington wvo bu

Your instructions were fine, I had installed some packages per another thread I was reading to see if I could resolve it and I’m wondering if that was causing an issue. I do notice that the test feature under the sound module in Yast doesn’t seem to actually work on my system. Anyway…it is working now. On to the next issue -

If this should go to a new thread then I can start a new one but now that sound is working it sounds like crap. Even at moderate volume levels it sounds distorted like the bass is cranked up or something and if I turn it up all the way it just sounds like the speakers are being completely over powered.

Is this just a matter of tweaking the channels until I can get a reasonable sound or is there something else I can do? For all the adjusting of levels I did in kmix last night it still sounded like total crap even at 50% max.

–rugger

Most of the time it is a question of volume levels.

Typically 65% or so volume levels will provide distortion free sound.

The application vlc is notorious for poor sound. Keep the volume levels on that application down to the bare minimum.

Sometimes it is necessary to go to YaST > Hardware > Sound and move one’s volume levels UP there, and move them down in one’s mixer under PCM and Master Volume.

Sometimes an alsa update helps, but in your case you have the latest alsa.