I'm not sure which distro you're using, but debian puts them in: /etc/modules ..

The other way to work around it would be to statically link the alsa stuff into your 
kernel. I find that this is a much easier way to do things if you're not 
loading/unloading modules for individual cards ..

later,
Steve

On Thu, Mar 27, 2003 at 05:41:02PM -0500, Louis Garcia wrote:
> I finally got sound working, thanks. Now if I can only get the modules
> to load at boot. Here is the sysinit script part that deals with sound.
> How can I modify it to load the alsa modules and oss compat modules?
> Oh also, gnome-volume-control does not seem to know that alsa is muted.
> Is their a way, possibly in /proc or /sys to unmute the sound?
> 
> Thanks, --Lou
> 
> # Load sound modules if and only if they need persistent DMA buffers
> if LC_ALL=C grep -q "options sound dmabuf=1" /etc/modules.conf
> 2>/dev/null ; then
>   RETURN=0
>   alias=`/sbin/modprobe -c | awk '/^alias sound / { print $3 }'`
>   if [ -n "$alias" -a "$alias" != "off" ]; then
>       action $"Loading sound module ($alias): " modprobe sound
>       RETURN=$?
>   fi
>   alias=`/sbin/modprobe -c | awk '/^alias sound-slot-0 / { print $3 }'`
>   if [ -n "$alias" -a "$alias" != "off" ]; then
>       action $"Loading sound module ($alias): " modprobe sound-slot-0
>       RETURN=$?
>   fi
> fi
> 
> 
> 
> 
> On Thu, 2003-03-27 at 14:36, Stephen Hassard wrote:
> > Make sure you 
> > 
> > On Thu, Mar 27, 2003 at 02:34:23PM -0500, Louis Garcia wrote:
> > > Well that's my question. I'm running 2.5.66 on RH phoebe beta and need
> > > to find out what to choose in the config. I have build a kernel with:
> > 
> > You didn't mention if you're using devfsd or not. I'll assume that it's not 
> > working for you since 2.5.66 requires a new devfs daemon, which isn't available as 
> > binary for most distros.
> > 
> > The above being noted, make sure that you run ./snddevices to create the alsa 
> > devices in /dev ..
> > 
> > > < >     OSS PCM (digital audio) API
> > 
> > you need the above for digital audio (ie: /dev/dsp)
> > 
> > > These modules load ok when I modprobe. I think I have to install
> > > alsa-libs and the oss compat lib? The kernel documentation should be
> > > updated soon.
> > 
> > you don't need alsa-libs or the oss-compat lib for oss functionality .. the above 
> > should be enough ..
> > 
> > also, make sure that your user has permission to write to /dev/dsp.
> > 
> > you'll probably need a mixer to unmute the audio. alsa, by design, mutes all audio 
> > channels.
> > 
> > later,
> > Steve
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by:
> The Definitive IT and Networking Event. Be There!
> NetWorld+Interop Las Vegas 2003 -- Register today!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
> _______________________________________________
> Alsa-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/alsa-devel


-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to