On Tue, 10 Mar 2026, Vishnu Sankar wrote: > Hi Ilpo, > > Thank you. > > On Tue, Mar 10, 2026 at 6:15 PM Ilpo Järvinen > wrote: > > > > On Tue, 10 Mar 2026, Vishnu Sankar wrote: > > > > > Hi Ilpo, > > > > > > Thank you so much for the review. > > > > > > On Mon, Mar 9, 2026 at 5:01 PM Ilpo Järvinen > > > wrote: > > > > > > > > On Mon, 9 Feb 2026, Vishnu Sankar wrote: > > > > > > > > > Enable doubletap functionality by default on TrackPoint devices that > > > > > support it. The feature is detected using firmware ID pattern matching > > > > > (PNP: LEN03xxx) with a deny list of incompatible devices. > > > > > > > > > > This provides immediate doubletap functionality without requiring > > > > > userspace configuration. The hardware is enabled during device > > > > > detection, while event filtering continues to be handled by the > > > > > thinkpad_acpi driver as before. > > > > > > > > > > Signed-off-by: Vishnu Sankar > > > > > Suggested-by: Mark Pearson > > > > > Acked-by: Dmitry Torokhov > > > > > --- > > > > > Changes in v7: > > > > > - Removed unwanted comments > > > > > - Removed psmouse_info () > > > > > > > > > > Changes in v6: > > > > > - No Changes > > > > > > > > > > Changes in v5: > > > > > - Renamed function to trackpoint_is_dt_capable() > > > > > - Simplified string comparison without sscanf() > > > > > - Removed wrapper function as suggested > > > > > - Fixed missing period in comment > > > > > > > > > > Changes in v4: > > > > > - Simplified approach: removed all sysfs attributes and user interface > > > > > - Enable doubletap by default during device detection > > > > > - Removed global variables and complex attribute infrastructure > > > > > - Uses minimal firmware ID detection with deny list > > > > > - Follows KISS principle as suggested by reviewers > > > > > > > > > > Changes in v3: > > > > > - No changes > > > > > > > > > > Changes in v2: > > > > > - Improve commit messages > > > > > - Sysfs attributes moved to trackpoint.c > > > > > - Removed unnecessary comments > > > > > - Removed unnecessary debug messages > > > > > - Using strstarts() instead of strcmp() > > > > > - is_trackpoint_dt_capable() modified > > > > > - Removed _BIT suffix and used BIT() define > > > > > - Reverse the trackpoint_doubletap_status() logic to return error first > > > > > - Removed export functions as a result of the design change > > > > > - Changed trackpoint_dev->psmouse to parent_psmouse > > > > > - The path of trackpoint.h is not changed > > > > > --- > > > > > drivers/input/mouse/trackpoint.c | 45 ++++++++++++++++++++++++++++++++ > > > > > drivers/input/mouse/trackpoint.h | 5 ++++ > > > > > 2 files changed, 50 insertions(+) > > > > > > > > > > > > diff --git a/drivers/input/mouse/trackpoint.c b/drivers/input/mouse/trackpoint.c > > > > > index 5f6643b69a2c..e12d76350252 100644 > > > > > --- a/drivers/input/mouse/trackpoint.c > > > > > +++ b/drivers/input/mouse/trackpoint.c > > > > > > > + /* Must start with "PNP: LEN03" */ > > > > > + if (!strstarts(pnp_id, "PNP: LEN03")) > > > > > > > > Missing include. > > > > > > Sorry, I am a bit confused here: > > > strstarts() is already available through the existing > > > #include in thinkpad_acpi.c. > > > > > > Do you think I should do anything else here? > > > > Yes. > > > > The file you're modifying in this patch is trackpoint.c which doesn't > > have that include so please add it also there. :-) > Aaah, Sorry!!. Got it. > I’ll add the missing #include > Thank you for pointing it out. Thanks. Please also double check you added inux/array_size.h into the correct file in case you were confused what file this patch modifies. -- i.