mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: ahmad baghereslami <ahmad.b1995@gmail.com>
To: dmitry.torokhov@gmail.com
Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org,
	ahmad baghereslami <ahmad.b1995@gmail.com>
Subject: [PATCH 2/2] Input: synaptics - enable SMBus for HP ZBook 17 G3
Date: Thu,  3 Dec 2026 16:20:45 +0330	[thread overview]
Message-ID: <223fcc5db06a1f50833790b60f7715024c94f75c.1796302238.git.ahmad.b1995@gmail.com> (raw)
In-Reply-To: <cover.1796302238.git.ahmad.b1995@gmail.com>

The touchpad on the HP ZBook 17 G3 (PNP: SYN3040 SYN0100 SYN0002
PNP0f13, board id 2706, fw id 2017334) reports that it supports
InterTouch, and the kernel suggests reporting it:

  psmouse serio3: synaptics: Your touchpad (PNP: SYN3040 SYN0100 SYN0002
  PNP0f13) says it can support a different bus. If i2c-hid and hid-rmi
  are not used, you might want to try setting psmouse.synaptics_intertouch
  to 1 and report this to linux-input@vger.kernel.org.

With psmouse.synaptics_intertouch=1 it binds over SMBus as
"Synaptics TM2706-002" through rmi4_smbus (i2c-i801). Pointer motion,
tapping, the physical buttons, two-finger scrolling and the pointing stick
with its three buttons all work, as they do over PS/2, and the LED in
the top left corner of the touchpad is available through rmi_f30.

Over SMBus the touchpad's reports no longer pass through the embedded
controller, which turns the keyboard backlight back on when it sees PS/2
input after the backlight timed out; touching the touchpad no longer
does that, typing still does.

Add its PNP ID to smbus_pnp_ids so it uses SMBus by default.

Tested on an HP ZBook 17 G3 (BIOS N81 01.62) with Ubuntu's 7.0.0 kernel and
psmouse.synaptics_intertouch=1.

Assisted-by: LLM
Signed-off-by: ahmad baghereslami <ahmad.b1995@gmail.com>
---
 drivers/input/mouse/synaptics.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c
index b007e642e..62765222a 100644
--- a/drivers/input/mouse/synaptics.c
+++ b/drivers/input/mouse/synaptics.c
@@ -198,6 +198,7 @@ static const char * const smbus_pnp_ids[] = {
 	"SYN1221", /* TUXEDO InfinityBook Pro 14 v5 */
 	"SYN3003", /* HP EliteBook 850 G1 */
 	"SYN3015", /* HP EliteBook 840 G2 */
+	"SYN3040", /* HP ZBook 17 G3 */
 	"SYN3052", /* HP EliteBook 840 G4 */
 	"SYN3221", /* HP 15-ay000 */
 	"SYN323d", /* HP Spectre X360 13-w013dx */
-- 
2.53.0


      parent reply	other threads:[~2026-12-03 12:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-03 12:50 [PATCH 0/2] Input: drive the HP ZBook 17 G3 touchpad LED through RMI4 ahmad baghereslami
2026-12-03 12:50 ` [PATCH 1/2] Input: synaptics-rmi4 - support the LEDs of function $30 ahmad baghereslami
2026-12-03 12:50 ` ahmad baghereslami [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=223fcc5db06a1f50833790b60f7715024c94f75c.1796302238.git.ahmad.b1995@gmail.com \
    --to=ahmad.b1995@gmail.com \
    --cc=dmitry.torokhov@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®