[PATCH] input: libps2: add ID of IBM terminal keyboards

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Michal Pecio <michal.pecio@xxxxxxxxxxxxxxxxxxxxx>

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@xxxxxxxxxxxxxxxxxxxxx>
---
 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;
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux