I applied your patch from http://lkml.org/lkml/2008/6/14/26 butwithout HID_QUIRK_APPLE_NUMLOCK_EMULATION to v2.6.25, but on my G4-ppciBook the quirk is not found by hidp_setup_quirks.If I remove the calls to le16_to_cpu from that function itworks on my ppc, looks like some endianness issue, see the second patch.