From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: ahmad baghereslami <ahmad.b1995@gmail.com>
Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3] Input: synaptics - support the touchpad LED on RMI function $30
Date: Mon, 23 Nov 2026 17:28:23 -0800 [thread overview]
Message-ID: <84b917b9feb4a934e67d0e8f25707cc1@gmail.com> (raw)
In-Reply-To: <20261116071906.30110-1-ahmad.b1995@gmail.com>
Hi Ahmad,
On Mon, Nov 16, 2026 at 10:49:06AM +0330, ahmad baghereslami wrote:
...
> The reason I kept it on PS/2 is a side effect on this laptop: the
> embedded controller turns the keyboard backlight back on when it sees
> PS/2 input after the backlight has timed out. Over SMBus the touchpad's
> traffic no longer passes through the EC, so touching the touchpad no
> longer wakes the keyboard backlight; only typing does. Nothing else
> differed in daily use.
>
> If you still prefer the RMI4 route, I can send a series that adds
> "SYN3040" to smbus_pnp_ids[] and implements LED class support in
> rmi_f30.c, and drop the PS/2 backdoor. Or, if the backlight behaviour
> is a reason to keep this touchpad on PS/2, I would keep the current
> approach. Which would you prefer?
I would definitely prefer the RMI4 route: adding "SYN3040" to
smbus_pnp_ids[] and implementing LED class support in rmi_f30.c.
We already enable InterTouch on several other HP laptops in
smbus_pnp_ids[], and implementing F30 LED support in rmi_f30.c benefits
all RMI4 touchpads (over SMBus, I2C, SPI, or HID) without duplicating
RMI4 PDT scanning and register access over the PS/2 command backdoor or
having to deactivate the PS/2 stream and export psmouse_mutex on every
LED update.
Keyboard backlight management should be handled separately from the
touchpad transport: relying on the EC snooping legacy PS/2 traffic is
just an incidental side effect (an external USB/Bluetooth mouse or an
I2C-HID touchpad already bypasses the EC in the same way). Ideally the
keyboard backlight is exposed as a standard LED class device by the HP
platform driver (hp-wmi) and managed by userspace policy monitoring
input activity, or (if an in-kernel mechanism is desired) driven by
ledtrig-input-events (the "input-events" LED trigger) or an input
observer in the platform driver.
Thanks.
--
Dmitry
prev parent reply other threads:[~2026-11-24 1:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-30 7:08 [PATCH] " ahmad baghereslami
2026-10-31 1:23 ` kernel test robot
2026-10-31 2:29 ` kernel test robot
2026-11-06 9:56 ` [PATCH v2] " ahmad baghereslami
2026-11-14 9:08 ` [PATCH v3] " ahmad baghereslami
2026-11-16 4:41 ` Dmitry Torokhov
2026-11-16 7:19 ` ahmad baghereslami
2026-11-24 1:28 ` Dmitry Torokhov [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=84b917b9feb4a934e67d0e8f25707cc1@gmail.com \
--to=dmitry.torokhov@gmail.com \
--cc=ahmad.b1995@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®