input: libps2: add ID of IBM terminal keyboards
Subsystems (2)
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.
Signed-off-by Michal Pecio <[email protected]>
--- drivers/input/serio/libps2.c | 1 + 1 file changed, 1 insertion(+)
drivers/input/serio/libps2.c +1 -0
@@ -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 ;
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.
Signed-off-by Michal Pecio <[email protected]>
--- drivers/input/serio/libps2.c | 1 + 1 file changed, 1 insertion(+)
drivers/input/serio/libps2.c +1 -0
@@ -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 ;