title: Android driver module booting
body: <p>I want to implement a hardware driver for my i2c accelerometer on my beagleboard-xm, I'd like it to load it at boot. There are a good amount of resources on the web to help me compile my module but I'm having a hard time finding any information on loading my module at boot.</p>
  
  <p>It seems that there are two initialization scripts:</p>
  
  <ul>
  <li>init.rc in the root directory</li>
  <li>init.goldfish.rc in system/etc</li>
  </ul>
  
  <p>This page describes the process of writing an init.rc script in order to perform a custom initialization: <a href="http://source.android.com/porting/bring_up.html" rel="nofollow">http://source.android.com/porting/bring_up.html</a></p>
  
  <p>from previous research I am pretty sure the init.goldfish.rc in system/etc is for custom board loading.. where one would replace goldfish with the name of the hardware in /proc/cpuinfo</p>
  
  <p>I've looked in these two scripts to see how other modules were loaded at boot but the only thing that is loaded is the console. I feel like I'm missing something here. Are uevents used in order to detect and load the modules? if so What are the triggers for those uevents?</p>
  
  <p>Any help would be greatly appreciated.</p>
  
  <p>Dave</p>