There's a patch file I found that fixes the problem, but how do I apply it?

Here is the patch: http://ithink.ch/blog/files/xin-mo/0001-hid-Add-new-driver-for-non-compliant-Xin-Mo-devices.patch