* [PATCH] Input: PS/2 - add support for Lenovo Xiaoxin keyboard
@ 2024-03-26 13:17 WangYuli
2024-03-28 20:34 ` Dmitry Torokhov
0 siblings, 1 reply; 4+ messages in thread
From: WangYuli @ 2024-03-26 13:17 UTC (permalink / raw)
To: wangyuli, dmitry.torokhov, rrangel, shaoyang, helugang
Cc: linux-input, linux-kernel, huangbibo
Modified keyboard_ids in function ps2_is_keyboard_id
for Lenovo Xiaoxin keyboard.
Signed-off-by: yuanjianye <yuanjianye@uniontech.com>
Signed-off-by: shaoyang <shaoyang@uniontech.com>
Reviewed-by: huangbibo <huangbibo@uniontech.com>
Signed-off-by: helugang <helugang@uniontech.com>
Signed-off-by: WangYuli <wangyuli@uniontech.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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] Input: PS/2 - add support for Lenovo Xiaoxin keyboard
2024-03-26 13:17 [PATCH] Input: PS/2 - add support for Lenovo Xiaoxin keyboard WangYuli
@ 2024-03-28 20:34 ` Dmitry Torokhov
2024-04-18 8:16 ` WangYuli
0 siblings, 1 reply; 4+ messages in thread
From: Dmitry Torokhov @ 2024-03-28 20:34 UTC (permalink / raw)
To: WangYuli
Cc: rrangel, shaoyang, helugang, linux-input, linux-kernel, huangbibo
Hi,
On Tue, Mar 26, 2024 at 09:17:18PM +0800, WangYuli wrote:
> Modified keyboard_ids in function ps2_is_keyboard_id
> for Lenovo Xiaoxin keyboard.
>
> Signed-off-by: yuanjianye <yuanjianye@uniontech.com>
> Signed-off-by: shaoyang <shaoyang@uniontech.com>
> Reviewed-by: huangbibo <huangbibo@uniontech.com>
> Signed-off-by: helugang <helugang@uniontech.com>
> Signed-off-by: WangYuli <wangyuli@uniontech.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 */
Could you please tell me more about the keyboard? What ID does it use?
Majority of keyboards are using 0xab83, does your device forget to send
0xab by chance?
Thanks.
--
Dmitry
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Input: PS/2 - add support for Lenovo Xiaoxin keyboard
2024-03-28 20:34 ` Dmitry Torokhov
@ 2024-04-18 8:16 ` WangYuli
2024-04-18 8:58 ` Shang Ye
0 siblings, 1 reply; 4+ messages in thread
From: WangYuli @ 2024-04-18 8:16 UTC (permalink / raw)
To: Dmitry Torokhov
Cc: rrangel, shaoyang, helugang, linux-input, linux-kernel, huangbibo,
yesh25, bernhard.kaindl
Hi,
On 2024/3/29 04:34, Dmitry Torokhov wrote:
> Could you please tell me more about the keyboard?
Link:
https://lore.kernel.org/lkml/20230514083336.3811-1-yesh25@mail2.sysu.edu.cn/T/
Link: https://gist.github.com/yescallop/5a97d010f226172fafab0933ce8ea8af
Those links above mentioned the same situation.
Lenovo has a batch of laptops shipped in 2021 with the same problem. And
the combined sales of these products are considerable.
> What ID does it use?
0x83.
> Majority of keyboards are using 0xab83, does your device forget to send
> 0xab by chance?
Unfortunalety, I'm afraid not.
>
> Thanks.
>
Thanks.
--
WangYuli
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Input: PS/2 - add support for Lenovo Xiaoxin keyboard
2024-04-18 8:16 ` WangYuli
@ 2024-04-18 8:58 ` Shang Ye
0 siblings, 0 replies; 4+ messages in thread
From: Shang Ye @ 2024-04-18 8:58 UTC (permalink / raw)
To: WangYuli; +Cc: linux-input, dmitry.torokhov
Hi,
On 2024/04/18 4:16 pm, WangYuli wrote:
> Hi,
>
> On 2024/3/29 04:34, Dmitry Torokhov wrote:
>> Could you please tell me more about the keyboard?
>
> Link:
> https://lore.kernel.org/lkml/20230514083336.3811-1-yesh25@mail2.sysu.edu.cn/T/
>
> Link: https://gist.github.com/yescallop/5a97d010f226172fafab0933ce8ea8af
>
> Those links above mentioned the same situation.
>
> Lenovo has a batch of laptops shipped in 2021 with the same problem. And
>
> the combined sales of these products are considerable.
>
>> What ID does it use?
> 0x83.
>> Majority of keyboards are using 0xab83, does your device forget to send
>> 0xab by chance?
> Unfortunalety, I'm afraid not.
>>
>> Thanks.
>>
> Thanks.
>
I'm pretty sure that the problem I encountered was already fixed by a
previous patch:
https://lore.kernel.org/r/20231115174625.7462-1-hdegoede@redhat.com
Could you please check if it is the case?
Regards,
Shang
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-04-18 8:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-26 13:17 [PATCH] Input: PS/2 - add support for Lenovo Xiaoxin keyboard WangYuli
2024-03-28 20:34 ` Dmitry Torokhov
2024-04-18 8:16 ` WangYuli
2024-04-18 8:58 ` Shang Ye
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).