Some folks here might be familiar with how the
SysRq key can be used to
issue low-level commands to the Linux kernel. It's pretty handy on those rare occasions when something goes terribly wrong and the GUI stops responding. (For example, when a buggy game crashes the GPU.)
Well, I recently noticed that my SysRq key hasn't been working in some time, and Soarer's converter turned out to be the cause. Investigating revealed these problems:
- Soarer's auto-detection of keyboard type was choosing code set 1: PC/XT. (I'm pretty sure my Cherry G80-5000 is an AT keyboard.)
- hid_listen showed a lot of R06 and R05 errors (despite all the other keys working fine).
Once I forced AT/PS2 mode, those errors vanished, but the problem wasn't fixed yet. Where the errors once were, hid_listen was now showing the SysRq key producing +C2 and dC2 events, otherwise known as FAKE_19 or EXTRA_SYSRQ, which seemed suspect. (It's not an *extra* SysRq key; it's the normal one, shared with PrtSc.)
So I tried remapping that key, with the following config:
Code: Select all
remapblock
EXTRA_SYSRQ PRINTSCREEN
endblock
Sure enough, that did the trick. I can once again control my kernel with arcane SysRq incantations. :)
I hope anyone else running into this problem finds their way here.