Skip to content

Commit

Permalink
fix: Add new ROG Ally dmi
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo committed Feb 5, 2024
1 parent aad5548 commit bfaaf95
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ case "$(cat /sys/devices/virtual/dmi/id/product_name)" in
"Jupiter" | "Galileo" | "AYANEO GEEK" | "G1619-05")
STEAMOS_NESTED_DESKTOP_WIDTH=1280
STEAMOS_NESTED_DESKTOP_HEIGHT=800 ;;
"ROG Ally RC71L_RC71L" | "G1618-04" | "G1617-01" | "Loki Max")
"ROG Ally RC71L_RC71L" | "ROG Ally RC71L" | "G1618-04" | "G1617-01" | "Loki Max")
STEAMOS_NESTED_DESKTOP_WIDTH=1920
STEAMOS_NESTED_DESKTOP_HEIGHT=1080 ;;
"AYANEO 2" | "AYANEO 2S" | "AOKZOE A1 AR07" | "G1619-04" | "AIR Plus")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/bash
# Returns true for hardware that is supported by HHD
SYS_ID="$(cat /sys/devices/virtual/dmi/id/product_name)"
if [[ ":ROG Ally RC71L_RC71L:83E1:G1618-04:G1617-01:G1619-05:AIR Plus:AYANEO GEEK:AYANEO 2:AYANEO 2S:AOKZOE A1 AR07:G1619-04:Win600:Loki Max:" =~ ":$SYS_ID:" ]]; then
if [[ ":ROG Ally RC71L_RC71L:ROG Ally RC71L:83E1:G1618-04:G1617-01:G1619-05:AIR Plus:AYANEO GEEK:AYANEO 2:AYANEO 2S:AOKZOE A1 AR07:G1619-04:Win600:Loki Max:" =~ ":$SYS_ID:" ]]; then
exit 0
else
exit 1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/bash
# Returns true for hardware that needs a rotation fix in KDE
SYS_ID="$(cat /sys/devices/virtual/dmi/id/product_name)"
if [[ ":ROG Ally RC71L_RC71L:83E1:Loki Max:G1618-04:" =~ ":$SYS_ID:" ]]; then
if [[ ":ROG Ally RC71L_RC71L:ROG Ally RC71L:83E1:Loki Max:G1618-04:" =~ ":$SYS_ID:" ]]; then
exit 0
else
exit 1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/bash
# Returns true for hardware that is supported by SimpleDeckyTDP
SYS_ID="$(cat /sys/devices/virtual/dmi/id/product_name)"
if [[ ":ROG Ally RC71L_RC71L:83E1:G1618-04:G1617-01:G1619-05:AIR Plus:" =~ ":$SYS_ID:" ]]; then
if [[ ":ROG Ally RC71L_RC71L:ROG Ally RC71L:83E1:G1618-04:G1617-01:G1619-05:AIR Plus:" =~ ":$SYS_ID:" ]]; then
exit 0
else
exit 1
Expand Down

0 comments on commit bfaaf95

Please sign in to comment.