>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, 2010 at 11:05 AM, perumal316 <[email protected]> wrote:

> 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 Ghosh <[email protected]> wrote:
> > To load a module you need to do "# insmod path/file.ko"
> >
> > Now, you can load it when android boots up...placing this call in init.rc
> > or else you can make piece of code to do them same whenever you require
> > it...
> >
> > regards,
> >
> > On Fri, Mar 26, 2010 at 10:06 AM, perumal316 <[email protected]>
> wrote:
> > > Hi All,
> >
> > > I am having an Android Developer Phone. Is it possible for me to load
> > > my kernel module in the phone itself? I tried it in terminal emulator
> > > but cannot be done.
> >
> > > I want the module to load itself when user starts my application. Is
> > > it possible? I read that in Android each application is 'sandboxed' so
> > > it can't have root access. But not sure whether this can be done in
> > > the the developer phone.
> >
> > > Regards,
> > > Perumal
> >
> > > --
> > > unsubscribe: 
> > > [email protected]<android-kernel%[email protected]>
> <android-kernel%[email protected]<android-kernel%[email protected]>
> >
> > > website:http://groups.google.com/group/android-kernel
> >
> > > To unsubscribe from this group, send email to android-kernel+
> > > unsubscribegooglegroups.com or reply to this email with the words
> "REMOVE
> > > ME" as the subject.
>
> --
> unsubscribe: 
> [email protected]<android-kernel%[email protected]>
> website: http://groups.google.com/group/android-kernel
>
> To unsubscribe from this group, send email to android-kernel+
> unsubscribegooglegroups.com or reply to this email with the words "REMOVE
> ME" as the subject.
>

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel

To unsubscribe from this group, send email to 
android-kernel+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to