Usb devices and kernel modules auto-loading

Marco Vittorini Orgeas marco at mavitt.org
Mon Jan 23 22:26:34 UTC 2012


On Monday, January 23, 2012 04:30:46 PM Marco Vittorini Orgeas wrote:
> Hi list,
> 
> I guess my problem is the linux kernel while using an auto-loading (hot-
> plugging?) feature to auto-load usb modules, is still referring to the stock
> CP210x module included with the kernel source tree instead of mine and this
> prevent it to successfully recognize the device as supported.
> 
> I've tried searching around for info about the auto-loading mechanism and
> how to pin inside it, but I've found an overwhelming amount of text which
> does not explain where (and how) the kernel search for its available
> drivers.
> 
> Would somebody point me to the right direction and clear how the kernel
> manage usb modules auto-loading in latest fedora or add just some hint?
> 

It seems that replacing the original .ko file under /lib/modules/, followed by 
depmod -a does allow auto-loading of the custom one of course.

Just curious: replacing is the only method to manage "modules precedence" 
under linux ? Is there any other way to achieve the same effect without 
overwriting the original .ko files ?



More information about the users mailing list