* [PATCH v2 0/1] Input/trackpoint: Add new JYT_NDT device variant id 7
@ 2026-11-13 11:22 Yuan Yao
2026-11-13 11:22 ` [PATCH v2 1/1] Input: trackpoint - Add new TP " Yuan Yao
0 siblings, 1 reply; 3+ messages in thread
From: Yuan Yao @ 2026-11-13 11:22 UTC (permalink / raw)
To: Ilpo Järvinen, Dmitry Torokhov, Vishnu Sankar
Cc: linux-input, linux-kernel, Yuan Yao, Yuan Yao,
Jingle Wu 吳金國
The new trackpoint variant id 7 is found on Lenovo Thinkpad X14
Gen1 laptop(Product Name: 21XMA006CD), it belongs to JYT_NDT with
confirmation from Vishnu Sankar in Lenovo. Now it's incorrectly
probed as Generic or Logitech PS/2 mouse.
Add the variant id 7 to match the TP_READ_ID command return
value, probe the device as trackpoint correctly.
I tested the sensitivity/middle button lock/rate/resolution
setting, the trackpoint works well in daily usage and when
resume form system sleeping, no issue is found in my last
weeks usage.
BEFORE:
input: PS/2 Generic Mouse as /devices/platform/i8042/serio1/input/input63
AFTER:
psmouse serio1: trackpoint: JYT_NDT TrackPoint firmware: 0xa1, buttons: 3/3
input: TPPS/2 JYT_NDT TrackPoint as /devices/platform/i8042/serio1/input/input8
The patch is rebased to 7.4-rc1.
Changes from v1:
1. Change to correct vendor name JYT_NDT, with many thanks to
Dmitry Torokhov, Jingle Wu, Vishnu Sankar for helping on identify
the real vendor of this device.
v1: https://lore.kernel.org/all/20261102130836.11863-1-yaoyuan0329os@gmail.com/
Yuan Yao (1):
Input: trackpoint - Add new TP JYT_NDT device variant id 7
drivers/input/mouse/trackpoint.c | 2 ++
drivers/input/mouse/trackpoint.h | 1 +
2 files changed, 3 insertions(+)
base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
--
2.56.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH v2 1/1] Input: trackpoint - Add new TP JYT_NDT device variant id 7
2026-11-13 11:22 [PATCH v2 0/1] Input/trackpoint: Add new JYT_NDT device variant id 7 Yuan Yao
@ 2026-11-13 11:22 ` Yuan Yao
2026-11-13 15:48 ` Dmitry Torokhov
0 siblings, 1 reply; 3+ messages in thread
From: Yuan Yao @ 2026-11-13 11:22 UTC (permalink / raw)
To: Ilpo Järvinen, Dmitry Torokhov, Vishnu Sankar
Cc: linux-input, linux-kernel, Yuan Yao, Yuan Yao,
Jingle Wu 吳金國
The new trackpoint variant id 7 is found on Lenovo Thinkpad X14
Gen1 laptop(Product Name: 21XMA006CD), it belongs to JYT_NDT with
confirmation from Vishnu Sankar in Lenovo. now it's incorrectly
probed as Generic or Logitech PS/2 mouse.
Add the variant id 7 to match the TP_READ_ID command return
value, probe the device as trackpoint correctly.
BEFORE:
input: PS/2 Generic Mouse as /devices/platform/i8042/serio1/input/input63
AFTER:
psmouse serio1: trackpoint: JYT_NDT TrackPoint firmware: 0xa1, buttons: 3/3
input: TPPS/2 JYT_NDT TrackPoint as /devices/platform/i8042/serio1/input/input8
Signed-off-by: Yuan Yao <yaoyuan@linux.alibaba.com>
---
drivers/input/mouse/trackpoint.c | 2 ++
drivers/input/mouse/trackpoint.h | 1 +
2 files changed, 3 insertions(+)
diff --git a/drivers/input/mouse/trackpoint.c b/drivers/input/mouse/trackpoint.c
index 3bd8fdf56cd3..2dde8cc5cab1 100644
--- a/drivers/input/mouse/trackpoint.c
+++ b/drivers/input/mouse/trackpoint.c
@@ -25,6 +25,7 @@ static const char * const trackpoint_variants[] = {
[TP_VARIANT_NXP] = "NXP",
[TP_VARIANT_JYT_SYNAPTICS] = "JYT_Synaptics",
[TP_VARIANT_SYNAPTICS] = "Synaptics",
+ [TP_VARIANT_JYT_NDT] = "JYT_NDT"
};
/*
@@ -285,6 +286,7 @@ static int trackpoint_start_protocol(struct psmouse *psmouse,
case TP_VARIANT_ELAN:
case TP_VARIANT_NXP:
case TP_VARIANT_JYT_SYNAPTICS:
+ case TP_VARIANT_JYT_NDT:
case TP_VARIANT_SYNAPTICS:
if (variant_id)
*variant_id = param[0];
diff --git a/drivers/input/mouse/trackpoint.h b/drivers/input/mouse/trackpoint.h
index 3e03cdb39449..2aa76311e400 100644
--- a/drivers/input/mouse/trackpoint.h
+++ b/drivers/input/mouse/trackpoint.h
@@ -30,6 +30,7 @@
#define TP_VARIANT_NXP 0x04
#define TP_VARIANT_JYT_SYNAPTICS 0x05
#define TP_VARIANT_SYNAPTICS 0x06
+#define TP_VARIANT_JYT_NDT 0x07
/*
* Commands
--
2.56.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v2 1/1] Input: trackpoint - Add new TP JYT_NDT device variant id 7
2026-11-13 11:22 ` [PATCH v2 1/1] Input: trackpoint - Add new TP " Yuan Yao
@ 2026-11-13 15:48 ` Dmitry Torokhov
0 siblings, 0 replies; 3+ messages in thread
From: Dmitry Torokhov @ 2026-11-13 15:48 UTC (permalink / raw)
To: Yuan Yao
Cc: Ilpo Järvinen, Vishnu Sankar, linux-input, linux-kernel,
Yuan Yao, Jingle Wu 吳金國
On Fri, Nov 13, 2026 at 07:22:02PM +0800, Yuan Yao wrote:
> The new trackpoint variant id 7 is found on Lenovo Thinkpad X14
> Gen1 laptop(Product Name: 21XMA006CD), it belongs to JYT_NDT with
> confirmation from Vishnu Sankar in Lenovo. now it's incorrectly
> probed as Generic or Logitech PS/2 mouse.
>
> Add the variant id 7 to match the TP_READ_ID command return
> value, probe the device as trackpoint correctly.
>
> BEFORE:
> input: PS/2 Generic Mouse as /devices/platform/i8042/serio1/input/input63
>
> AFTER:
> psmouse serio1: trackpoint: JYT_NDT TrackPoint firmware: 0xa1, buttons: 3/3
> input: TPPS/2 JYT_NDT TrackPoint as /devices/platform/i8042/serio1/input/input8
>
> Signed-off-by: Yuan Yao <yaoyuan@linux.alibaba.com>
Applied, thank you.
--
Dmitry
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-11-13 15:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-13 11:22 [PATCH v2 0/1] Input/trackpoint: Add new JYT_NDT device variant id 7 Yuan Yao
2026-11-13 11:22 ` [PATCH v2 1/1] Input: trackpoint - Add new TP " Yuan Yao
2026-11-13 15:48 ` Dmitry Torokhov
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.