mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Russell King <rmk@arm.linux.org.uk>
To: James Simmons <jsimmons@transvirtual.com>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: [PATCH] 2.5.29-keyboard
Date: Fri, 30 Aug 2002 22:39:06 +0100	[thread overview]
Message-ID: <E17ktTu-00034p-00@flint.arm.linux.org.uk> (raw)

This patch appears not to be in 2.5.32, but applies cleanly.

Some ARM-based machines have an extra key (#) on their numeric keypad
that produces the ESC [ S or ESC O S escape sequences.  This patch adds
Linux support for the key.

 drivers/char/keyboard.c |    4 ++--
 1 files changed, 2 insertions, 2 deletions

diff -urN orig/drivers/char/keyboard.c linux/drivers/char/keyboard.c
--- orig/drivers/char/keyboard.c	Wed Jul 17 15:10:39 2002
+++ linux/drivers/char/keyboard.c	Wed Jul 17 15:14:57 2002
@@ -552,8 +552,8 @@
 
 static void k_pad(struct vc_data *vc, unsigned char value, char up_flag)
 {
-	static const char *pad_chars = "0123456789+-*/\015,.?()";
-	static const char *app_map = "pqrstuvwxylSRQMnnmPQ";
+	static const char *pad_chars = "0123456789+-*/\015,.?()#";
+	static const char *app_map = "pqrstuvwxylSRQMnnmPQS";
 
 	if (up_flag)
 		return;		/* no action, if this is a key release */


             reply	other threads:[~2002-08-30 21:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-30 21:39 Russell King [this message]
2002-10-17 10:45 Russell King
2002-11-18 10:15 Russell King

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=E17ktTu-00034p-00@flint.arm.linux.org.uk \
    --to=rmk@arm.linux.org.uk \
    --cc=jsimmons@transvirtual.com \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome