The first step is done:
https://github.com/koreader/koreader...f30d51ed489d1e
Support for painting the screen on kobos is in mainline koreader-base
About the kernel module to support multitouch, I really think what I have
should work, but it doesn't. I'm a bit demoralized :P