Re: [android-kernel] Re: Load Kernel Module

2010-03-26 Thread Robert Beckett
If you look at how the wifi drivers get loaded, you can see that they load them via hardware/libhardware_legacy/wifi/wifi.c which is called from a jni that the framework uses. You can follow a similar route. A simpler alternative that I use is to write a script to load the module and set a pr

Re: [android-kernel] Re: Load Kernel Module

2010-03-25 Thread Tirtha Kanti Ghosh
>But I thought by placing it in init.rc it will load when android boots up That's what I meant. :) And as I mentioned, both the ways, you can achieve this loading. Easiest way, to load it with init.rc, and later you can just read/write on node from your app. regards, Tirtha On Fri, Mar 26, 201

[android-kernel] Re: Load Kernel Module

2010-03-25 Thread perumal316
Sorry, But I thought by placing it in init.rc it will load when android boots up. I am writing an Android App and I want the module to load when the user starts this app. Can it be done this way? Or I have to load it when android boots up. Regards, Perumal On Mar 26, 12:46 pm, Tirtha Kanti Ghos