From: Xilin Wu <strongtz@yeah.net>
Date: 星期六, 15 Jan 2022 08:24:46 +0000 (+0800)
Subject: Unhide all devices
X-Git-Url: https://git.renegade-project.org/?a=commitdiff_plain;h=0caa1e55044b50b4804ca05177fd1c23c6e01f3e;p=edk2-sdm845-acpi.git

Unhide all devices

Signed-off-by: Xilin Wu <strongtz@yeah.net>
---

diff --git a/Common/data.asl b/Common/data.asl
index 3299aae..fead982 100644
--- a/Common/data.asl
+++ b/Common/data.asl
@@ -11,7 +11,7 @@
 	Name (_HID, "QCOM02A5")
   Method (_STA) 
 	{
-        Return (0xB)
+        Return (0xF)
   } 
  }
 
@@ -36,7 +36,7 @@ Device (DBUS)
 	}
   Method (_STA) 
 	{
-        Return (0xB)
+        Return (0xF)
   } 
 }
 
diff --git a/Common/rfs.asl b/Common/rfs.asl
index 43f1814..0b1a5c7 100644
--- a/Common/rfs.asl
+++ b/Common/rfs.asl
@@ -44,6 +44,6 @@ Device (RFS0)
 
     Method (_STA) 
     {
-        Return(0xB)
+        Return(0xF)
     }
 }
diff --git a/polaris/DSDT.AML b/polaris/DSDT.AML
index e60db00..603db31 100644
Binary files a/polaris/DSDT.AML and b/polaris/DSDT.AML differ
diff --git a/polaris/buses.asl b/polaris/buses.asl
index a320d9a..d9121f7 100644
--- a/polaris/buses.asl
+++ b/polaris/buses.asl
@@ -27,7 +27,7 @@ Device (UAR7)
 
     Method (_STA)
     {  
-      Return (0x0B)
+      Return (0xF)
     }
 }
 
diff --git a/polaris/pmic_batt.asl b/polaris/pmic_batt.asl
index 4c5900a..dfde3aa 100644
--- a/polaris/pmic_batt.asl
+++ b/polaris/pmic_batt.asl
@@ -44,7 +44,7 @@ Include("cust_pmic_batt.asl")
             })
 
         Method (_STA) {
-            Return (0xB)    // Device is installable, functional & should not be visible in OSPM/Device Manager
+            Return (0xF)    // Device is installable, functional & should not be visible in OSPM/Device Manager
         }
 
         Method (_CRS, 0x0, NotSerialized) {
@@ -434,7 +434,7 @@ Include("cust_pmic_batt.asl")
             }
 
                         Method (_STA) {
-                Return (0xB)    // Device is installable, functional & should not be visible in OSPM/Device Manager
+                Return (0xF)    // Device is installable, functional & should not be visible in OSPM/Device Manager
             }
         }
 
@@ -450,7 +450,7 @@ Device (BCL1) {
     })
 
         Method (_STA) {
-        Return (0xB)    // Device is installable, functional & should not be visible in OSPM/Device Manager
+        Return (0xF)    // Device is installable, functional & should not be visible in OSPM/Device Manager
     }
 
     Method (_CRS, 0x0, NotSerialized) {