Skip to content

Commit

Permalink
feat(aokzoe): Support custom refresh rates on AOKZOE A1 hardware
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo committed Jan 4, 2024
1 parent ef0ffbc commit 74a127d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions system_files/desktop/shared/usr/bin/bazzite-hardware-setup
Expand Up @@ -133,6 +133,13 @@ if [[ ":ROG Ally RC71L_RC71L:AYANEO GEEK:AYANEO 2:AYANEO 2S:AOKZOE A1 AR07:G1618
fi
fi

if [[ ":AOKZOE A1 AR07:" =~ ":$SYS_ID:" ]]; then
echo "AOKZOE A1 detected, fixing edid"
if [[ ! $KARGS =~ "drm.edid_firmware" ]]
NEEDED_KARGS+=("--append-if-missing=drm.edid_firmware=eDP-1:edid/aokzoea1ar07_edid.bin")
fi
fi

if [[ $KARGS =~ "nomodeset" ]]; then
echo "Removing nomodeset"
NEEDED_KARGS+=("--delete-if-present=nomodeset")
Expand Down
Binary file not shown.

0 comments on commit 74a127d

Please sign in to comment.