* [PATCH] input: libps2: add ID of IBM terminal keyboards
@ 2012-09-08 3:45 Michał Pecio
2013-10-14 18:49 ` Michał Pecio
0 siblings, 1 reply; 2+ messages in thread
From: Michał Pecio @ 2012-09-08 3:45 UTC (permalink / raw)
To: Dmitry Torokhov, linux-input
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;
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] input: libps2: add ID of IBM terminal keyboards
2012-09-08 3:45 [PATCH] input: libps2: add ID of IBM terminal keyboards Michał Pecio
@ 2013-10-14 18:49 ` Michał Pecio
0 siblings, 0 replies; 2+ messages in thread
From: Michał Pecio @ 2013-10-14 18:49 UTC (permalink / raw)
To: Dmitry Torokhov; +Cc: linux-input
From: Michal Pecio <michal.pecio@gmail.com>
Keyboards of 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@gmail.com>
---
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;
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-10-14 18:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-08 3:45 [PATCH] input: libps2: add ID of IBM terminal keyboards Michał Pecio
2013-10-14 18:49 ` Michał Pecio
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).