From: "Michał Pecio" <michal.pecio@students.mimuw.edu.pl>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>, linux-input@vger.kernel.org
Subject: [PATCH] input: libps2: add ID of IBM terminal keyboards
Date: Fri, 7 Sep 2012 20:45:10 -0700 [thread overview]
Message-ID: <20120907204510.74418ae7@students.mimuw.edu.pl> (raw)
From: Michal Pecio <michal.pecio@students.mimuw.edu.pl>
Keyboards for several IBM terminals from 1980's and 1990's are
compatible with the PS/2 protocol.
Add their ID (0xBF) to the whitelist of supported keyboards.
Only untranslated ID needs to be added because atkbd doesn't
support translated scancode set 3 anyway.
Signed-off-by: Michal Pecio <michal.pecio@students.mimuw.edu.pl>
---
drivers/input/serio/libps2.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/input/serio/libps2.c b/drivers/input/serio/libps2.c
index 07a8363..f946544 100644
--- a/drivers/input/serio/libps2.c
+++ b/drivers/input/serio/libps2.c
@@ -114,6 +114,7 @@ int ps2_is_keyboard_id(char id_byte)
0x5d, /* Trust keyboard */
0x60, /* NMB SGI keyboard, translated */
0x47, /* NMB SGI keyboard */
+ 0xbf, /* IBM terminal keyboards */
};
return memchr(keyboard_ids, id_byte, sizeof(keyboard_ids)) != NULL;
next reply other threads:[~2012-09-08 3:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-08 3:45 Michał Pecio [this message]
2013-10-14 18:49 ` [PATCH] input: libps2: add ID of IBM terminal keyboards Michał Pecio
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=20120907204510.74418ae7@students.mimuw.edu.pl \
--to=michal.pecio@students.mimuw.edu.pl \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-input@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;
as well as URLs for NNTP newsgroup(s).