<div dir="ltr">I think /etc/modules.conf is what you are looking for. Use it to add your modules configuration.<div><br></div><div style>Regards,</div><div style>Prateek</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Mon, Sep 9, 2013 at 8:09 PM, Tushar Dave <span dir="ltr">&lt;<a href="mailto:tushdev@gmail.com" target="_blank">tushdev@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi Prateek,<div>                 I want to know if there is a config file which has entries for the modules that the kernel loads at runtime .How does the kernel know which device has been connected and which kernel module to load.There has to be some kind of mapping between them.</div>

<div><br></div><div>Thanks for the prompt reply,</div><div>Tushar Dave</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Sep 7, 2013 at 3:11 AM, Prateek Saxena <span dir="ltr">&lt;<a href="mailto:thisisprateeksaxena@gmail.com" target="_blank">thisisprateeksaxena@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">If you are just trying to get the phone work I suggest that you recompile the untainted kernel and check if it loads. Also, trying to figure out why it wont connect without a list of changes is difficult.<div>


<br></div><div><br></div><div>Regards,</div><div>Prateek</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Sat, Sep 7, 2013 at 12:45 AM, Tushar Dave <span dir="ltr">&lt;<a href="mailto:tushdev@gmail.com" target="_blank">tushdev@gmail.com</a>&gt;</span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hi,<div>    I am facing an unusual problem.I have a ubuntu PC with 11.10 installed on it and it has a driver called cdc_ether.ko.Now when I connect a mobile phone to the PC the driver does not get loaded automatically.I had made a lot of changes in the udev rules earlier and then replaced it with the default one ( I had kept it as a backup).Earlier the phone used to connect properly and the driver got loaded automatically and I also used to see  a new interface on doing an ifconfig but now that is not the case.I think I have changed some settings in my Ubuntu PC which has lead to this.</div>



<div><br></div><div>Any suggestions</div><div><br></div><div>Thanks</div><span><font color="#888888"><div> Dave</div></font></span></div>
<br></div></div>_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org" target="_blank">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>