Skip to contentSkip to conversation

input: libps2: add ID of IBM terminal keyboards

PATCH New Michał Pecio 2 participants 2 messages Sep 8, 2012 – Oct 14, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 input: libps2: add ID of IBM terminal keyboards

From: Michal Pecio <[email protected]>

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.

---
 drivers/input/serio/libps2.c | 1 +
 1 file changed, 1 insertion(+)
drivers/input/serio/libps2.c +1 -0
index 07a8363..f946544 100644
@@ -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;
#1 lore raw

PATCH 1/1 input: libps2: add ID of IBM terminal keyboards

From: Michal Pecio <[email protected]>

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.

---
 drivers/input/serio/libps2.c | 1 +
 1 file changed, 1 insertion(+)
drivers/input/serio/libps2.c +1 -0
index 07a8363..f946544 100644
@@ -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;