mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
@@ -89,7 +89,7 @@
|
||||
<file short="odin2mini" full="AYN Odin2 Mini">qcs8550-ayn-odin2mini</file>
|
||||
<file short="pocketace" full="AYANEO Pocket ACE">qcs8550-ayaneo-pocketace</file>
|
||||
<file short="pocketdmg" full="AYANEO Pocket DMG">qcs8550-ayaneo-pocketdmg</file>
|
||||
<file short="pocketdmg" full="AYANEO Pocket DMG">qcs8550-ayaneo-pocketds</file>
|
||||
<file short="pocketds" full="AYANEO Pocket DS">qcs8550-ayaneo-pocketds</file>
|
||||
<file short="pocketevo" full="AYANEO Pocket EVO">qcs8550-ayaneo-pocketevo</file>
|
||||
</SM8550>
|
||||
</dtb>
|
||||
|
||||
@@ -16,7 +16,7 @@ diff -rupbN linux.orig/arch/arm64/boot/dts/qcom/qcs8550-ayaneo-pocketds.dts linu
|
||||
+ model = "AYANEO Pocket DS";
|
||||
+ qcom,board-id = <0x1000b 0x01>;
|
||||
+ qcom,msm-id = <0x258 0x20000>, <0x259 0x20000>;
|
||||
+ compatible = "ayaneo,ds", "qcom,qcs8550", "qcom,sm8550";
|
||||
+ compatible = "ayaneo,pocketds", "qcom,qcs8550", "qcom,sm8550";
|
||||
+};
|
||||
+
|
||||
+&i2c0 {
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
diff --git a/ucm2/conf.d/sm8550/ayaneo-AYANEOPocketDS-.conf b/ucm2/conf.d/sm8550/ayaneo-AYANEOPocketDS-.conf
|
||||
new file mode 120000
|
||||
index 0000000..414976a
|
||||
--- /dev/null
|
||||
+++ b/ucm2/conf.d/sm8550/ayaneo-AYANEOPocketDS-.conf
|
||||
@@ -0,0 +1 @@
|
||||
+../../AYANEO/Pocket/AYANEO-Pocket.conf
|
||||
\ No newline at end of file
|
||||
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
# Copyright (C) 2025 ROCKNIX (https://github.com/ROCKNIX)
|
||||
|
||||
cat <<EOF >/storage/.config/profile.d/020-fan_control
|
||||
|
||||
FANPATH="\$(ls /sys/class/hwmon/hwmon*/pwm1 | grep hwmon | cut -c 18-24)"
|
||||
|
||||
DEVICE_HAS_FAN="true"
|
||||
DEVICE_PWM_FAN="/sys/class/hwmon/\${FANPATH}/pwm1"
|
||||
DEVICE_FAN_INPUT="/sys/class/hwmon/\${FANPATH}/pwm1"
|
||||
EOF
|
||||
Reference in New Issue
Block a user