From: dmitrytorokhov <dmitry.torokhov@gmail.com>
To: Ashwin Gundarapu <linuxuser509@zohomail.in>
Cc: linux-input <linux-input@vger.kernel.org>,
linux-kernel <linux-kernel@vger.kernel.org>,
ubuntu-kernel <ubuntu-kernel@lists.ubuntu.com>,
hasan6l <hasan6l@gmail.com>
Subject: Re: [PATCH] Input: synaptics - add quirk for Daffodil DC253D touchpad
Date: Mon, 1 Jun 2026 21:56:51 -0700 [thread overview]
Message-ID: <ah5iH8TPFnpbyT8a@google.com> (raw)
In-Reply-To: <19e5047ead1.ce62bdb39017.6022546617731203250@zohomail.in>
Hi Ashwin,
On Fri, May 22, 2026 at 08:52:30PM +0530, Ashwin Gundarapu wrote:
> From ee16efae3c4371d37467c49c0cae6af808e1b625 Mon Sep 17 00:00:00 2001
> From: Ashwin Gundarapu <linuxuser509@zohomail.in>
> Date: Fri, 22 May 2026 20:48:25 +0530
> Subject: [PATCH] Input: synaptics - add quirk for Daffodil DC253D touchpad
>
> On the Daffodil DC253D laptop, the touchpad is incorrectly detected as
> a clickpad, causing the right button to be missing. Add a DMI quirk
> to clear the CLICKPAD bit for this device.
I wonder if the device can work on SMbus/RMI4 mode and if it behaves
better in RMI configuration?
>
> Link: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2153983
> Signed-off-by: Ashwin Gundarapu <linuxuser509@zohomail.in>
> ---
> drivers/input/mouse/synaptics.c | 11 +++++++++--
> 1 file changed, 9 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c
> index 26071128f43a..4ca85fb4ab70 100644
> --- a/drivers/input/mouse/synaptics.c
> +++ b/drivers/input/mouse/synaptics.c
> @@ -534,9 +534,16 @@ static int synaptics_invert_y(int y)
> * Apply quirk(s) if the hardware matches
> */
> static void synaptics_apply_quirks(struct psmouse *psmouse,
> - struct synaptics_device_info *info)
> + struct synaptics_device_info *info)
> {
> - int i;
> + int i;
> +
> + /* Daffodil DC253D has a physical right button */
> + if (dmi_match(DMI_SYS_VENDOR, "Daffodil Computers Ltd.") &&
> + dmi_match(DMI_PRODUCT_NAME, "DC253D")) {
> + info->ext_cap_0c &= ~BIT(20); /* Clear CLICKPAD bit */
> + psmouse_info(psmouse, "Force right button on Daffodil DC253D\n");
> + }
The patch is whitespace-damaged.
>
> for (i = 0; min_max_pnpid_table[i].pnp_ids; i++) {
> if (!psmouse_matches_pnp_id(psmouse,
Thanks.
--
Dmitry
prev parent reply other threads:[~2026-06-02 4:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-22 15:22 [PATCH] Input: synaptics - add quirk for Daffodil DC253D touchpad Ashwin Gundarapu
2026-05-22 15:43 ` sashiko-bot
2026-06-02 4:56 ` dmitrytorokhov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ah5iH8TPFnpbyT8a@google.com \
--to=dmitry.torokhov@gmail.com \
--cc=hasan6l@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxuser509@zohomail.in \
--cc=ubuntu-kernel@lists.ubuntu.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox