complex module loading under 2.6.x

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

  You probably need  abobe or below definitions on modules.conf file 
dependding on load order.. Above defined modules to be loaded after 
specific module, below defines modules to be loaded  before given modules. 
Above and below refers here order of lsmod listing.

HTH
-- 
arimo

On Sun, 5 Mar 2006, Gregory Nowak wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi all.
>
> I'm trying to auto-load 2 modules under a 2.6.x kernel via modprobe.conf.
>
> The first module needs to have parameters passed to it, and the second
> depends on the first to be already loaded.
>
> In /etc/modprobe.conf, I have:
>
> alias char-major-62-64 ltmodem
> options ltmodem 3,0x00ec,0x2f8,0
>
> and this part works fine, since the ltmodem module auto-loads when
> it's needed.
>
> The problem I'm having is loading the ltserial module, which needs to
> be loaded right after ltmodem, and which doesn't require
> parameters. I've tried a couple of things. First, after the options
> line given above, I put:
>
> install ltmodem /sbin/modprobe ltserial
>
> , but that just threw modprobe into a loop.
>
> Then, I deleted that line, and changed the alias line given above to
> say:
>
> alias char-major-62-64 ltmodem ltserial
>
> , however, only the ltmodem module loads.
>
> Can someone please explain how to do what I want? I know it's
> possible, I'm just not understanding how modprobe.conf works
> apparently. Thanks in advance for any help.
>
> Greg
>
>
> - --
> web site: http://www.romuald.net.eu.org
> gpg public key: http://www.romuald.net.eu.org/pubkey.asc
> skype: gregn1
> (authorization required, add me to your contacts list first)
>
> - --
> Free domains: http://www.eu.org/ or mail dns-manager at EU.org
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (GNU/Linux)
>
> iD8DBQFEC8Eg7s9z/XlyUyARAnccAJ4z1MjYUyVex93vcPROBJ0hTjqiYwCeKvwp
> kCNq4LTnNoR1VDInjhTrW1Q=
> =vnAi
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>




[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux