lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <593C1A73FB93BACE+20240326131718.20497-1-wangyuli@uniontech.com>
Date: Tue, 26 Mar 2024 21:17:18 +0800
From: WangYuli <wangyuli@...ontech.com>
To: wangyuli@...ontech.com,
	dmitry.torokhov@...il.com,
	rrangel@...omium.org,
	shaoyang@...ontech.com,
	helugang@...ontech.com
Cc: linux-input@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	huangbibo <huangbibo@...ontech.com>
Subject: [PATCH] Input: PS/2 - add support for Lenovo Xiaoxin keyboard

Modified keyboard_ids in function ps2_is_keyboard_id
for Lenovo Xiaoxin keyboard.

Signed-off-by: yuanjianye <yuanjianye@...ontech.com>
Signed-off-by: shaoyang <shaoyang@...ontech.com>
Reviewed-by: huangbibo <huangbibo@...ontech.com>
Signed-off-by: helugang <helugang@...ontech.com>
Signed-off-by: WangYuli <wangyuli@...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 6d78a1fe00c1..39d46526c56a 100644
--- a/drivers/input/serio/libps2.c
+++ b/drivers/input/serio/libps2.c
@@ -189,6 +189,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.43.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ