-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

this is very much distribution specific, I guess. I'm using gentoo linux and 
there is a scipt called /etc/init.d/local wich gets loaded as the last script 
on boot. This script calls /etc/conf.d/local.start at boot and 
/etc/conf.d/local.stop on shutdown. In local.start I simply put:

echo "Fixing Soundcardproblems"
/etc/init.d/alsasound stop
echo "wait a little"
delay 3s
/etc/init.d/alsasound start

If you don't have delay, you can use sleep. Don't know if it is even necessary 
though. Gentoos alsasound script should be equivalent to your alsa script. 
It's probably not the most elegant way but it was simple and works. 

Look around in your rc.* dirs. You'll probably find a script similar to 
gentoo's local. Maybe it's called rc.local or something. If you don't, you 
can still create a script yourself. Maybe call it alsafix. Put the reloading 
stuff in there, save it where all your other scripts are (/etc/init.d/) and 
put symlinks to the relevant runlevels. Let's say in rc3.d you have S40alsa 
do 

ln -s /etc/init.d/alsafix /etc/rc3.d/S41alsafix

That should do it.

CU,

Richard

On Friday 03 January 2003 15:14, Friedrich Ewaldt wrote:
> Hi,
>
> regarding the XFire initialization: do you reload the cs46xx module
> automatically and -if so- how? I have to do
> su -c '/etc/init.d/alsa restart'
> manually after rebooting and would like to have this done automatically
> by some change in an init script or my modules.conf but don't know how
> to do this best. At the moment the soundcard section of my modules.conf
> consists of only one line which loads alsa+oss modules:
> above snd-cs46xx snd-pcm-oss
>
> regards
> fe
>
> Richard Stevens wrote:
> > Hi,
> >
> > I guess I won't try it then. Hopefully this gets resolved at some stage.
> > I don't mind another alsa workaround anyways since there is already one.
> > I have to reload the alsa drivers for my Terratec DMX XFire 1024 after
> > the initial load at boottime. Otherwise I only get heavily distorted
> > sound. After reloading it's ok. I started a thread with a question about
> > that a while ago. AFAIR the terratec Cards doesn't get initialized
> > properly the first time. The second time it works. So I just create the
> > missing devices after the reload. It could be worse ;)
> >
> > CU and thanks again,
> >
> > Richard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+FZ7TWQvEMJfcXlQRAgEcAJ90pP1AywIt++c1o50h4KUuUfQSgQCdGmfI
RPOdGvL8hUWMfei1kXzo1M8=
=pn0p
-----END PGP SIGNATURE-----



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to