LinHES Forums
http://forum.linhes.org/

Unable to save alsamixer settings for second sound card.
http://forum.linhes.org/viewtopic.php?f=5&t=5708
Page 1 of 1

Author:  nypno [ Wed Aug 17, 2005 10:33 am ]
Post subject:  Unable to save alsamixer settings for second sound card.

I have a dual tuner setup that uses two sound cards. I am able to set alsamixer settings for both sound cards and all works fine until I reboot. After reboot the settings for the second sound card revert back to original. "alsactl store" works for card 0 but "alsactl store 1" has no effect on card 1. Does Knoppmyth override alsa settings or what could be happening here.

My setup (roughly)
AMD XP 2500
Gigabyte Nforce2 mobo
1 onboard soundcard (AC'97 I believe) @ dsp1
1 Yamaha soundcard (ymfpci) @ dsp0
1 ATI TV Wonder pro (bttv) @ video0
1 ATI TV Wonder pro (cx88) @ video1
Mythtv outputs on DSP1

also, I am running v4l CVS in order to get correct(ish) color out of cx88 card.

Author:  nypno [ Sun Sep 04, 2005 3:28 am ]
Post subject: 

If anyone is interested, I solved this by:
Editing /etc/alsa/modutils/1.0 as such

alias char-major-116 snd
alias char-major-14 soundcore

options snd major=116 cards_limit=4

# Sound card 0 -- PCI card: ymfpci
# /lib/modules/2.6.4-rc2/kernel/sound/pci/snd-ymfpci.ko

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-12 snd-pcm-oss
alias /dev/dsp0 snd-pcm-oss

alias snd-card-0 snd-ymfpci

alias snd-slot-0 snd-card-0
alias sound-slot-0 snd-slot-0

# Sound card 1 -- NVidia onboard: intel8x0
# /lib/modules/2.6.4-rc2/kernel/sound/pci/snd-intel8x0.ko

alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-1 snd-seq-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-8 snd-seq-oss
alias sound-service-1-12 snd-pcm-oss
alias /dev/dsp1 snd-pcm-oss

alias snd-card-1 snd-intel8x0

alias snd-slot-1 snd-card-1
alias sound-slot-1 snd-slot-1

# End /etc/alsa/modutils/1.0

Then re-setting alsamixer and re-running alsactl store 1.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/