To set your default audio card to use do the following:
Open YAST (need root password). Go to Hardware -> Sound.
Select the card you want from the list to be primary, go to Other (on the lower right), select the Set as Primary card option.
Select other card (onboard) click delete to disable it. Won’t show in your audio devices anymore. A better option would be to go to your BIOS settings and disable the onboard soundcard from there.
Install pavucontrol (search for it in Yast -> Software Management). This will allow you to better control your audio setup, changing default profiles, outputs and inputs of cards, volume levels etc. It’s a must if using Pulseaudio (default on OpenSUSE).
Optional: As per https://features.opensuse.org/310668 (please vote), changing the /etc/pulse/daemon.conf line ; flat-volumes = yes to flat-volumes = no (mind the ; missing from the begging of the line), will make you master audio level not get changed by changing another app’s volume level. Makes for a better audio session than the current default.
Execute the ‘speaker-test’ commands suggested there, or try
speaker-test -D default -c 6 -t wav
If you cannot get sound with the ‘speaker-test’ commands, then move on to diagnostics section: STEP-3: Checking your audio setup for detailed information. In particular, you should run the diagnostic script (as root)
/usr/sbin/alsa-info.sh
Often the first time you run this script, it will note there is an update available, and ask if you wish to update. Select YES. If you are running this in a terminal/konsole with root permissions, the script will update. Then run the script a second time. When it is complete, it will pass you a URL. Take a look at the contents of the URL, as it passes to you useful information. Also keep a record of the URL provided by the script as it can come in useful for passing to others who are trying to assist you (on one of the forums, or on an IRC channel). Then go to the next step of this guide.
In addition to following deano_ferrari’s recommendation, please also look at these two blog entries, which give an explanation how to handle two audio devices with pulse audio:
hw0:0 and hw0:1 correspond to your onboard sound device (analog and digital)
hw1,3 and hw1,7 and hw1,8 and hw1,9 correspond to your HDMI 0, 1, 2, 3
hw2,0 and hw2,1 correspond to your Creative sound blaster analog and digital audio
So lets try this in a konsole to push sound through your Creative sound blaster , with a direct alsa utility app, which will bypass pulse audio (note I don’t recommend bypassing pulse audio nominally - I am just trying to locate the problem area):
speaker-test -c2 -D hw:2,0 -l1 -twav
and if that gives no sound try this:
speaker-test -c2 -D hw:2,1 -l1 -twav
try both as a regular user, and also try with root permissions.
Do either of those yield any sound ?
Be 100% certain you have your speaker cables plugged in to the correct output slot.
Could it be you changed the order of your sound devices prior to sending that command ? It should work. aplay clearly indicated hw:2,0 and hw:2,1 as your sound blaster.
Another possibility is that you do not have alsa-utils installed.
Please force a re-install of alsa-utils .
and then try the following commands (as both a regular user, and also as root) :
Thankyou. The idea behind forcing was to address the possibility of a bad install. So now then reboot and send the command in a terminal:
aplay -l
(thats a lower case ‘L’ ) and post here the output.
and then assuming your creative card is card2 (c2) send the command to test the mixer settings:
amixer -c2
and post here the output
and assuming your creative card devices are hw:2,0 and hw:2,1 please again send the command (as both a regular user and as user root) where I have a 2-channel setting :