fix(gpd): Correct screen rotation on the GPD Win Mini

This commit is contained in:
Kyle Gospodnetich 2024-01-30 21:33:21 -08:00
parent fb79c794ad
commit 2c5e4d77d7

View File

@ -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