From: Robert Heller on
At Wed, 09 Dec 2009 21:32:01 +0000 Darren Salt <news(a)youmustbejoking.demon.cu.invalid> wrote:

>
> I demand that Robert Heller may or may not have written...
>
> [snip]
> > alias scsi_hostadapter ata_piix
> > alias snd-card-0 snd-intel8x0
> [snip]
> > Thus if I start using a SCSI disk, the ata_piix module gets loaded
>
> That wouldn't be an *SCSI* disk. (It also wouldn't be an SCSI *disk*; the
> kernel won't see it at that level.)
>
> And the module would have to be loaded before you could start using the SATA
> or PATA drive, else how would the system know how to talk to the device? Yes,
> it would be presented as "SCSI", but there's nothing to say how sda is
> connected: SATA controller? USB? Something else?

I know. udev does most of the work. The OP just was confused about
what the aliases in modprobe.conf were for and I gave some examples.

>
> > if I start using the sound card, the snd-intel8x0 module gets loaded, etc.
>
> Probably. You'd need appropriate options to ensure that it appears as ALSA
> card 0 and others don't, though, if there's another sound device or any
> chance of the attachment of one.
>
> install snd-intel8x0 modprobe -i snd-intel8x0 index=0 $CMDLINE_OPTS &&
> { /lib/alsa/modprobe-post-install snd-intel8x0; }
>

Yes, there is more stuff in modprob.conf, mostly dealing with the sound
card module loading/unloading.

> (wrapped for width reasons)
>

--
Robert Heller -- 978-544-6933
Deepwoods Software -- Download the Model Railroad System
http://www.deepsoft.com/ -- Binaries for Linux and MS-Windows
heller(a)deepsoft.com -- http://www.deepsoft.com/ModelRailroadSystem/