[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20230227050858.21596-1-tangmeng@uniontech.com>
Date: Mon, 27 Feb 2023 13:08:58 +0800
From: Meng Tang <tangmeng@...ontech.com>
To: dmitry.torokhov@...il.com, akpm@...ux-foundation.org,
glider@...gle.com
Cc: linux-input@...r.kernel.org, linux-kernel@...r.kernel.org,
Meng Tang <tangmeng@...ontech.com>
Subject: [PATCH] Input: libps2 - add support for lenovo xiaoxin keyboard
Modified keyboard_ids in function ps2_is_keyboard_id
add 0x83 for Lenovo Xiaoxin keyboard
Signed-off-by: Meng Tang <tangmeng@...ontech.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 3e19344eda93..84f366846cf8 100644
--- a/drivers/input/serio/libps2.c
+++ b/drivers/input/serio/libps2.c
@@ -156,6 +156,7 @@ bool ps2_is_keyboard_id(u8 id_byte)
0x5d, /* Trust keyboard */
0x60, /* NMB SGI keyboard, translated */
0x47, /* NMB SGI keyboard */
+ 0x83, /* Lenovo Xiaoxin keyboard */
};
return memchr(keyboard_ids, id_byte, sizeof(keyboard_ids)) != NULL;
--
2.20.1
Powered by blists - more mailing lists