Stable: 2.4.4
Development: 2.5.0-alpha4
Adjust volume for second soundcard
Submitted by urmel on Thu, 2007-11-15 19:37
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
plughw
AlsaDevice = plughw:1
For some reason "plughw" handles all bit rates, whereas just "hw" do not.
I don't know if this fixes
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 { type hw card 0 } ctl.!default { type hw card 0 } pcm.live { type hw card 0 } ctl.live { type hw card 0 } pcm.via { type hw card 1} ctl.via { type hw card 1 }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.
Adjust volume for second soundcard
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