Android has 2 parts: kernel and userland.
In order to include a new kernel driver, you will have to rebuild it,
because the Android kernel has been configured without module support.
Also, you won't find any "insmod" command on an Android image I think.
So in any case you will at least have to create a kernel with module
support enabled.
Also, you will probably need to recompile the userland (system.img and
data.img), because you will need to include the components, which will
bridge your device file to Java using some protocol.
Best Regards,
Gergely
--------------------------------------------------
From: "Gergely Kis" <gerge...@gmail.com>
Sent: Monday, November 10, 2008 12:25 AM
To: <android-...@googlegroups.com>
Subject: Re: How to create driver
--------------------------------------------------
From: "blues" <blues_...@yahoo.com>
Sent: Monday, November 10, 2008 3:58 PM
To: "android-platform" <android-...@googlegroups.com>
--------------------------------------------------
From: "Jay Freeman (saurik)" <sau...@saurik.com>
Sent: Monday, November 10, 2008 4:02 PM