Hi Luca, was wondering if you found any way around your problem, I am trying to solve something similar (see this thread: http://groups.google.com/group/android-framework/browse_thread/thread/49a18bdfbb034ecb) Thanks!
On Dec 7 2008, 10:49 am, Luca Belluccini <[email protected]> wrote: > 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 -~----------~----~----~----~------~----~------~--~---
