Sound problem in 11.1 kde 4.1

My sound worked and then I lost it. Maybe is because I installed Amarok? which I uninstalled after without any success. I tried to follow the instructions on the wiki(which helped me in the past) but this time no luck and I’m trying to get some help.
aruba:/usr/src/alsa # uname -a
Linux aruba 2.6.27.21-0.1-default #1 SMP 2009-03-31 14:50:44 +0200 x86_64 x86_64 x86_64 GNU/Linux
aruba:/usr/src/alsa # rpm -qa | grep alsa
alsa-plugins-pulse-1.0.18-6.13
alsa-firmware-1.0.17-1.42
alsa-oss-1.0.17-1.43
alsa-oss-32bit-1.0.17-1.37
alsa-1.0.18-8.9
alsa-plugins-1.0.18-6.13
alsa-utils-1.0.18-6.4
aruba:/usr/src/alsa # rpm -q alsa alsa-utils alsa-firmware
alsa-1.0.18-8.9
alsa-utils-1.0.18-6.4
alsa-firmware-1.0.17-1.42
aruba:/usr/src/alsa # cat /etc/modprobe.d/sound

options snd slots=snd-via82xx

Ssy1.dTK0qnjEQ70:K8T NEO 2 motherboard

alias snd-card-0 snd-via82xx

This is to give an ideea what I have. There is sound when I start and end my worksession. No sound on mozilla(utube for example).Testing the sound I get this:
aruba:/usr/src/alsa # speaker-test -c2 -l5 -twav

speaker-test 1.0.18

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

Running this script:
/usr/sbin/alsa-info.sh
gets me this :
upload=true&script=true&cardinfo= │─
│ !!################################ │
│ !!ALSA Information Script v 0.4.56 │
│ !!################################ │
│ │
│ !!Script ran on: Sat Apr 18 02:19:41 UTC 2009 │
│ │
│ │
│ !!Linux Distribution │
│ !!------------------ │
│ │
│ Welcome to openSUSE 11.1 - Kernel \r (\l). openSUSE 11.1 (x86_64) LSB_VERSION="core-2.0-noarch:core-3.2-noarch:core-2.0- │
│ │
│ │
│ !!Kernel Information │
│ !!------------------ │
│ │
│ Kernel release: 2.6.27.21-0.1-default │
│ Operating System: GNU/Linux │
│ Architecture: x86_64 │
│ Processor: x86_64 │
│ SMP Enabled: Yes │
│ │
│ │
│ !!ALSA Version │
│ !!------------ │
│ │
│ Driver version: 1.0.17 │
│ Library version: │
│ Utilities version: 1.0.18 │
│ │
│ │
│ !!Loaded ALSA modules │
│ !!------------------- │
│ │
│ snd_usb_audio │
│ snd_via82xx │
├────v(+)──────────────────────────────────────────────────────────────────────────────────────────────────────────3%──────┤
│ < EXIT > │
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
Your ALSA information is located at http://www.alsa-project.org/db/?f=655ed38f30fdefeae87f48ec0201ab6266b3fb06

Please inform the person helping you.

======================

Running the command bellow

modinfo soundcore

filename: /lib/modules/2.6.27.21-0.1-default/kernel/sound/soundcore.ko
alias: char-major-14-*
license: GPL
author: Alan Cox
description: Core sound module
srcversion: E4F49ED9C4CFD1A5A923330
depends:
supported: yes
vermagic: 2.6.27.21-0.1-default SMP mod_unload modversions

I added the user to the cdrom group.
I’m confused on what else can I do to restore the sound.
Thank you

I lost all my sound to when I updated to a newer version of amarok. Didnt come back until I rebooted.

Before we propose any drastic solutions, can we check first if you tried some basic things? You could check to see if some other device has seized the audio and is not letting go. That is possible by typing in a konsole or terminal:
lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*
Typically, one should run that when their sound works ok, with sound playing and without sound playing in order to get a flavour as to what it looks like with their hardare and functional sound configuration. Once that baseline is established, then also run that when one has a sound problem. Then compare the outputs. … Given your sound doesn’t work now, and given you probably have not run that before, its not as helpful.

Did you check to see if your sound works after a restart (ie to close any app that may have seized the sound device).

Did you try the speaker test with root permissions, in addition to regular user permissions.

I note you have the latest 2.6.27.21 kernel, and that has been known to break the sound on some users’ PCs. Hence we could look at updating to the last kmp/git rpms for 1.0.19 of alsa … but first, please check the above.

Note also, both your MASTER and PCM volumes are rather low. So please move them up to about 95% until basic sound is established, and only then once sound is established, move them down to non-distortion regions.

Thank you oldcpu for all your instructions. I did logoff from my user and my computer was hibernating since last night but I didn’t restart it until now and voila the sound is working at least on mozilla. Thank you.