As promised here is the patch for 2.6.24-rc1. It should also work with rc2 but I haven't tested it myself yet. Debugging also changed. I now use pr_debug for output. This means you need to compile the modules with "-DDEBUG" to get the debug output.
NB: As always, this code works for me, if you find any bugs or have fixes please contact me.