Hey gang, I'm currently trying to research the most appropriate and 
considerate approach for inter-device virtualization in the Android kernel 
stack.

I had researched doing this in userspace and I did have the ability from 
there (as root anyway assuming rootkit access) to read/write input event 
data but from that level I could not actually consume input data before 
other userspace listeners could read it. So I need to get down into the 
kernel space in order to do this and that's where I'm getting a little lost 
about which approach to take.

A little more background on what I'm trying to do: I want to be able to 
intercept input events from one class of devices (let's say mice) and pass 
that input to a "filter system" which then decides how to translate the 
input - in the case that we don't care about this particular event we allow 
it to pass up the event pipe normally. But in the case where we want to do 
some translation (such as a macro) we want to alter the event in some 
meaningful way and push that back out up the stack, consuming the original 
input so only my new input data flows up the pipe. This could have myriad 
beneficial uses such as using a wireless network mouse to control your 
Android device when hooked up to a TV on the other side of the room 
(without needing dongles or adapters, etc.)

My understanding is that I could just take the source from existing 
top-level class driver code for a class of devices (like mice or keyboards) 
and just rewrite that code with my changes, then compile and distribute the 
.ko files on devices, but I'm not convinced that's the most appropriate and 
considerate assumption to proceed under. Does anyone have any advice, 
pointers or documentation about device virtualization whicih may be helpful 
in finding a harmonious path to inter-device remapping and virtualization?

Thanks in advance!

-- 
-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel
--- 
You received this message because you are subscribed to the Google Groups 
"Android Linux Kernel Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to