I've tried this by adding "insmod /system/lib/modules/xxxx.ko" in init.rc file (before the "on boot" event) and it worked for me.
On Oct 13, 10:25 am, shankarGanesh <[email protected]> wrote: > >>> I have two device drivers to load during the OS bootup. They also need > >>> to be loaded early when the RAM is still plenty (more than 40MB). I > >>> have tried to put the insmod's in init.rc in the root. But they are > >>> not loaded at all. In the shell, I manually run the insmod's and they > >>> work fine. > >>> Can someone please tell me how to do the driver loading automatically? > > You can have a shell script for insmod and can be invoked from init.rc > (refer root folder of your android FS) > > Regards, > shankar > > > > >>> Tia. > >> -- > >> Android-x86http://www.android-x86.org --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
