Also, it is not a hardware issue, it works fine in windows on the same computer when testing for keyboard events.
The following is what I get from xev:
---
KeyPress event, serial 28, synthetic NO, window 0x2200001, root 0x270, subw 0x0, time 354142, (133,154), root:(228,239), state 0x0, keycode 221 (keysym 0x0, NoSymbol), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False
KeyRelease event, serial 28, synthetic NO, window 0x2200001, root 0x270, subw 0x0, time 354142, (133,154), root:(228,239), state 0x0, keycode 221 (keysym 0x0, NoSymbol), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False
KeyPress event, serial 28, synthetic NO, window 0x2200001, root 0x270, subw 0x0, time 354901, (762,346), root:(857,431), state 0x0, keycode 221 (keysym 0x0, NoSymbol), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False
KeyRelease event, serial 28, synthetic NO, window 0x2200001, root 0x270, subw 0x0, time 354901, (762,346), root:(857,431), state 0x0, keycode 221 (keysym 0x0, NoSymbol), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False
And it goes on endlessly.
Also, it is not a hardware issue, it works fine in windows on the same computer when testing for keyboard events.
The following is what I get from xev:
---
KeyPress event, serial 28, synthetic NO, window 0x2200001,
root 0x270, subw 0x0, time 354142, (133,154), root:(228,239),
state 0x0, keycode 221 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 28, synthetic NO, window 0x2200001,
root 0x270, subw 0x0, time 354142, (133,154), root:(228,239),
state 0x0, keycode 221 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 28, synthetic NO, window 0x2200001,
root 0x270, subw 0x0, time 354901, (762,346), root:(857,431),
state 0x0, keycode 221 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 28, synthetic NO, window 0x2200001,
root 0x270, subw 0x0, time 354901, (762,346), root:(857,431),
state 0x0, keycode 221 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
---
And it goes on endlessly.