Do that in user space... modify the application library that opens this driver, rather than modify the kernel.
On 15/11/2012, at 9:17 AM, asahi <[email protected]> wrote: > Hi All: > > I would like to modify the accelerometer driver, in order to create a virtual > accelerometer, in the way that it gets sensor readings from a remote server, > instead of the real device. > > I have located the file at /kernel/drivers/input/misc/adxl34x.c, but I have > no idea where to start. I am a newbie to this field, so could you please give > me some hint in how to do it? > > Thanks in advance! > Asahi > > -- > unsubscribe: [email protected] > website: http://groups.google.com/group/android-kernel -- unsubscribe: [email protected] website: http://groups.google.com/group/android-kernel
