-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Add ASUS ExpertBook B9406 display and touchpad fixes for Panther Lake #5435
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+51
−0
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| #!/bin/bash | ||
|
|
||
| # Detect ASUS ExpertBook B9406 series laptops on Intel Panther Lake. | ||
|
|
||
| omarchy-hw-match "B9406" && omarchy-hw-intel-ptl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
install/config/hardware/asus/fix-asus-ptl-b9406-display.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| # Display fixes for ASUS ExpertBook B9406 (Panther Lake / Xe3 iGPU). | ||
| # | ||
| # Panel Replay is Xe3-new, default-on in the xe driver, and has a broken | ||
| # exit/wake path on this eDP panel: the panel latches the last-presented | ||
| # frame in self-refresh and never wakes for subsequent atomic commits, so | ||
| # the screen only updates on a full modeset (e.g. a VT switch). The older | ||
| # xe.enable_psr=0 knob does not cover Panel Replay. | ||
| # | ||
| # 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. | ||
| # Without xe.enable_dpcd_backlight=1, intel_backlight sysfs writes succeed | ||
| # but produce no visible change; brightness is effectively binary. | ||
|
|
||
| if omarchy-hw-asus-expertbook-b9406; then | ||
| sudo mkdir -p /etc/limine-entry-tool.d | ||
| cat <<EOF | sudo tee /etc/limine-entry-tool.d/asus-expertbook-b9406-display.conf >/dev/null | ||
| # ASUS ExpertBook B9406 (Panther Lake / Xe3) display workarounds | ||
| KERNEL_CMDLINE[default]+=" xe.enable_panel_replay=0" | ||
| KERNEL_CMDLINE[default]+=" xe.enable_dpcd_backlight=1" | ||
| EOF | ||
| fi |
23 changes: 23 additions & 0 deletions
23
install/config/hardware/asus/fix-asus-ptl-b9406-touchpad.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| # Touchpad quirks for ASUS ExpertBook B9406 (Pixart 093A:4F05 on i2c-hid). | ||
| # | ||
| # The kernel produces perfect Precision Touchpad reports but libinput's | ||
| # jump-detection heuristic discards every motion event as "kernel bug: | ||
| # Touch jump detected and discarded" because the pad reports pressure | ||
| # values of 0-1, confusing the contact stability check. Button events | ||
| # still pass, so clicks register but motion does not. | ||
| # | ||
| # Mask the pressure axes with a quirks override, same pattern as the | ||
| # Asus UX302LA entry in libinput's shipped 50-system-asus.quirks. | ||
|
|
||
| if omarchy-hw-asus-expertbook-b9406; then | ||
| sudo mkdir -p /etc/libinput | ||
| sudo tee /etc/libinput/asus-expertbook-b9406.quirks >/dev/null <<EOF | ||
| [ASUS ExpertBook B9406 Touchpad] | ||
| MatchBus=i2c | ||
| MatchUdevType=touchpad | ||
| MatchVendor=0x093A | ||
| MatchProduct=0x4F05 | ||
| MatchDMIModalias=dmi:*svnASUS*:pn*B9406* | ||
| AttrEventCode=-ABS_MT_PRESSURE;-ABS_PRESSURE; | ||
| EOF | ||
| fi | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.