Re: automatic driver loading functionality in Linux

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

 



26.01.2010 17:42, Greg KH yazmış:
On Sun, Jan 24, 2010 at 10:49:24AM +0530, Joel Fernandes wrote:
Hi Peter,

Thanks for your message.
Actually I'm interested in how modprobe autoloads modules based on the
modalias files in sysfs. I read this in Greg KH's great book - Linux Kernel
in a Nutshell and I've been wondering how the modules would get loaded if
they had to be loaded in the first place to have the device->module list to
exist.

modprobe is "smart" and knows what modules support what devices based on
the cache it creates when you run 'depmod' when a new kernel is
installed.


is it possible to get that information (what module determines what
driver) from modprobe.

(sorry for the problem Greg KH. i hit the wrong button)
--
Ozan
オザン

Close the world, txEn eht nepO

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux