Re: [android-kernel] android service/deamon general question

2012-06-27 Thread Robert Beckett
a. I would suggest you look at uevents. They are used in android for various purposes. You can see them being used in vold to know when disks are added. You could also look in to the netlink API, which can give a duplex channel between userland and kernel. There are various other options (e

[android-kernel] android service/deamon general question

2012-06-27 Thread Ventanas
Hi all, I would like to develop a service in Android that will interact with a kernel device driver implemented by me so as this is my first time I am wondering how to implement these two things: a. I need to callback from the driver a user-space function in the deamon user-space thread o