SuSE Linux: Versions since 7.1
First of all it's necessary to unload all of the sound modules. So launch the command
rcalsasound stop
at the console.
Now enter the lsmod command to make sure none of the following modules are still loaded:
snd-seq-midi snd-seq-midi-event snd-seq snd-pcm snd-timer snd-rawmidi snd-seq-device snd-ac97-codec snd-mixer snd soundcore
In case some of the modules "survived" the unloading, i.e. they get displayed by lsmod, unload these modules manually using the command
rmmod modulename
Some modules might withstand this treatment. Go for the next ones and try to delete those modules later on.
After all sound modules have been unloaded, start editing the configuration file /etc/modules.conf. Open an ASCII-editing program of your choice (e.g. vi or pico). Go to the end of the file where the sound configuration data of YaST2 is stored. It should read like this:
# # YaST2: sound cards support # alias char-major-116 snd options snd snd_cards_limit=1 snd_major=116 alias snd-card-0 snd-card-ens1371 options snd-card-ens1371 snd_id=card1 snd_index=0 # # YaST2: sound system dependent part # alias sound-slot-0 snd-card-0 alias sound-service-0-0 snd-mixer-oss alias sound-service-0-1 snd-seq-oss alias sound-service-0-3 snd-pcm-oss alias sound-service-0-8 snd-seq-oss alias sound-service-0-11 snd-mixer-oss alias sound-service-0-12 snd-pcm-oss
Delete these two paragraphs completely. You might have to delete several lines like these, in case you had tried to configure your sound card in the past. Delete these lines and exit saving all changes.
One more file has to be edited: Open /var/lib/YaST/unique.inf and search for a line reading:
[sound] oJUp.LB5FQylNql1 configured
Delete the configured line. If the [sound] section should contain some more lines of this kind, please delete them and exit the file by saving all the changes you've made.
Start YaST2 and install the sound card following the standard procedure.