Add ASUS ExpertBook B9406 display and touchpad fixes for Panther Lake#5435
Add ASUS ExpertBook B9406 display and touchpad fixes for Panther Lake#5435mijuny wants to merge 1 commit intobasecamp:devfrom
Conversation
There was a problem hiding this comment.
Pull request overview
Adds narrowly-scoped hardware workarounds for the ASUS ExpertBook B9406 (Intel Panther Lake / Xe3) to address display refresh stalls, brightness control issues, and a libinput touchpad motion regression.
Changes:
- Add a new hardware matcher (
omarchy-hw-asus-expertbook-b9406) for B9406 + Panther Lake. - Add install hooks to (a) drop Limine cmdline workarounds for Xe panel replay/backlight and (b) install a libinput quirks override for the Pixart touchpad.
- Add a migration to apply the fixes on existing installs and trigger a bootloader update.
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
bin/omarchy-hw-asus-expertbook-b9406 |
Introduces a new hardware match predicate for scoping the fixes to the intended machines. |
install/config/hardware/asus/fix-b9406-display.sh |
Writes Limine drop-in cmdline settings to disable Panel Replay and enable DPCD backlight. |
install/config/hardware/asus/fix-b9406-touchpad.sh |
Writes a libinput quirks override masking pressure axes for the affected Pixart touchpad. |
install/config/all.sh |
Wires the new ASUS hardware fix hooks into the main install config sequence. |
migrations/1777040047.sh |
Applies the new hooks during migration and attempts to update Limine for existing installs. |
[!TIP]
If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or rungh pr ready --undo.
Click "Ready for review" or rungh pr readyto reengage.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
922e6dc to
76a3485
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 5 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
eb22596 to
7c84505
Compare
|
Force-pushed a cleaner migration. The existing Copilot inline comments target code from an earlier suggested commit that's no longer on the branch, please re-review against the latest commit. |
|
Excellent work on this. Very clean. Would be great to see if we can find others with Asus PTL machines that aren't the ExpertBook. I suspect they'll need some of the same fixes. |
7c84505 to
ebc78b2
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Thank you! Means a lot! I will also keep my eye on these and see if new issues emerge with new ASUS users. |
ebc78b2 to
a34b171
Compare
Just one more thing on this: if you have connections at ASUS, I'm happy to help test their PTL machines if they'd loan units. I can reach out to them myself too, but not sure how much weight that carries. |
| @@ -0,0 +1,22 @@ | |||
| echo "Apply display and touchpad fixes for ASUS ExpertBook B9406 (Panther Lake)" | |||
There was a problem hiding this comment.
Wondering if we even need this migration? You did a heroic effort to get it running. But I suspect that most other folks installing would not have. Thus would never be able to run this migration?
Requested in #5423 after DHH confirmed the scope.
Three confirmed fixes on ASUS ExpertBook B9406CAA (Panther Lake / Xe3), matched narrowly via new
omarchy-hw-asus-expertbook-b9406(product name contains "B9406" ANDomarchy-hw-intel-ptl).AI disclaimer: Fixes found with help from Claude Code (Opus 4.7).
Display refresh stall:
xe.enable_panel_replay=0on kernel cmdline. Without this, both installing and running Omarchy on this laptop is very painful for most users: the live installer, plymouth/LUKS prompt, TTY, and Hyprland all freeze after the first frame drawn to the panel, and the only way to force a redraw is to flip VTs (Ctrl+Alt+F3 then F1) repeatedly. Cause: Panel Replay (Xe3-new, default-on in the xe driver) has a broken exit/wake path on this eDP panel — it latches the first-presented frame in self-refresh and never wakes for subsequent atomic commits. The olderxe.enable_psr=0knob does not cover Panel Replay.Brightness control:
xe.enable_dpcd_backlight=1on kernel cmdline. Without this, display brightness can't be adjusted —intel_backlightsysfs writes succeed but produce no visible change on the panel, and the brightness keys effectively toggle the screen between a fixed level and off. Cause: the panel's EDID on eDP-1 reads as empty, so xe takes backlight type from VBT (which says PWM), but the panel actually wants DPCD AUX backlight control.Touchpad motion: libinput quirks file masking
ABS_PRESSUREandABS_MT_PRESSUREfor Pixart093A:4F05. Without this, the touchpad appears dead in Hyprland: clicks register (button events pass through) but cursor motion is silently dropped. Cause: the kernel produces perfect Precision Touchpad reports, but libinput 1.31.1 discards every motion event as "kernel bug: Touch jump detected and discarded" because the pad reports pressure values of 0-1, which trips the contact stability check. Same pattern as the UX302LA entry in libinput's shipped 50-system-asus.quirks.New install hooks wired into
install/config/all.shalphabetically. Migration1777040047.shsources both install hooks and runslimine-updatefor existing B9406 installs.A companion PR against
omacom-io/omarchy-isowill follow, the live ISO itself still freezes on this panel without the Panel Replay fix baked into the ISO's boot cmdline, so installers hit the same wall before they can reach any of this.