Asus Zenbook UX5406AA Display Backlight Fix (#5620)

* Extract ASUS Expertbook B9406 display backlight fix and apply it for Zenbook ux5406aa too

* Add migration for Panther Lake Asus display bakclight fix

* Check if limine-update exists before executing it in the migration

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Mateusz KowalczykandCopilot Autofix powered by AI authored and GitHub committed 2026-05-07 12:10:45 +02:00
1 parent 81aaade827
commit bc62c23351
5 files changed
+39 -8

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
echo "Fix display backlight on supported ASUS Panther Lake laptops"
EXPERTBOOK_DROP_IN="/etc/limine-entry-tool.d/asus-expertbook-b9406-display.conf"
if omarchy-hw-asus-expertbook-b9406 || omarchy-hw-asus-zenbook-ux5406aa; then
if [[ -f $EXPERTBOOK_DROP_IN ]]; then
sudo sed -i '/xe\.enable_dpcd_backlight/d' "$EXPERTBOOK_DROP_IN"
fi
source "$OMARCHY_PATH/install/config/hardware/asus/fix-asus-ptl-display-backlight.sh"
if omarchy-cmd-present limine-update; then
sudo limine-update
fi
fi