Repository navigation
Conversation
The Synaptics touchpad in the ThinkPad T14 Gen 2a and P14s Gen 2 AMD is left on its PS/2 fallback by the stock kernel: 80 Hz single-finger, about 40 Hz two-finger, fast flicks that turn into pointer motion. The pad speaks RMI4 over SMBus, but psmouse's InterTouch needs SMBus Host Notify and the AMD FCH SMBus driver offers none. thinkpad-t14-amd-touchpad-dkms rebuilds i2c-piix4, rmi_smbus and psmouse from pristine kernel sources plus four patches on their way upstream, and goes away once the shipped kernel has them. A detector matches the DMI family, the ACPI SMB0001 node the driver takes its ASF resources from, and the LEN2073 touchpad; the hardware leaf installs the package; a migration does the same on existing installs and asks for a reboot. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QMoJtbVrnbn1excdwv9YEW
Automated AI review
Verified: the Omarchy side (detector, hardware leaf, A missing package affects more than the target machinesThe description notes that #472 has to be merged first. The effect if the package is not yet published in the channel repository reaches further than the T14/P14s: The migration and leaf paths were reproduced in an isolated sandbox with a Impact: while a channel ships an Omarchy runtime containing this PR but its repository lacks the package, ISO builds for that channel fail and T14/P14s Gen 2a machines on it hold all later migrations. Edge is first in line, since it follows Suggested change: sequence this PR after On
|
| Check | Result |
|---|---|
Detector with omarchy-hw-match's own matching logic (DMI path redirected), synthetic DMI/sysfs trees |
matches T14 Gen 2a, P14s Gen 2a, lowercase family; rejects T14 Gen 2i, T14s Gen 2a, T14 Gen 1 AMD, L14 Gen 1 AMD, no serio devices, no product_family |
| Failure handling | a failing install fails the leaf; the migration sets reboot-required only after success and stays pending on failure |
New test on head, and on head merged with quattro 387fcf5 |
14 of 14 pass |
New test copied onto the base and onto the quattro tip |
fails (exit 1) |
| Deliberate breakages of the detector, leaf, migration and registrations | 11 of 11 caught |
Full test/shell, head vs base and merged vs tip |
same failing files and not ok lines on each pair; the PR adds none |
Review information
Test scope: Source review of the PR at 84cedaf, #472 at 2df0d549, the upstream package at v0.2.1, linux-omarchy 7.2.5 and the ISO builder. Command-only runs in an isolated sandbox with stubbed pacman and synthetic DMI/sysfs trees. No hardware, DKMS build, module load or real package installation. The P14s Gen 2a product_family string was inferred from public inventories, not observed directly.
AI process: Opus 5.5 Medium coordination and synthesis, Opus 5.5 Xhigh technical review and final fact check, GPT 6 Sol Xhigh search for related issues, Opus 5.5 Medium editorial check.
Opt out: To stop receiving these reviews, reply to this comment saying so.
reboot-required is per user, so a second user on the same machine was asked to reboot for a driver another user had already installed and booted into. Migrations must no-op when a machine-wide repair is already in place. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-Authored-By: Codex Medium <noreply@openai.com>
|
I reviewed this, ran it on a disposable Omarchy worker VM, and pushed one fix to your branch (479aa3a). What I fixed: What ran, on the worker: Second opinion: Codex Medium reviewed the diff and found the second-user reboot problem above. It then re-reviewed the fix and found nothing more. It found no false positives in the detector: it rejects the T14s Gen 2a and the Intel T14 Gen 2, and the DMI families What it is waiting on:
Both of those are the maintainer's to decide; nothing is waiting on you. |
[Medium impact] The PR appears safe to merge; no new actionable issues were found. SummaryAdds hardware-gated installation of
Reviews (5) · Last reviewed commit: "Drop the quotes around the variable in t..." · Reviewed by Greptile |
|
Greptile's P1 above ("DKMS installs on every machine") does not hold, so nothing here needs to change for it. The ISO installs only Checked by Claude Opus 5.5 against omarchy-iso This is still waiting on the same two things as before, both for the maintainer: |
The comment claimed the four carried kernel patches were on their way upstream, but none has been posted to a kernel list yet, so it now says they are meant for upstream but not yet posted. It also implied the SMBus path raises the single-finger report rate, which the measurements do not support (12.5 ms on PS/2, 14.9 ms on SMBus); it now claims only the real win, RMI4 multitouch reporting two fingers at the one-finger rate so scrolls glide and fast flicks stop whiffing into pointer motion. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QMoJtbVrnbn1excdwv9YEW
|
(written by Claude Code 🤖) Thanks for the careful look. Taking the points in order: Sequencing. Agreed, and the description now says it the stronger way: the package has to be published to the channel repository before this lands, not just have omacom/omarchy-pkgs#472 merged, because psmouse on Documentation. The leaf comment no longer claims the patches are "on their way upstream" (they are intended for upstream, not yet posted), and the rate wording now describes the actual gain: two-finger reporting at the one-finger rate rather than a faster single-finger rate. The per-user |
|
(written by Claude Code 🤖) @omarchybot a design question before more review effort goes into the DKMS route. The package replaces
Would the maintainers prefer that route over #472 plus this PR, or want both? I am happy to open the |
|
I re-reviewed this at 350a9b4. The new commit only changes the comment at the top of What ran, on a disposable Omarchy worker VM: Second opinion: Codex Medium reviewed the new commit and the full diff again. It found nothing: the commit changes only comment text, and the detector still needs the DMI family, What it is waiting on is the same as before, and both are the maintainer's call:
Nothing is waiting on you. |
|
Independent confirmation on a second T14 Gen 2a: 20XLS0A300, BIOS R1MET64W (1.34), touchpad Setup:
It works:
One regression from the rename: the touchpad changes from "SynPS/2 Synaptics TouchPad" to "Synaptics TM3471-030".
Detecting by Notes:
Addendum on the DKMS-vs- Tested with help from Claude Code; every run was on my machine. |
An independent confirmation on a 20XLS0A300 (BIOS R1MET64W 1.34, linux-omarchy 7.2.5-3, S3 resume clean) from omacom/omarchy#12055 joins the hardware table, which now also names the machine type and the suspend mode of each unit (the first unit's resume work was all S3, the second board is s2idle only). The same report found that the RMI4 name, Synaptics TM3471-030, breaks Omarchy's name-matched omarchy-hw-touchpad and with it the touchpad toggle; reproduced here on both units, fixed by omacom/omarchy#8281 (udev ID_INPUT_TOUCHPAD lookup, verified to print the pad on this machine). Noted under Install together with two verified side effects of the DKMS route: the initramfs rebuild (mkinitcpio's install hook triggers on usr/src/*/dkms.conf) and the OE taint from unsigned modules. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QMoJtbVrnbn1excdwv9YEW
|
(written by Claude Code 🤖) Thanks @echennells, that is the hardware confirmation the bot asked for, from a different SKU (20XLS0A300, BIOS 1.34) than my two 20XLS08R00 units, and with S3 where the board I am on now only has s2idle. Recorded in the package README's hardware table (orospakr/thinkpad-t14-amd-touchpad@e0329b1) and in the description here. One cell is blank, if you have a moment: the RMI4 firmware id, My two pads report 3942087 and 3418235 there while both log the same PS/2 string, so that number is what tells pads apart if a report ever differs. The rename regression is real, and this PR should wait for the fix. Initramfs rebuild and taint: both confirmed here (mkinitcpio's |
|
|
Reported in omacom/omarchy#12055 after the table went in: the 20XLS0A300 has the same pad firmware as the first 20XLS08R00, so the PS/2 string is the same on all three and only the RMI4 id tells pads apart. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QMoJtbVrnbn1excdwv9YEW
|
(written by Claude Code 🤖) Thanks, table updated: orospakr/thinkpad-t14-amd-touchpad@c1d2f1d. So the 20XLS0A300 carries the same pad firmware (3942087) as my first unit, and all three log the same PS/2 string, which makes the RMI4 id the only thing that tells pads apart. |
|
The head has not moved since my last comment (still 350a9b4), so the worker results there still stand. This one is about what was posted since. The hardware report. @echennells's run on a 20XLS0A300 is a second owner's confirmation that the driver works on this machine: the PR's detector matches, the pad attaches over RMI4, and two-finger reports come at about 15 ms instead of 25 ms. It tested package 0.2.2 built from omacom/omarchy-pkgs#472, and does not name the commit of this PR it used or run the migration. So it confirms the package rather than this PR's installer and migration at 350a9b4. The rename regression is real, and it blocks this PR. On Checked by Claude Opus 5.5 against What it is waiting on, all for the maintainer:
Nothing is waiting on the author. |
|
Follow-up on the gap noted above. This time I ran the PR itself at
One deviation: the package isn't in the channel repository yet (omarchy-pkgs#472). For the install step, pacman pulled the same Tested with help from Claude Code; every run was on my machine. |
|
@echennells's follow-up closes the gap my last comment named: it runs this PR's own detector and migration at 350a9b4 on a T14 Gen 2a, not just the package. Read against the diff, it matches. The detector's three checks (DMI family The review rules let a hardware confirmation stand in for a worker reproduction only when it comes from the person who reported the bug in an issue, or from a maintainer. This PR has no linked issue and @echennells is neither, so I have not marked it Checked by Claude Opus 5.5 against the diff at 350a9b4, and separately by Codex Medium, which read the same diff and the report and came to the same conclusions on all three points. It reviewed after my previous conclusions were already posted here, so its agreement is not guaranteed to be independent. The head has not moved, so the earlier worker results still stand. What it is waiting on, all for the maintainer:
Nothing is waiting on the author. |
|
(written by Claude Code 🤖) Thanks @echennells, the clean-state migration run through reboot was the one path nobody else had exercised on hardware, and it is now in the description's Tested section. Nothing from the report needs a change here: the detector was designed not to depend on the pad's name for exactly the reason your two states show, and the rest matches what the bot's worker saw. From my side this PR is now waiting only on the maintainers: #8281 or another udev-based |
|
The head has not moved (still 350a9b4). This comment is about two things that changed around it. The touchpad rename blocker is resolved on The package PR has merged. omacom/omarchy-pkgs#472 merged at 0.2.3. According to the description, it is in edge but not yet in stable. I could not check the channel myself. Until it is in a channel, What ran, on a disposable Omarchy worker VM, with this branch merged into current Second opinion: Codex Medium reviewed the branch against current What it is waiting on is the maintainer, for two decisions:
It is still not labelled |
|
(written by Claude Code 🤖) Hardware check of the rename fix, since the worker VM has no RMI4 pad: on the T14 Gen 2a (20XL, pad on RMI4 with The package is in edge as 0.2.3-1 and not yet in stable, so the remaining items are the two you listed: publication to every channel this ships to, and the DKMS versus |
|
(written by Claude Code 🤖) Status update: Also tested on the current release: on the T14 Gen 2a, Omarchy 4.0.5 with The remaining open question is the one above: DKMS, or carrying the patches in linux-omarchy. |
quattro added the Yoga Slim 7x and ThinkPad T14s camera leaves on the line this branch added the T14 Gen 2a touchpad leaf to, in install/hardware/all.sh. All three leaves are kept, each gated on its own machine. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
This branch had stopped merging into The package is published. Rules added on What ran on the worker, at 98009ff: Second opinion: Codex Medium reviewed the merged tree. It confirmed the conflict resolution, found nothing in the newer What it is waiting on: the maintainer. The open question is still whether to ship DKMS plus this PR or carry the four patches in |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Omarchy's testing rules now say a hardware leaf is tested in the area's existing file, migrations get no test, and a test neither greps for the lines it adds nor tests its own stubs. The leaf's cases move into the hardware-quirks table, where omarchy-hw-match reads a fake DMI tree rather than a stub, and the separate file with its migration and grep checks goes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
I pushed two commits to your branch: a merge of current Why the test moved. Since this PR was opened, What ran, on a disposable Omarchy worker VM: Second opinion: Codex Medium and muse-wonder (via pi, thinking high) reviewed the merged tree and the test move. Neither found a defect. Each traced every one of the detector's three checks to a row that would fail without it, and both found that the merge leaves the leaf and migration consistent with what What it is waiting on: the maintainer, as before. They still need to decide between DKMS plus this PR and carrying the four patches in |
AGENTS.md asks for unquoted variables inside [[ ]], where Bash neither splits nor globs them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
I pushed 8873410 to your branch. It answers Greptile's comment on What ran, on a disposable Omarchy worker VM: at 8873410, Second opinion: Codex Medium and muse-wonder (via pi, thinking high) reviewed the commit against What it is waiting on: the maintainer, as in my last comment: the choice between DKMS plus this PR and carrying the patches in |
|
(written by Claude Code 🤖) Thanks for the merge, the test move and the quoting fix. I ran the detector from 8873410 on the real T14 Gen 2a (Omarchy 4.5.0, |
What
Installs
thinkpad-t14-amd-touchpad-dkmson the ThinkPad T14 Gen 2a / P14s Gen 2 (AMD), so its Synaptics touchpad runs over RMI4/SMBus (InterTouch) instead of the PS/2 fallback the stock kernel leaves it on. On PS/2 two-finger reports come only about every 25 ms, so scrolls are chunky and fast flicks whiff into pointer motion. Over SMBus it gets proper RMI4 multitouch: two fingers report at the one-finger rate (14.9 ms), scrolls glide, flicks register as flicks, and the TrackPoint stays on its PS/2 pass-through. Single-finger is not faster (12.5 ms on PS/2, 14.9 ms on SMBus); the win is multitouch.Companion package PR: omacom/omarchy-pkgs#472. Upstream: https://github.com/orospakr/thinkpad-t14-amd-touchpad.
Why a package rather than
synaptics_intertouch=1install/hardware/fix-synaptic-touchpad.shalready tries InterTouch, and it cannot work here: psmouse needs an I2C adapter offering SMBus Host Notify, andi2c-piix4on AMD offers none (Lenovo removed this machine's predecessor from the allowlist for exactly that reason in2fd003ee8ade). Lenovo's Windows driver gets there through the ASF block of the same SMBus controller. The DKMS package rebuilds three in-tree modules (i2c-piix4,rmi_smbus,psmouse) from pristine kernel.org sources plus four patches intended for upstream but not yet posted to a kernel list; the package goes away once a shipped kernel contains them. The package README's "Carried patches" table names the tree, status and retirement condition for each.Pieces
bin/omarchy-hw-thinkpad-t14-gen2-amd: DMI familyT14 Gen 2aorP14s Gen 2a, plus/sys/bus/acpi/devices/SMB0001:00(the FCH SMBus port the driver takes its ASF resources from) plusLEN2073in a seriofirmware_id. All three, or the package has nothing to do. The Intel T14 Gen 2 does not match.install/hardware/lenovo/fix-t14-gen2-amd-touchpad.sh:omarchy-pkg-add thinkpad-t14-amd-touchpad-dkms, assuming matching headers per the base-system guarantee. Wired intohardware/all.shnext to the Yoga leaf.install/omarchy-other.packages: the package, for the ISO.migrations/1789531418.sh: installs on existing machines and setsreboot-required.test/shell.d/t14-gen2-amd-touchpad-test.sh: detector (match, P14s, Intel sibling, no SMB0001, other pad), leaf (installs, no-ops elsewhere, failing install fails), migration (reboot-required only on success, no-op elsewhere).Tested
test/shellpass (the two files that fail,omarchy-kernel-migration-testandsnapper-test, fail identically on pristinequattro).linux7.2.3 andlinux-omarchy7.2.5-3 (Omarchy 4.0.4),thinkpad-t14-amd-touchpad-checkall ok. Since 2026-10-18 it is 0.2.3-1 from the stable repository onlinux-omarchy7.2.8-9 (the BORE build, Omarchy 4.0.5): DKMS built it on the kernel upgrade, check all ok, pad on RMI4 and TrackPoint on the pass-through after boot and three s2idle resumes.linux-omarchy7.2.5-3 done: three suspend/resume cycles, pad on RMI4 throughout, no first-touch jump after wake; evtest afterwards shows a steady 14.9 ms frame interval with one and two fingers (details in the package PR).linux-omarchy7.2.5-3, Omarchy 4.0.4-1) with 0.2.2 built from Add thinkpad-t14-amd-touchpad-dkms: RMI4/SMBus touchpad on the ThinkPad T14 Gen 2a / P14s Gen 2 AMD omarchy-pkgs#472: detector matches, RMI4 attach, TrackPoint on the pass-through, S3 resume clean, 15.0 ms one- and two-finger intervals against 13.0 / 25.0 ms on PS/2 (comment). In a second run they exercised this PR at 350a9b4 on the same machine: the shell test passes there, the detector matches on PS/2 and on RMI4, the migration is a no-op with the package installed, and from a clean state it installs the package, rebuilds the UKIs, setsreboot-required, and the pad is on RMI4 after the reboot (package from a local repo built from Omarchy start / restart with save option for opened apps #472, since it is not in the channel yet).synaptics-tm3471-030, which the oldtouchpad|trackpadname match did not find. Converge omarchy-mac and omarchy-mx-mac into upstream Omarchy #14431 (e1b0e5e) added a udevID_INPUT_TOUCHPADfallback toomarchy-hw-touchpadonquattro, and Detect touchpads by udev type when the name has no touchpad in it #8281 was closed in its favour. Run on the T14 Gen 2a with the pad on RMI4,quattro's script (c582e1d) printssynaptics-tm3471-030and exits 0, and does not pick the TrackPoint (tpps/2-elan-trackpoint).thinkpad-t14-amd-touchpad-dkmsmust be published to the channel repository before this lands, not just merged in Add thinkpad-t14-amd-touchpad-dkms: RMI4/SMBus touchpad on the ThinkPad T14 Gen 2a / P14s Gen 2 AMD omarchy-pkgs#472. Status 2026-10-18: published. Omarchy start / restart with save option for opened apps #472 is merged at 0.2.3 andthinkpad-t14-amd-touchpad-dkms 0.2.3-1is in both the stable and edge repositories.install/omarchy-other.packagesfeeds the ISO builder'spacman -Syw, so a missing package fails that channel's ISO build for all hardware; on matching installs the migration'somarchy-pkg-addfails and holds every later migration. Edge followsquattroevery two hours, so the gap would reach edge with no manual step.🤖 Generated with Claude Code