From 2c5e4d77d7b5abbdcbb03f790a0669b32fd0bc89 Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Tue, 30 Jan 2024 21:33:21 -0800 Subject: [PATCH] fix(gpd): Correct screen rotation on the GPD Win Mini --- system_files/desktop/shared/usr/bin/bazzite-hardware-setup | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/system_files/desktop/shared/usr/bin/bazzite-hardware-setup b/system_files/desktop/shared/usr/bin/bazzite-hardware-setup index d6340ed7..45d9c1c2 100755 --- a/system_files/desktop/shared/usr/bin/bazzite-hardware-setup +++ b/system_files/desktop/shared/usr/bin/bazzite-hardware-setup @@ -7,7 +7,7 @@ IMAGE_FLAVOR=$(jq -r '."image-flavor"' < $IMAGE_INFO) FEDORA_VERSION=$(jq -r '."fedora-version"' < $IMAGE_INFO) # SCRIPT VERSION -HWS_VER=27 +HWS_VER=28 HWS_VER_FILE="/etc/bazzite/hws_version" HWS_VER_RAN=$(cat $HWS_VER_FILE) @@ -137,6 +137,11 @@ if [[ ":83E1:" =~ ":$SYS_ID:" ]]; then echo "Adding panel orientation for Lenovo Legion Go" NEEDED_KARGS+=("--append-if-missing=video=eDP-1:panel_orientation=left_side_up") fi +elif [[ ":G1617-01:" =~ ":$SYS_ID:" ]]; then + if [[ ! $KARGS =~ "video" ]]; then + echo "Adding panel orientation for GPD Win Mini" + NEEDED_KARGS+=("--append-if-missing=video=eDP-1:panel_orientation=right_side_up") + fi fi if /usr/libexec/hardware/simpledeckytdp-supported-hardware; then