I have no sound on my netbook. I now remember, that I had the same problem in opensuse XFCE 11.4. The reason is probably that there are 2 soundcards build in. card 0 for digital Sound for the HDMI port and card 1 for analog sound. I think opensuse LXDE (and also 11.4 XFCE) wants to use always card 0. I tried everything to change this in YAST (→ hardware → sound → Index: 1 Kartenmodell: ATI Technologies Inc → Andere → als primäre Karte festlegen ) but it doesn’t change anything.
I found another solution:
I created a file ~/.asoundrc and wrote
pcm.!default {
type hw
card 1
}
ctl.!default {
type hw
card 1
}
With this trick the sound is working and all volume control plug-ins I wanted to launch in the panel appeared suddenly.
In other OS like OpenSuse Gnome 11.4 Xubuntu 11.4 Debian LXDE however the sound works out of the box without the need to create this ~/.asoundrc.
For me on openSUSE 12.2 the sound card did not show up in volume control.I saw a “dummy output” or something
Couple of upgrades, kernel changes,restarts hardware appeared magically in volume control
I only have the default card on my system
hw was not available at first in GNOME after default 12.2 install
Probably the updates in kernel and other stuff helped and now hardware is present in mixer
YaST hw info
My experience with openSUSE-12.1 and 12.2 on LXDE is pulse audio is not enabled by default. Hence simply intalling pavucontrol by itself, with out installing more pulse audio applications is not enough. On those openSUSE versions I also noted that installing pavucontrol did not drag in pulse as a dependency, hence IF one wishes to adopt the pulse audio approach (for LXDE) one also needs to install the pulse application. Once both pulse and pavucontrol are installed, I blogged about dual audio cards with pulse and pavucontrol here: https://forums.opensuse.org/blogs/oldcpu/pulseaudio-basics-opensuse-pavucontrol-96/
I think pavucontrol is definitely a fix by problems with several soundcards, because one can directly chose the soundcards for output in pavucontrol.
But I must admit that I don’t understand completely the codes vazhavandan posted. So I don’t know whether vazhavandan’s problem is caused by several soundards.