I'm trying to enable the use of the SysRq key. My keyboard is Logitech
Access. It has a key labeled PrtScr/SysRq right next F12. I recompiled
the kernel with support for SysRq, but still it doesn't work. It seems
that the key is not recognized. The output of showkey -s, when pressing
SysRq, is
0xe0 0x2a 0xe0 0x37 0xe0 0xaa 0xe0 0xb7
I read sysrq.txt in the kernel source Doc directory:
        There are some keyboards that send different scancodes for SysRq than 
the
        pre-defined 0x54. So if SysRq doesn't work out of the box for a certain
        keyboard, run 'showkey -s' to find out the proper scancode sequence. 
Then
        use 'setkeycodes <sequence> 84' to define this sequence to the usual 
SysRq
        code (84 is decimal for 0x54). It's probably best to put this command 
in a
        boot script. Oh, and by the way, you exit 'showkey' by not typing 
anything
        for ten seconds.
It's not clear (to me) what to do. Does <sequence> equal "0xe0 0x2a 0xe0 0x37 0xe0 
0xaa 0xe0 0xb7"?
And if so, is this a stable thing, i.e. a keyboard characteristic, not
bound to change unless the keyboard is replaced?



--
Jorge Almeida
--
gentoo-user@gentoo.org mailing list

Reply via email to