[Alsa-user] Problem at boot (with modprobe)
Brought to you by:
perex
From: Dimitrios B. <ba...@ho...> - 2001-08-29 19:08:42
|
Hi, I have a Linux Redhat 6.1 distribution with a 2.2.12-20 kernel. I am using a Soundblaster PCI 128 card (with the snd-card-ens1371 module). Everything is OK (or so it seems) with the actual sound, except: The only way to restore my mixer settings at boot time is by including the line: /usr/local/bin/alsactl restore in my /etc/rc.d/rc.local file Alsasound starts us OK at boot time but without that line all my mixer channels are zeroed and muted. Adding this line then, gives the following errors (from /var/log/messages): Aug 29 21:57:03 localhost modprobe: can't locate module snd-card-1 Aug 29 21:57:03 localhost modprobe: can't locate module snd-card-1 Aug 29 21:57:03 localhost modprobe: can't locate module snd-card-2 Aug 29 21:57:03 localhost modprobe: can't locate module snd-card-2 Aug 29 21:57:03 localhost modprobe: can't locate module snd-card-3 Aug 29 21:57:03 localhost modprobe: can't locate module snd-card-3 and also: Aug 29 21:59:14 localhost modprobe: can't locate module sound-slot-0 Here's my /etc/modules.conf file: alias char-major-14 soundcore 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 off alias sound-service-0-11 off alias sound-service-0-12 snd-pcm-oss alias char-major-116 snd alias snd-card-0 snd-card-ens1371 and my /etc/asound.conf file: # ALSA driver configuration # This configuration is generated with the alsactl program. soundcard("card1") { control { ; The type is 'bool'. switch("Joystick", false) ; The type is 'word'. ; The accepted switch range is from 512 to 536. ; Available addresses - 0x200, 0x208, 0x210, 0x218 switch("Joystick Address", 0x200) } mixer("Cirrus Logic CS4297A") { ; The type is 'bool'. switch("AC97 Mono Output Select", false) ; The type is 'bool'. switch("AC97 Second MIC", false) ; The type is 'bool'. switch("ADC/DAC Loopback", false) ; The type is 'bool'. switch("S/PDIF output", false) element("Input Gain Switch",0,101,Switch2(off)) ; Voice 0 : Min 0 Max 15 ; Voice 1 : Min 0 Max 15 element("Input Gain Volume",0,200,Volume1(0,0)) element("Master Mono Switch",0,101,Switch2(off)) ; Voice 0 : Min 0 Max 31 element("Master Mono Volume",0,200,Volume1(0)) element("Headphone Switch",0,101,Switch2(off)) ; Voice 0 : Min 0 Max 31 ; Voice 1 : Min 0 Max 31 element("Headphone Volume",0,200,Volume1(0,0)) element("Master Switch",0,101,Switch2(on)) ; Voice 0 : Min 0 Max 63 ; Voice 1 : Min 0 Max 63 element("Master Volume",0,200,Volume1(51,51)) ; The 3D effect has an on/off switch. ; Center : Min 0 Max 15 ; Depth : Min 0 Max 15 element("Effect",0,600,_3D_Effect1(sw=off,center=0,depth=0)) element("Aux Switch",0,101,Switch2(off)) ; Voice 0 : Min 0 Max 31 ; Voice 1 : Min 0 Max 31 element("Aux Volume",0,200,Volume1(0,0)) element("Video Switch",0,101,Switch2(off)) ; Voice 0 : Min 0 Max 31 ; Voice 1 : Min 0 Max 31 element("Video Volume",0,200,Volume1(0,0)) element("CD Switch",0,101,Switch2(on)) ; Voice 0 : Min 0 Max 31 ; Voice 1 : Min 0 Max 31 element("CD Volume",0,200,Volume1(22,22)) element("Line Switch",0,101,Switch2(off)) ; Voice 0 : Min 0 Max 31 ; Voice 1 : Min 0 Max 31 element("Line Volume",0,200,Volume1(0,0)) element("MIC Switch",0,101,Switch2(off)) ; Voice 0 : Min 0 Max 31 element("MIC Volume",0,200,Volume1(0)) ; Voice 0 : Min 0 Max 1 element("MIC Boost",0,200,Volume1(0)) element("Phone Switch",0,101,Switch2(off)) ; Voice 0 : Min 0 Max 31 element("Phone Volume",0,200,Volume1(0)) element("PC Speaker Switch",0,101,Switch2(off)) ; Voice 0 : Min 0 Max 15 element("PC Speaker Volume",0,200,Volume1(0)) element("PCM Switch",0,101,Switch2(on)) ; Voice 0 : Min 0 Max 31 ; Voice 1 : Min 0 Max 31 element("PCM Volume",0,200,Volume1(22,22)) element("Mono Output MUX",0,401,Mux2(element("Mono-Out Accumulator",0,301))) element("Input MUX",0,400,Mux1(element("MIC Boost",0,200),element("MIC Boost",0,200))) } } Any ideas on what I'm doing wrong? Personal replies would be appreciated as I am not subscribed to the list. Thanks in advance, Dimitrios. |