The evdev driver is broken on big-endian machines because the bit fiddling code
doen't handle all peculiarities of the kernel's event interface. I'll attach a fix.
Created attachment 4394 [details] [review]
Fix bit fiddling code
Fix bit fiddling code by using macros from Vojtech Pavlik's evtest.c.
7.0 has the same problem.
This bug has been fixed in the new evdev driver in the modular CVS tree.
Reassign to the new evdev maintainer.