How is sound configured in boot?Forum: HD Install Topic: How is sound configured in boot? started by: curaga Posted by curaga on Feb. 22 2007,15:48
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 Posted by roberts on Feb. 22 2007,16:10
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-autoconfigFor 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. Posted by curaga on Feb. 22 2007,17:39
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.... Posted by roberts on Feb. 22 2007,17:48
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.
Posted by curaga on Feb. 23 2007,15:11
No it isn't interfering, it just loads a wrong driver which i then have to remove and then load the correct driver..
|