I'm trying to create a fake character device. I want to make it usable within the provided Android emulator.
Firstly, I recompiled the Android Kernel editing the .config file, adding CONFIG_MODULES. Then, I wrote a module managing "/dev/mydev" (it acts as a 80 char buffer) and crosscompiled it for arm architecture. I ran the emulator and pushed busybox (for creating the /dev/mydev with mknod) and loaded the module with insmod. Now, both shell and common activities can interact with it, by using standard open/close/write/etc... I would like to create a specific permission for that device and make it not readable from common Activities. Is there some documentation/hints/links? I know Android has a specific HAL but there's no documentation. Thank you. Luca --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [EMAIL PROTECTED] website: http://groups.google.com/group/android-kernel -~----------~----~----~----~------~----~------~--~---