Re: Configure PnP Card before Kernel loads modules
On Thu, 30 Oct 2003 11:19:40 +0100, Andreas Bohnert wrote: > thanks andreas, > I will try that. > > stupid question: > > is just a random name? > > No, it is not. It has to be that way so any program that wants to access the sound card (via sound-slot-0) is poited to the correct driver. Greetings Andre -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Configure PnP Card before Kernel loads modules
thanks andreas, I will try that. stupid question: is sound-slot-0 just a random name? about the kernel question: I''m using the 2.4.18 kernel, but he does not auto configure my card - maybe this is switched of by default and I have to configure it (good tip!) thanks andreas Andreas Janssen wrote: Modules from /etc/modules are loaded by /etc/init.d/modutils which is symlinked to /etc/rcS.d/S20modutils. If you want to have your script run before that, symlink it to /etc/rcS.d/S??modutils where ?? is less than 20. If instead you used update-modules to add a line alias sound-slot-0 modulename to /etc/modules.conf, the driver will be loaded when needed. By the way, are using kernel 2.2 or 2.4? 2.4 has improved isa pnp support, /maybe/ you won't need to run isapnptools. best regards Andreas Janssen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Configure PnP Card before Kernel loads modules
Hello Andreas Bohnert (<[EMAIL PROTECTED]>) wrote: > I have an old but still pretty good ISA PnP Soundcard (EWS64XL) . Now > I have to initialize the card at boot time BEFORE the kernel loads the > moduls, otherwise the (sound-)modul will mess up my configuration. > Which boot script allows me to do some action before the kernel starts > to load the modules?? > > In detail: > if have a script (|/etc/init.d/isapnp|) which looks like that: > > #! /bin/sh > # /etc/init.d/isapnp: configure Plug and Play boards > test -x /sbin/isapnp || exit 0 > /sbin/isapnp /etc/isapnp.conf > exit 0 > > and a startup script which looks like that: > > # Configure the isa plug and play boards before loading > # modules. Need to do this before loading modules to get > # a chance of configuring and starting PnP boards before > # the drivers mess all this up. > # > if [ -x /etc/init.d/isapnp ] > then > /etc/init.d/isapnp start Modules from /etc/modules are loaded by /etc/init.d/modutils which is symlinked to /etc/rcS.d/S20modutils. If you want to have your script run before that, symlink it to /etc/rcS.d/S??modutils where ?? is less than 20. If instead you used update-modules to add a line alias sound-slot-0 modulename to /etc/modules.conf, the driver will be loaded when needed. By the way, are using kernel 2.2 or 2.4? 2.4 has improved isa pnp support, /maybe/ you won't need to run isapnptools. best regards Andreas Janssen -- Andreas Janssen [EMAIL PROTECTED] PGP-Key-ID: 0xDC801674 Registered Linux User #267976 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]