OK, thanks for that ! I note the 2.6.22.5-31-default kernel on a 32-bit openSUSE-10.3 with 1.0.14 version of alsa on a stac9228 hardware audio codec.
As near as I can see, your PC is set up correctly, but either:
- the alsa autoprobe of your hardware to automatically configure your sound did not work, or
- your hardware is sufficiently new that an update to alsa is needed. I note you are running the older openSUSE-10.3 with the older 1.0.14 of alsa (where alsa is now up to version 1.0.20).
I’m not in a believer in updating alsa if it is not necessary, so lets first try to get your sound working out of your speakers without updating alsa, and only then if that does not work, try updating alsa.
So first, lets try some edits to your PC’s /etc/modprobe.d/sound file to force an alsa configuration. The module settings I recommend you try are listed here from the alsa-configuration.txt file that comes with version 1.0.14 of alsa for the stac9228:
STAC9227/9228/9229/927x
ref Reference board
3stack D965 3stack
5stack D965 5stack + SPDIF
I recommend you try “3stack” and if that does not work, then try “5stack” and if that does not work, then try “ref”. You can do that for “3stack” by opening /etc/modprobe.d/sound file and adding a line so that it now looks like:
options snd-hda-intel model=3stack
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
save the change, then restart alsa sound driver by typing in a terminal/konsole su -c ‘rcalsasound restart’ and restart your mixer (kmix in kde and alsamixer in gnome) and test your headphone and speakers.
Note you can edit the /etc/modprobe.d/sound file by typing in a terminal or konsole:
- in gnome: gnomesu ‘gedit /etc/modprobe.d/sound’
- in KDE: kdesu ‘kwrite /etc/modprobe.d/sound’
and enter root password when prompted for a password, make and save the change.
If “3stack” does not work, in the /etc/modprobe.d/sound file, change “3stack” for “5stack”. Save the change. Restart alsa sound driver by typing in a terminal/konsole su -c ‘rcalsasound restart’ and restart your mixer (kmix in kde and alsamixer in gnome) and test your headphone and speakers.
If it does not work, instead of “5stack” try “ref”. Restart alsa per above, your mixer, and test.
If that does not work, its possible an update of alsa is needed. I searched the alsa web site for the stac9228 (which is in your PC) and I noted the following:
Clearly there are updates in alsa sound driver to the stac9228 that is in your PC.
So to update, I recommend you remove the line we added from the /etc/modprobe.d/sound file and update your alsa version to version 1.0.20. You can do that by opening a terminal or a konsole, type ‘su’ (no quotes, enter root password when prompted) and with your PC connected to the internet copy and paste one by one (and execute one at a time) the following six zypper commands:
zypper ar http://download.opensuse.org/repositories/multimedia:/audio/openSUSE_10.3/ multimedia
zypper install alsa-utils alsa-tools alsa-plugins alsa-oss alsa-firmware
zypper rr multimedia
zypper ar http://download.opensuse.org/repositories/multimedia:/audio:/KMP/openSUSE_10.3/ multimedia
zypper install alsa-driver-kmp-default
zypper rr multimedia
Restart and test your sound. You may need to go to YaST > Hardware > Sound to configure your sound card after restarting after the update, and if YaST does not work, you can try running “alsaconf” with root permissions to configure alsa.
Note the above is optimized for the 2.6.22.5 kernel, and if you update your 10.3’s kernel to 2.6.22.19, you may lose sound and have to post here to get guidance on how to fix that.
This took a long time to type, so I am hoping it works.
Good luck !