On Wed, Jan 27, 2010 at 10:58:59AM +0530, Joel Fernandes wrote: > Hi Greg. > > > What you want to look at is the modules.alias file. ?That is what makes > > things so simple, it creates a mapping from a device/product id to the > > actual module. > > I get the idea now, thanks. So when a device is connected, a modalias > is generated with the vendor/productid and then modprobe can match > this against the modalias file to load the module in. Exactly. > Does udev do the same thing when it has to autoload a module? udev just passes this modalias on to modprobe directly, this is how modprobe sees the alias in the first place. modprobe is not called directly by anything else. hope this helps, greg k-h -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ