You are not logged in.

#1 2008-11-17 13:26:26

FreakGuard
Member
Registered: 2008-04-27
Posts: 103

SysRq

When using SysRq + [S|K|E] in VT, it only shows the help, no reaction.

[freak@~]$ cat /proc/sys/kernel/sysrq
1
[root@~]# echo s > /proc/sysrq-trigger

=>

[root@~]# dmesg | tail
SysRq : Emergency Sync
Emergency Sync complete

But in VT, no reaction.

Offline

#2 2008-11-19 15:33:35

FreakGuard
Member
Registered: 2008-04-27
Posts: 103

Re: SysRq

*bump*

Offline

#3 2008-11-19 16:04:40

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Re: SysRq

ALT+SYSRQ+<key>
you need dthe <ALT> key

vlad

ps: more details:
http://lxr.linux.no/linux/Documentation/sysrq.txt
http://en.wikipedia.org/wiki/Magic_SysRq_key

Last edited by DonVla (2008-11-19 16:15:42)

Offline

#4 2008-11-19 18:05:22

FreakGuard
Member
Registered: 2008-04-27
Posts: 103

Re: SysRq

Still the same problem.

Offline

#5 2008-11-19 18:26:21

fflarex
Member
Registered: 2007-09-15
Posts: 466

Re: SysRq

Many keyboards require the alt key to access sysrq, especially if it shares the key with print. This is the case for mine anyways. So it is actually impossible for me to do alt+sysrq on my keyboard because I have only one alt key, and it is already being used to press sysrq. This might be your problem too. Not sure if pressing both alt keys will help or not, never tried it.

Offline

#6 2008-11-19 19:54:04

FreakGuard
Member
Registered: 2008-04-27
Posts: 103

Re: SysRq

The problem is not that SysRq doesn't activate, it works perfeclty with Fn+PrtSc

KeyPress event, serial 34, synthetic NO, window 0x3000001,
    root 0x25b, subw 0x0, time 9503160, (-207,326), root:(231,786),
    state 0x0, keycode 151 (keysym 0x1008ff2b, XF86WakeUp), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 34, synthetic NO, window 0x3000001,
    root 0x25b, subw 0x0, time 9503304, (-207,326), root:(231,786),
    state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 34, synthetic NO, window 0x3000001,
    root 0x25b, subw 0x0, time 9503305, (-207,326), root:(231,786),
    state 0x8, keycode 107 (keysym 0xff15, Sys_Req), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 34, synthetic NO, window 0x3000001,
    root 0x25b, subw 0x0, time 9503343, (-207,326), root:(231,786),
    state 0x8, keycode 107 (keysym 0xff15, Sys_Req), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 34, synthetic NO, window 0x3000001,
    root 0x25b, subw 0x0, time 9503345, (-207,326), root:(231,786),
    state 0x8, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 34, synthetic NO, window 0x3000001,
    root 0x25b, subw 0x0, time 9504465, (-207,326), root:(231,786),
    state 0x0, keycode 151 (keysym 0x1008ff2b, XF86WakeUp), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

Looks like Fn is XF86WakeUp
I didn't press Alt here, seems like the ThinkPad has some tweaks to make a Linux'users live easier big_smile

Last edited by FreakGuard (2008-11-19 19:55:02)

Offline

#7 2008-11-22 12:21:38

FreakGuard
Member
Registered: 2008-04-27
Posts: 103

Re: SysRq

*bump*

Offline

#8 2010-01-18 10:52:26

damumbl
Member
Registered: 2008-02-01
Posts: 4

Re: SysRq

I know this thread is really old, but did this problem ever got resolved? I am also experiencing this. When pressing SysRq+AnyKey in VT the SysRq HELP is shown, but it does not do what it's supposed to do (e.g. reboot with 'B').

The machine is a Thinkpad R61.

$ cat /proc/sys/kernel/sysrq 
1

On another machine with the same software configuration but with an external keyboard this works fine.

Does anybody know if and how the SysRq works on Thinkpads?

Offline

#9 2010-01-18 11:03:08

damumbl
Member
Registered: 2008-02-01
Posts: 4

Re: SysRq

OK, never mind. It works with ALT_R+Print (or Alt Gr+Druck on a German layout as in my case). No Fn is involved even if the blue color of the SysRq (S-Abf) label indicates this!

Offline

Board footer

Powered by FluxBB