Asus Zenbook UX5406AA Display Backlight Fix#5620
Conversation
There was a problem hiding this comment.
Pull request overview
This PR factors the xe.enable_dpcd_backlight=1 kernel-cmdline workaround into a shared ASUS Panther Lake backlight script and applies it to both the existing ExpertBook B9406 and the new Zenbook UX5406AA hardware match, with an upgrade migration to transition existing installs.
Tip
If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.
Changes:
- Add a shared ASUS Panther Lake display backlight fix drop-in script and run it during install.
- Introduce Zenbook UX5406AA hardware detection.
- Add a migration to remove the old ExpertBook-specific backlight entry and rebuild Limine entries.
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 |
|---|---|
migrations/1777938402.sh |
Migration to transition ExpertBook + enable shared backlight fix for supported ASUS PTL models. |
install/config/hardware/asus/fix-asus-ptl-display-backlight.sh |
New shared script writing the Limine entry-tool drop-in for xe.enable_dpcd_backlight=1. |
install/config/hardware/asus/fix-asus-ptl-b9406-display.sh |
Removes the backlight knob from the B9406-specific display workaround (keeps Panel Replay fix). |
install/config/all.sh |
Runs the new shared ASUS PTL backlight fix during install. |
bin/omarchy-hw-asus-zenbook-ux5406aa |
Adds HW match helper for Zenbook UX5406AA on Intel Panther Lake. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
|
cc @mijuny could you verify if this all still works fine on the expertbook? |
|
Hi! I tested the migration on B9406 (PR HEAD Pre-migration drop-in had both flags. Post-migration: dpcd line correctly sed'd out of Aggregated After reboot, |
Problem
ASUS Zenbook UX5406AA (Panther Lake) has broken brightness control (adjusting brightness does not affect actual brightness). This seems to be the same issue as the one on ExpertBook fixed in #5435
Solution
Extract backlight fix from ExpertBook B9406 solution into a separate script and run it for both ExpertBook and new Zenbook UX5406AA.
Migration
Adds a migration that:
xe.enable_dpcd_backlight=1entry from the ExpertBook-specific drop-in if the file exists.limine-update.Future Models
Other ASUS Panther Lake models may need the same fix, but this only enables it for confirmed ExpertBook B9406 and Zenbook UX5406AA hardware for now. Once we have evidence that other models are affected we can easily extend the list of included models.
Testing
Code Review