HD Install :: How is sound configured in boot?



I looked into the knoppix-autoconfig and other bootscripts, tweaked and got it to boot 'bout 7s faster. But I don't understand how sound is configured, in knoppix-autoconfig a variable $SOUNDCARD just appears in the echo command, without being set anywhere..

The sound card is an opl3-sa2 isa card, and the autoconfig recognizes it, but doesn't load the correct driver for it. Now I have the rmmod and modprobe commands in my bootlocal.sh. I'd like to disable looking for sound cards and load the correct driver myself to speed booting even more up.


Comparison: boot from zero to logging in to ready to be used (X)
2 years old xp machine (3Ghz): 2min 1s
124mhz P1 DSL machine: 1min 46s

The goal for the dsl machine: 1min

SOUNDCARD is set from ALSA_CARD which is set if a parameter is set when using alsa boot option. SOUNDCARD is just an echo display variable. It is ALSA_CARD that is used with the call to /etc/init.d/alsa-autoconfig

For a traditional hard drive install, you might want to try to comment out the call to /etc/init.d/alsa-autoconfig once your alsa sound has been setup and working.

But I don't have alsa, it's plain oss...

That's the weird part. SOUNDCARD is set only if using alsa, yet it displays the soundcard name on boot....

If the autodetection of your oss sound card is interferring with your after boot /opt/bootlocal entry, then perhaps you should add nosound to your append section.
No it isn't interfering, it just loads a wrong driver which i then have to remove and then load the correct driver..
Next Page...
original here.