From fda8b6055af575d3b518c4a1b65cb5f0d9e4d58a Mon Sep 17 00:00:00 2001 From: Asir N <78288795+WhippuSIF@users.noreply.github.com> Date: Tue, 14 May 2024 00:45:21 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20AOKZOE=20A1=20Pro=20(AMD=20R=E6=84=9Bzen?= =?UTF-8?q?=207840U)=20-=20Add=20device=20to=20simpledeckytdp-supported-ha?= =?UTF-8?q?rdware=20and=20hhd-supported-hardware,=20as=20well=20as=20add?= =?UTF-8?q?=20waydroid-launcher=20resolution=20(#1126)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(waydroid): Add AOKZOE A1 Pro waydroid-launcher resolution Adding AOKZOE A1 Pro (AMD 7840U) as it shares the same resolution as it's 6800U counterpart. * fix(hhd): Add AOKZOE A1 Pro to supported hardware Adding AOKZOE A1 Pro (AMD 7840U) as hhd already supports it. * fix(simpledeckytdp): Add AOKZOE A1 Pro (powered by AMD R愛zen 7840U) Adding AOKZOE A1 Pro as it already supports RyzenAdj (and by extension SimpleDeckyTDP itself). 『愛してるよ! 愛だけに!』 --------- Co-authored-by: Asir N <78288795+asir928@users.noreply.github.com> Co-authored-by: Asir N <78288795+WhippuGBP@users.noreply.github.com> --- system_files/desktop/shared/usr/etc/default/waydroid-launcher | 2 +- .../desktop/shared/usr/libexec/hwsupport/hhd-supported-hardware | 2 +- .../usr/libexec/hwsupport/simpledeckytdp-supported-hardware | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/system_files/desktop/shared/usr/etc/default/waydroid-launcher b/system_files/desktop/shared/usr/etc/default/waydroid-launcher index 9a35f585..c5b4c662 100644 --- a/system_files/desktop/shared/usr/etc/default/waydroid-launcher +++ b/system_files/desktop/shared/usr/etc/default/waydroid-launcher @@ -13,7 +13,7 @@ case "$(cat /sys/devices/virtual/dmi/id/product_name)" in "ROG Ally RC71L_RC71L" | "G1618-04" | "G1617-01" | "Loki Max") WAYDROID_WIDTH=1920 WAYDROID_HEIGHT=1080 ;; - "AYANEO 2" | "AYANEO 2S" | "AOKZOE A1 AR07" | "G1619-04" | "AIR Plus") + "AYANEO 2" | "AYANEO 2S" | "AOKZOE A1 AR07" | "AOKZOE A1 Pro" | "G1619-04" | "AIR Plus") WAYDROID_WIDTH=1920 WAYDROID_HEIGHT=1200 ;; "83E1") diff --git a/system_files/desktop/shared/usr/libexec/hwsupport/hhd-supported-hardware b/system_files/desktop/shared/usr/libexec/hwsupport/hhd-supported-hardware index 8b92ea9f..7acad687 100755 --- a/system_files/desktop/shared/usr/libexec/hwsupport/hhd-supported-hardware +++ b/system_files/desktop/shared/usr/libexec/hwsupport/hhd-supported-hardware @@ -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:ROG Ally RC71L:83E1:G1618-04:G1617-01:G1619-05:AIR Plus:AIR:AYANEO GEEK:AYANEO 2:AYANEO 2S:AOKZOE A1 AR07:G1619-04:Win600:Loki Max:Loki Zero:Loki MiniPro:" =~ ":$SYS_ID:" ]]; then +if [[ ":ROG Ally RC71L_RC71L:ROG Ally RC71L:83E1:G1618-04:G1617-01:G1619-05:AIR Plus:AIR:AYANEO GEEK:AYANEO 2:AYANEO 2S:AOKZOE A1 AR07:AOKZOE A1 Pro:G1619-04:Win600:Loki Max:Loki Zero:Loki MiniPro:" =~ ":$SYS_ID:" ]]; then exit 0 fi diff --git a/system_files/desktop/shared/usr/libexec/hwsupport/simpledeckytdp-supported-hardware b/system_files/desktop/shared/usr/libexec/hwsupport/simpledeckytdp-supported-hardware index d21ce669..73c8e7df 100755 --- a/system_files/desktop/shared/usr/libexec/hwsupport/simpledeckytdp-supported-hardware +++ b/system_files/desktop/shared/usr/libexec/hwsupport/simpledeckytdp-supported-hardware @@ -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:ROG Ally RC71L:83E1:G1618-04:G1619-04:G1617-01:G1619-05:AIR Plus:AIR:SLIDE:V3:" =~ ":$SYS_ID:" ]]; then +if [[ ":ROG Ally RC71L_RC71L:ROG Ally RC71L:83E1:G1618-04:G1619-04:G1617-01:G1619-05:AIR Plus:AIR:SLIDE:V3:AOKZOE A1 AR07:AOKZOE A1 Pro:" =~ ":$SYS_ID:" ]]; then exit 0 fi