All of lore.kernel.org
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@xenotime.net>
To: linux-kernel@vger.kernel.org
Cc: Paul Fox <pgf@laptop.org>, Dmitry Torokhov <dmitry.torokhov@gmail.com>
Subject: [PATCH 4/10] Documentation/sysrq.txt: update KEY_SYSRQ info
Date: Mon, 17 May 2010 16:21:11 -0700	[thread overview]
Message-ID: <12741384711202@xenotime.net> (raw)
In-Reply-To: <12741384711166@xenotime.net>

From: Paul Fox <pgf@laptop.org>

While setting up sysrq operation on the XO laptop (which lacks a SysRq
key), i realized that the documentation was quite out of date.

    Change documentation of SysRq to reflect current KEY_SYSRQ value.

Signed-off-by: Paul Fox <pgf@laptop.org>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
---
 Documentation/sysrq.txt |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

--- lnx-2634-docs.orig/Documentation/sysrq.txt
+++ lnx-2634-docs/Documentation/sysrq.txt
@@ -177,13 +177,13 @@ virtual console (ALT+Fn) and then back a
 
 *  I hit SysRq, but nothing seems to happen, what's wrong?
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-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.
+There are some keyboards that produce a different keycode for SysRq than the
+pre-defined value of 99 (see KEY_SYSRQ in include/linux/input.h), or which
+don't have a SysRq key at all. In these cases, run 'showkey -s' to find an
+appropriate scancode sequence, and use 'setkeycodes <sequence> 99' to map
+this sequence to the usual SysRq code (e.g., 'setkeycodes e05b 99'). 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.
 
 *  I want to add SysRQ key events to a module, how does it work?
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


-- 


  parent reply	other threads:[~2010-05-17 23:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-17 23:21 [PATCH 0/10] documentation patch queue for 2.6.35 merge window Randy Dunlap
2010-05-17 23:21 ` [PATCH 2/10] Documentation/development-process: add maintainers and git info Randy Dunlap
2010-05-17 23:21 ` [PATCH 1/10] docbook: make mtd nand module init static Randy Dunlap
2010-05-17 23:21 ` [PATCH 9/10] fusion: fix kernel-doc notation Randy Dunlap
2010-05-17 23:21 ` [PATCH 6/10] Documentation/vm: use better value for MAP_HUGETLB Randy Dunlap
2010-05-17 23:21 ` [PATCH 7/10] scsi: update torque.net references to current location Randy Dunlap
2010-05-17 23:21 ` [PATCH 10/10] Documentation: update SubmitChecklist for O=objdir and kconfig testing Randy Dunlap
2010-05-17 23:21 ` [PATCH 5/10] Documentation/timers/hpet_example: drop duplicate header files Randy Dunlap
2010-05-17 23:21 ` Randy Dunlap [this message]
2010-05-17 23:21 ` [PATCH 8/10] scsi_scan.c: fix/convert functions to use kernel-doc Randy Dunlap
2010-05-17 23:21 ` [PATCH 3/10] Documentation/development-process: add staging & mmotm info Randy Dunlap

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=12741384711202@xenotime.net \
    --to=rdunlap@xenotime.net \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pgf@laptop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.