Adjust volume for second soundcard

Hi,

I installed a second soundcard which is connected to my stereo. I got moc working by setting "AlsaDevice = hw:1,0" in $HOME/.moc/config and now I can play some music.

But what is nolonger working is that I can adjust the volume by pressing "," or ".". Just noting happens.... is there something more I should put into my config?

Thanks

I don't know if this fixes your problem but maybe it sheds some light on the problem.

To use/configure my two soundcards in a more hardware independent way I created an alsa setup ($HOME/.asoundrc) that looks like this:
pcm.!default {<br /> type hw<br /> card 0<br /> }</p> <p>ctl.!default {<br /> type hw<br /> card 0<br /> }</p> <p>pcm.live {<br /> type hw<br /> card 0<br /> }</p> <p>ctl.live {<br /> type hw<br /> card 0<br /> }</p> <p>pcm.via {<br /> type hw<br /> card 1}</p> <p>ctl.via {<br /> type hw<br /> card 1<br /> }

With this setup (for an SBLive and an internal VIA-Chipset) I use "AlsaDevice = live", "AlsaMixer = PCM" and "AlsaMixer2 = Master" in the moc-config (where the mixer names correspond to the names seen in 'alsamixer').
Maybe ALSA is confused about the controls to use for the second card but that is just a guess.

Hi,

thanks a lot, your guess fixed my problem.

I created a new $HOME/.asoundrc, put in your stanza (exept that I have a onboard "NFORCE - NVidia CK804" and a PCI card with a "CMI8738-MC6 - C-Media PCI CMI8738-MC6" and therefore titled them onboard and cmedia) and now I can adjust the volume by pressing "," or ".".

Bye

AlsaDevice = plughw:1

For some reason "plughw" handles all bit rates, whereas just "hw" do not.