“The Apple Motion Sensor As A Human Interface Device” http://kernelthread.com/software/ams2hid/

either OsX, ubuntu or debian PPC should work