From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 30 Aug 2002 17:38:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 30 Aug 2002 17:36:50 -0400 Received: from caramon.arm.linux.org.uk ([212.18.232.186]:46603 "EHLO caramon.arm.linux.org.uk") by vger.kernel.org with ESMTP id ; Fri, 30 Aug 2002 17:35:22 -0400 To: James Simmons CC: LKML From: Russell King Subject: [PATCH] 2.5.29-keyboard Message-Id: Date: Fri, 30 Aug 2002 22:39:06 +0100 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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 */