Sound problem in opensuse 11.1

I have a fresh installation of the opensuse 11.1.I faced the sound problem. I applied the all the steps described in sound troubleshooting guide still I am not able to hear the sound.
I have run the alsa-info script and here is the url.

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

I found some strange messages in dmesg and here is the related output of the messages 

Jun 17 19:27:09 Amrish-OpenSuse kernel: ALSA /usr/src/packages/BUILD/alsa-driver/pci/hda/…/…/alsa-kernel/pci/hda/hda_codec.c:3855: hp_outs=1 (0xa/0x0/0x0/0x0/0x0)
Jun 17 19:27:09 Amrish-OpenSuse kernel: ALSA /usr/src/packages/BUILD/alsa-driver/pci/hda/…/…/alsa-kernel/pci/hda/hda_codec.c:3856: mono: mono_out=0x0
Jun 17 19:27:09 Amrish-OpenSuse kernel: ALSA /usr/src/packages/BUILD/alsa-driver/pci/hda/…/…/alsa-kernel/pci/hda/hda_codec.c:3859: dig-out=0x21/0x0
Jun 17 19:27:09 Amrish-OpenSuse kernel: ALSA /usr/src/packages/BUILD/alsa-driver/pci/hda/…/…/alsa-kernel/pci/hda/hda_codec.c:3867: inputs: mic=0xe, fmic=0xb, line=0xc, fline=0x0, cd=0x0, aux=0x0
Jun 17 19:27:09 Amrish-OpenSuse kernel: ALSA /usr/src/packages/BUILD/alsa-driver/pci/hda/…/…/alsa-kernel/pci/hda/hda_codec.c:3869: dig-in=0x22
Jun 17 19:27:09 Amrish-OpenSuse kernel: ALSA /usr/src/packages/BUILD/alsa-driver/pci/hda/…/…/alsa-kernel/pci/hda/patch_sigmatel.c:3177: stac92xx: dac_nids=4 (0x2/0x5/0x4/0x3/0x0)
Jun 17 19:27:09 Amrish-OpenSuse kernel: input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input23
Jun 17 19:27:10 Amrish-OpenSuse kernel: input: HDA Intel Line In at Ext Rear Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input24
Jun 17 19:27:10 Amrish-OpenSuse kernel: input: HDA Intel Mic at Ext Front Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input25
Jun 17 19:27:10 Amrish-OpenSuse kernel: input: HDA Intel Mic at Ext Rear Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input26
Jun 17 19:27:10 Amrish-OpenSuse kernel: input: HDA Intel Line Out at Ext Rear Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input27
Jun 17 19:27:10 Amrish-OpenSuse kernel: input: HDA Intel Line Out at Ext Rear Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input28
Jun 17 19:27:10 Amrish-OpenSuse kernel: input: HDA Intel Line Out at Ext Rear Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input29
Jun 17 19:27:10 Amrish-OpenSuse kernel: input: HDA Intel Line Out at Ext Rear Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input30
Jun 17 19:27:10 Amrish-OpenSuse kernel: input: HDA Intel HP Out at Ext Front Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input31

I think I have supplied enough information so that u can figure out the problem. so Please help me in this concern. 

Amrish

Thanks, that URL was helpful.

Ok, … interesting, but it means nothing to me re:your sound problem. Does it mean some thing to you?

Possibly, possibly-not. Can you provide the output of:
rpm -qa | grep alsa
rpm -qa | grep pulse
cat /etc/modprobe.d/sound

Now, you say you followed the audio trouble shooting guide. That guide gives instructions on doing edits to your /etc/modprobe.d/sound file. So, please advise which edits you applied, as given guidance by the guide??

I assume you noted this is the list of possible settings (where only one is applied at a time) - the guide gives more detail:

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
  auto		BIOS setup (default)

If you need help in how to apply each of those settings, one at a time, please advise.

My replies may be very slow and intermittent. I am on vacation in Asia currently, and I normally live in Europe.

thanks for your warm response.

My replies may be very slow and intermittent. I am on vacation in Asia currently, and I normally live in Europe.

Don't worry about the problems, just leave it aside and enjoy your vacation fully. Give the response at your liesure.
I have followed the trouble shooting guide, but i have not made any change in my /etc/modprob.d/sound. here is the output of my /etc/modprobe.d/sound

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

here is the output of the rpm -qa |grep alsa

amrish@Amrish-OpenSuse:~> sudo rpm -qa|grep alsa
alsa-tools-1.0.20-10.2
alsa-devel-1.0.18-8.7
alsa-driver-kmp-pae-1.0.20.20090617_2.6.27.7_9.1-1.1
alsa-1.0.18-8.7
alsa-utils-1.0.20-9.3
alsa-oss-1.0.17-2.11
alsa-plugins-pulse-1.0.20-7.6
alsa-firmware-1.0.20-5.1
alsa-plugins-1.0.20-7.6

here is output of rpm -qa |grep pulse

amrish@Amrish-OpenSuse:~> sudo rpm -qa|grep pulse
pulseaudio-module-gconf-0.9.12-9.6
libpulse-mainloop-glib0-0.9.12-9.6
pulseaudio-utils-0.9.12-9.6
libxine1-pulse-1.1.15-20.8
pulseaudio-module-x11-0.9.12-9.6
pulseaudio-module-bluetooth-0.9.12-9.6
pulseaudio-module-jack-0.9.12-9.6
libpulse-browse0-0.9.12-9.6
pulseaudio-module-zeroconf-0.9.12-9.6
libpulsecore4-0.9.12-9.6
pulseaudio-esound-compat-0.9.12-9.6
alsa-plugins-pulse-1.0.20-7.6
pulseaudio-0.9.12-9.6
pulseaudio-module-lirc-0.9.12-9.6

so here the information. so reply at your convience.

Amrish

OK, you could try running:

  • YaST > Hardware > Sound and configure your sound card. YaST has some bugs wrt sound, so after configuring your sound card, using the speaker tests in the audio troubleshooting guide to test your sound, and not the YaST speaker test. Be certain to move volume up to 95% when testing for basic sound. If that does not work, then:
  • type with root permissions “alsaconf” (no quotes) and configure your sound. Again, use the speaker test in the audio troubleshooting guide to test your sound. Again, move volume up to 95% when testing for basic sound

If that does not work, we could work under the assumption that the alsa auto probe is not successful in configuring your sound device.

To do that, you need to add a line to the start of your /etc/modprobe.d/sound file. If you recall the options are:

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
  auto		BIOS setup (default)

So lets say we wish to try “3stack”. Then to try “3stack” add this line:

options snd-hda-intel model=3stack

For example, if your original file was this:

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

Then you would change it to this:

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

Note, to edit the file you need to use root permissions:

  • in Gnome, type: gnomesu ‘gedit /etc/modprobe.d/sound’
  • in KDE, type: kdesu ‘kwrite /etc/modprobe.d/sound’

Then after edit is done, restart your alsa/sound device by typing: su -c ‘rcalsasound restart’ and then restart your PC’s mixer, and test your sound using the speaker test from the audio troubleshooting guide. SDB:AudioTroubleshooting - openSUSE Note you MUST try all 3 speaker-tests, as it is quite common for 2 of the 3 NOT to work, and only 1 work.

If “3stack” does not work, use a different model, such as “5stack”. Then repeat the above (make/save the change (ie replace “3stack” with “5stack” and restart alsa and restart your mixer and test your sound), … Do that for each of the model options, until you find one where one of the speaker tests work.

Hi it seems that I have the same problem, I was wondering if I should also edit my /etc/modprobe.d/sound file. this is what it looks like now.

options snd slots=snd-intel8x0

W60f.6OdAQAG1g18:82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC’97 Audio Controller

alias snd-card-0 snd-intel8x0

I have no sound at all.

thanks

Hmmm ok so I went ahead and edited the sound file by adding the stack and my speaker disappear, when I tried yast2 sound it asked me to reconfigure the device. still now I have no sound nor the speaker in upper right corner, also the sound file reverts back to original :frowning:

Wow so I have sound I dont really know how it happen but is here the sound file looks the same, my system is using the pcm line and my kmix looks different. Thank you anyway.

I have run alsaconf. I have also applied following changes to my system.

options snd-hda-intel model=3stack
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
and
su -c ‘rcalsasound restart’

when I tried speaker test I encounterd following error

Amrish-OpenSuse:/home/amrish # speaker-test -c2 -l5 -twav

speaker-test 1.0.20

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
ALSA lib pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave
Playback open error: -2,No such file or directory
ALSA lib pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave
Playback open error: -2,No such file or directory
ALSA lib pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave
Playback open error: -2,No such file or directory
ALSA lib pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave
Playback open error: -2,No such file or directory
^C

Amrish-OpenSuse:/home/amrish # speaker-test -Dplug:front -c2 -l5 -twav

speaker-test 1.0.20

Playback device is plug:front
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Playback open error: -2,No such file or directory

Playback open error: -2,No such file or directory
Playback open error: -2,No such file or directory
^C

I made strace on the above commands and I find following results.

strace -Ff speaker-test -c2 -l5 -twav

open(“/dev/snd/controlC1”, O_RDONLY) = -1 ENOENT (No such file or directory)
open(“/dev/snd/controlC2”, O_RDONLY) = -1 ENOENT (No such file or directory)
open(“/dev/snd/controlC3”, O_RDONLY) = -1 ENOENT (No such file or directory)
open(“/dev/snd/controlC4”, O_RDONLY) = -1 ENOENT (No such file or directory)
open(“/dev/snd/controlC5”, O_RDONLY) = -1 ENOENT (No such file or directory)
open(“/dev/snd/controlC6”, O_RDONLY) = -1 ENOENT (No such file or directory)
open(“/dev/snd/controlC7”, O_RDONLY) = -1 ENOENT (No such file or directory)
open(“/dev/snd/controlC8”, O_RDONLY) = -1 ENOENT (No such file or directory)
open(“/dev/snd/controlC9”, O_RDONLY) = -1 ENOENT (No such file or directory)
open(“/dev/snd/controlC10”, O_RDONLY) = -1 ENOENT (No such file or directory)
open(“/dev/snd/controlC11”, O_RDONLY) = -1 ENOENT (No such file or directory)
open(“/dev/snd/controlC12”, O_RDONLY) = -1 ENOENT (No such file or directory)
open(“/dev/snd/controlC13”, O_RDONLY) = -1 ENOENT (No such file or directory)
open(“/dev/snd/controlC14”, O_RDONLY) = -1 ENOENT (No such file or directory)
open(“/dev/snd/controlC15”, O_RDONLY) = -1 ENOENT (No such file or directory)
open(“/dev/snd/controlC16”, O_RDONLY) = -1 ENOENT (No such file or directory)
open(“/dev/snd/controlC17”, O_RDONLY) = -1 ENOENT (No such file or directory)
open(“/dev/snd/controlC18”, O_RDONLY) = -1 ENOENT (No such file or directory)
open(“/dev/snd/controlC19”, O_RDONLY) = -1 ENOENT (No such file or directory)
open(“/dev/snd/controlC20”, O_RDONLY) = -1 ENOENT (No such file or directory)
open(“/dev/snd/controlC21”, O_RDONLY) = -1 ENOENT (No such file or directory)
open(“/dev/snd/controlC22”, O_RDONLY) = -1 ENOENT (No such file or directory)
open(“/dev/snd/controlC23”, O_RDONLY) = -1 ENOENT (No such file or directory)
open(“/dev/snd/controlC24”, O_RDONLY) = -1 ENOENT (No such file or directory)
open(“/dev/snd/controlC25”, O_RDONLY) = -1 ENOENT (No such file or directory)
open(“/dev/snd/controlC26”, O_RDONLY) = -1 ENOENT (No such file or directory)
open(“/dev/snd/controlC27”, O_RDONLY) = -1 ENOENT (No such file or directory)
open(“/dev/snd/controlC28”, O_RDONLY) = -1 ENOENT (No such file or directory)
open(“/dev/snd/controlC29”, O_RDONLY) = -1 ENOENT (No such file or directory)
open(“/dev/snd/controlC30”, O_RDONLY) = -1 ENOENT (No such file or directory)
open(“/dev/snd/controlC31”, O_RDONLY) = -1 ENOENT (No such file or directory)
open(“/dev/snd/controlC0”, O_RDONLY) = 3

open(“/dev/snd/pcmC0D0p”, O_RDWR|O_NONBLOCK) = -1 ENOENT (No such file or directory)

strace -Ff speaker-test -Dplug:front -c2 -l5 -twav

open(“/dev/snd/pcmC0D0p”, O_RDWR|O_NONBLOCK) = -1 ENOENT (No such file or directory)

Please help me…further

Amrish

Its quite common to get errors when one tries with a model option that does not work. Clearly “3stack” did not work.

Did you continue, as I advised above, and keep trying the other options???

Edit - note I am on vacation in a different continent from where I live normally, and my Internet access is very limited.