Skip to content

Commit

Permalink
feat: Add HHD to GPD Win 4
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo committed Jan 21, 2024
1 parent 19e68c3 commit 661160d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions system_files/desktop/shared/usr/bin/bazzite-hardware-setup
Expand Up @@ -7,7 +7,7 @@ IMAGE_FLAVOR=$(jq -r '."image-flavor"' < $IMAGE_INFO)
FEDORA_VERSION=$(jq -r '."fedora-version"' < $IMAGE_INFO)

# SCRIPT VERSION
HWS_VER=21
HWS_VER=22
HWS_VER_FILE="/etc/bazzite/hws_version"
HWS_VER_RAN=$(cat $HWS_VER_FILE)

Expand Down Expand Up @@ -162,11 +162,11 @@ if [[ $IMAGE_NAME =~ "deck" || $IMAGE_NAME =~ "ally" || $IMAGE_NAME =~ "framegam
systemctl enable --now vpower.service
else
echo "Generic device detected. Performing setup..."
if [[ ":ROG Ally RC71L_RC71L:83E1:" =~ ":$SYS_ID:" ]]; then
if [[ ":ROG Ally RC71L_RC71L:83E1:G1618-04:" =~ ":$SYS_ID:" ]]; then
echo "HHD supported handheld detected, disabling handycon & ds-inhibit..."
systemctl disable --now handycon.service
systemctl disable --now ds-inhibit.service
elif [[ ":AYANEO GEEK:AYANEO 2:AYANEO 2S:AOKZOE A1 AR07:G1618-04:G1619-04:Win600:" =~ ":$SYS_ID:" ]]; then
elif [[ ":AYANEO GEEK:AYANEO 2:AYANEO 2S:AOKZOE A1 AR07:G1619-04:Win600:" =~ ":$SYS_ID:" ]]; then
echo "HandyGCCS supported handheld detected, enabling handycon & ds-inhibit..."
systemctl enable --now handycon.service
systemctl enable --now ds-inhbit.service
Expand Down

0 comments on commit 661160d

Please sign in to comment.