Autoinitialization of soundcard
Everytime i want to use my sound card after booting up with a bash script that includes the following:
modprobe sound dmabuf=1
modprobe cs4232 irq=5 io=0x530 dma=1 dma2=0 mpuio=0x330 mpuirq=9
modprobe opl3 io=0x388
The script requires root access. so far my attempts of having it in /etc/init.d with a symlink from /etc/rc5.d (as someone else suggested) didnt work.
Anyone?
Re: Autoinitialization of soundcard
Quote:
Originally Posted by Hellmark
Everytime i want to use my sound card after booting up with a bash script that includes the following:
modprobe sound dmabuf=1
modprobe cs4232 irq=5 io=0x530 dma=1 dma2=0 mpuio=0x330 mpuirq=9
modprobe opl3 io=0x388
The script requires root access. so far my attempts of having it in /etc/init.d with a symlink from /etc/rc5.d (as someone else suggested) didnt work.
Anyone?
You may want to try creating a file called say sound in the /etc/modutils/ directory then after have saved the file run update-modules to have the contents entered into the /etc/modules.conf for use on the next boot. Not totally sure if the format you have there will work as is but this is how the options are usually done for modules so it is worth a try.