Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: How is sound configured in boot?< Next Oldest | Next Newest >
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Feb. 22 2007,15:48 QUOTE

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


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Feb. 22 2007,16:10 QUOTE

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.
Back to top
Profile PM WEB 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Feb. 22 2007,17:39 QUOTE

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....


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Feb. 22 2007,17:48 QUOTE

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.
Back to top
Profile PM WEB 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Feb. 23 2007,15:11 QUOTE

No it isn't interfering, it just loads a wrong driver which i then have to remove and then load the correct driver..

--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
4 replies since Feb. 22 2007,15:48 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: How is sound configured in boot?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code