From 60beba80c67dbcb0f085d3597c31c2e9898c337d Mon Sep 17 00:00:00 2001 From: athlonreg <15563836030@163.com> Date: Wed, 10 Mar 2021 21:17:31 +0800 Subject: [PATCH] =?UTF-8?q?Update=20AOAC=E3=80=81PCI=E3=80=81ASPM=E3=80=81?= =?UTF-8?q?OS=E3=80=81Bettery?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../README.md" | 0 .../blueutil/2.5.1/INSTALL_RECEIPT.json" | 0 .../blueutil/2.5.1/LICENSE.txt" | 0 .../blueutil/2.5.1/README.md" | 0 .../blueutil/2.5.1/bin/blueutil" | Bin .../brew_install" | 0 .../install-without-brew.sh" | 0 .../install.sh" | 0 .../sleepwatcher/2.2.1/INSTALL_RECEIPT.json" | 0 .../sleepwatcher/2.2.1/ReadMe.rtf" | 0 ...epwatcher-20compatibility-localuser.plist" | 0 ...-baehr.sleepwatcher-20compatibility.plist" | 0 .../2.2.1/etc/sleepwatcher/rc.sleep" | 0 .../2.2.1/etc/sleepwatcher/rc.wakeup" | 0 .../sleepwatcher/2.2.1/sbin/sleepwatcher" | Bin .../2.2.1/share/man/man8/sleepwatcher.8" | 0 .../uninstall.sh" | 0 "01-\345\205\263\344\272\216AOAC/README.md" | 2 +- .../SSDT-OC-XOSI.dsl" | 2 +- .../SSDT-OC-XOSI.md" | 5 +- .../README.md" | 17 ++- .../SSDT-BATS-PRO13.dsl" | 59 +++++++-- .../SSDT-BATS-PRO13.md" | 112 +++++++++++++++++ .../SSDT-BATS\345\256\230\346\226\271.md" | 115 ++++++++++++++++++ .../README.md" | 0 .../SSDT-RP01.PXSX-disbale.dsl" | 0 .../SSDT-RP01.PXSX-disbale.md" | 0 .../README.md" | 0 .../SSDT-PCI0.RPXX-ASPM.dsl" | 0 .../SSDT-PCI0.RPXX-ASPM.md" | 0 README-en.md | 7 +- README.md | 7 +- SUMMARY.md | 11 +- 33 files changed, 305 insertions(+), 32 deletions(-) rename "01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/README.md" => "01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/README.md" (100%) rename "01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/blueutil/2.5.1/INSTALL_RECEIPT.json" => "01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/blueutil/2.5.1/INSTALL_RECEIPT.json" (100%) rename "01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/blueutil/2.5.1/LICENSE.txt" => "01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/blueutil/2.5.1/LICENSE.txt" (100%) rename "01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/blueutil/2.5.1/README.md" => "01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/blueutil/2.5.1/README.md" (100%) rename "01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/blueutil/2.5.1/bin/blueutil" => "01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/blueutil/2.5.1/bin/blueutil" (100%) rename "01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/brew_install" => "01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/brew_install" (100%) rename "01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/install-without-brew.sh" => "01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/install-without-brew.sh" (100%) rename "01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/install.sh" => "01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/install.sh" (100%) rename "01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/INSTALL_RECEIPT.json" => "01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/INSTALL_RECEIPT.json" (100%) rename "01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/ReadMe.rtf" => "01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/ReadMe.rtf" (100%) rename "01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/de.bernhard-baehr.sleepwatcher-20compatibility-localuser.plist" => "01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/de.bernhard-baehr.sleepwatcher-20compatibility-localuser.plist" (100%) rename "01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/de.bernhard-baehr.sleepwatcher-20compatibility.plist" => "01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/de.bernhard-baehr.sleepwatcher-20compatibility.plist" (100%) rename "01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/etc/sleepwatcher/rc.sleep" => "01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/etc/sleepwatcher/rc.sleep" (100%) rename "01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/etc/sleepwatcher/rc.wakeup" => "01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/etc/sleepwatcher/rc.wakeup" (100%) rename "01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/sbin/sleepwatcher" => "01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/sbin/sleepwatcher" (100%) rename "01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/share/man/man8/sleepwatcher.8" => "01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/share/man/man8/sleepwatcher.8" (100%) rename "01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/uninstall.sh" => "01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/uninstall.sh" (100%) create mode 100755 "08-\347\224\265\346\261\240\350\241\245\344\270\201/08-3-\347\224\265\346\261\240\344\277\241\346\201\257\350\276\205\345\212\251\350\241\245\344\270\201/SSDT-BATS-PRO13.md" create mode 100644 "08-\347\224\265\346\261\240\350\241\245\344\270\201/08-3-\347\224\265\346\261\240\344\277\241\346\201\257\350\276\205\345\212\251\350\241\245\344\270\201/SSDT-BATS\345\256\230\346\226\271.md" rename "16-\347\246\201\346\255\242PCI\350\256\276\345\244\207/README.md" => "16-\347\246\201\346\255\242PCI\350\256\276\345\244\207\345\217\212\350\256\276\347\275\256ASPM\345\267\245\344\275\234\346\250\241\345\274\217/16-1-\347\246\201\346\255\242PCI\350\256\276\345\244\207/README.md" (100%) rename "16-\347\246\201\346\255\242PCI\350\256\276\345\244\207/SSDT-RP01.PXSX-disbale.dsl" => "16-\347\246\201\346\255\242PCI\350\256\276\345\244\207\345\217\212\350\256\276\347\275\256ASPM\345\267\245\344\275\234\346\250\241\345\274\217/16-1-\347\246\201\346\255\242PCI\350\256\276\345\244\207/SSDT-RP01.PXSX-disbale.dsl" (100%) rename "16-\347\246\201\346\255\242PCI\350\256\276\345\244\207/SSDT-RP01.PXSX-disbale.md" => "16-\347\246\201\346\255\242PCI\350\256\276\345\244\207\345\217\212\350\256\276\347\275\256ASPM\345\267\245\344\275\234\346\250\241\345\274\217/16-1-\347\246\201\346\255\242PCI\350\256\276\345\244\207/SSDT-RP01.PXSX-disbale.md" (100%) rename "01-\345\205\263\344\272\216AOAC/01-5-\350\256\276\347\275\256ASPM\345\267\245\344\275\234\346\250\241\345\274\217/README.md" => "16-\347\246\201\346\255\242PCI\350\256\276\345\244\207\345\217\212\350\256\276\347\275\256ASPM\345\267\245\344\275\234\346\250\241\345\274\217/16-2-\350\256\276\347\275\256ASPM\345\267\245\344\275\234\346\250\241\345\274\217/README.md" (100%) rename "01-\345\205\263\344\272\216AOAC/01-5-\350\256\276\347\275\256ASPM\345\267\245\344\275\234\346\250\241\345\274\217/SSDT-PCI0.RPXX-ASPM.dsl" => "16-\347\246\201\346\255\242PCI\350\256\276\345\244\207\345\217\212\350\256\276\347\275\256ASPM\345\267\245\344\275\234\346\250\241\345\274\217/16-2-\350\256\276\347\275\256ASPM\345\267\245\344\275\234\346\250\241\345\274\217/SSDT-PCI0.RPXX-ASPM.dsl" (100%) rename "01-\345\205\263\344\272\216AOAC/01-5-\350\256\276\347\275\256ASPM\345\267\245\344\275\234\346\250\241\345\274\217/SSDT-PCI0.RPXX-ASPM.md" => "16-\347\246\201\346\255\242PCI\350\256\276\345\244\207\345\217\212\350\256\276\347\275\256ASPM\345\267\245\344\275\234\346\250\241\345\274\217/16-2-\350\256\276\347\275\256ASPM\345\267\245\344\275\234\346\250\241\345\274\217/SSDT-PCI0.RPXX-ASPM.md" (100%) diff --git "a/01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/README.md" "b/01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/README.md" similarity index 100% rename from "01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/README.md" rename to "01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/README.md" diff --git "a/01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/blueutil/2.5.1/INSTALL_RECEIPT.json" "b/01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/blueutil/2.5.1/INSTALL_RECEIPT.json" similarity index 100% rename from "01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/blueutil/2.5.1/INSTALL_RECEIPT.json" rename to "01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/blueutil/2.5.1/INSTALL_RECEIPT.json" diff --git "a/01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/blueutil/2.5.1/LICENSE.txt" "b/01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/blueutil/2.5.1/LICENSE.txt" similarity index 100% rename from "01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/blueutil/2.5.1/LICENSE.txt" rename to "01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/blueutil/2.5.1/LICENSE.txt" diff --git "a/01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/blueutil/2.5.1/README.md" "b/01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/blueutil/2.5.1/README.md" similarity index 100% rename from "01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/blueutil/2.5.1/README.md" rename to "01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/blueutil/2.5.1/README.md" diff --git "a/01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/blueutil/2.5.1/bin/blueutil" "b/01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/blueutil/2.5.1/bin/blueutil" similarity index 100% rename from "01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/blueutil/2.5.1/bin/blueutil" rename to "01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/blueutil/2.5.1/bin/blueutil" diff --git "a/01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/brew_install" "b/01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/brew_install" similarity index 100% rename from "01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/brew_install" rename to "01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/brew_install" diff --git "a/01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/install-without-brew.sh" "b/01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/install-without-brew.sh" similarity index 100% rename from "01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/install-without-brew.sh" rename to "01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/install-without-brew.sh" diff --git "a/01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/install.sh" "b/01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/install.sh" similarity index 100% rename from "01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/install.sh" rename to "01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/install.sh" diff --git "a/01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/INSTALL_RECEIPT.json" "b/01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/INSTALL_RECEIPT.json" similarity index 100% rename from "01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/INSTALL_RECEIPT.json" rename to "01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/INSTALL_RECEIPT.json" diff --git "a/01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/ReadMe.rtf" "b/01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/ReadMe.rtf" similarity index 100% rename from "01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/ReadMe.rtf" rename to "01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/ReadMe.rtf" diff --git "a/01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/de.bernhard-baehr.sleepwatcher-20compatibility-localuser.plist" "b/01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/de.bernhard-baehr.sleepwatcher-20compatibility-localuser.plist" similarity index 100% rename from "01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/de.bernhard-baehr.sleepwatcher-20compatibility-localuser.plist" rename to "01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/de.bernhard-baehr.sleepwatcher-20compatibility-localuser.plist" diff --git "a/01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/de.bernhard-baehr.sleepwatcher-20compatibility.plist" "b/01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/de.bernhard-baehr.sleepwatcher-20compatibility.plist" similarity index 100% rename from "01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/de.bernhard-baehr.sleepwatcher-20compatibility.plist" rename to "01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/de.bernhard-baehr.sleepwatcher-20compatibility.plist" diff --git "a/01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/etc/sleepwatcher/rc.sleep" "b/01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/etc/sleepwatcher/rc.sleep" similarity index 100% rename from "01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/etc/sleepwatcher/rc.sleep" rename to "01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/etc/sleepwatcher/rc.sleep" diff --git "a/01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/etc/sleepwatcher/rc.wakeup" "b/01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/etc/sleepwatcher/rc.wakeup" similarity index 100% rename from "01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/etc/sleepwatcher/rc.wakeup" rename to "01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/etc/sleepwatcher/rc.wakeup" diff --git "a/01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/sbin/sleepwatcher" "b/01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/sbin/sleepwatcher" similarity index 100% rename from "01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/sbin/sleepwatcher" rename to "01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/sbin/sleepwatcher" diff --git "a/01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/share/man/man8/sleepwatcher.8" "b/01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/share/man/man8/sleepwatcher.8" similarity index 100% rename from "01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/share/man/man8/sleepwatcher.8" rename to "01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/sleepwatcher/2.2.1/share/man/man8/sleepwatcher.8" diff --git "a/01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/uninstall.sh" "b/01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/uninstall.sh" similarity index 100% rename from "01-\345\205\263\344\272\216AOAC/01-6-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/uninstall.sh" rename to "01-\345\205\263\344\272\216AOAC/01-5-\347\235\241\347\234\240\350\207\252\345\212\250\345\205\263\351\227\255\350\223\235\347\211\231WIFI/SleepWithoutBluetoothAndWifi 1.5/uninstall.sh" diff --git "a/01-\345\205\263\344\272\216AOAC/README.md" "b/01-\345\205\263\344\272\216AOAC/README.md" index 04656085..b446efc7 100755 --- "a/01-\345\205\263\344\272\216AOAC/README.md" +++ "b/01-\345\205\263\344\272\216AOAC/README.md" @@ -52,7 +52,7 @@ - 电源空闲管理补丁——参见《电源空闲管理》 - AOAC唤醒补丁——参见《AOAC唤醒方法》 - 秒醒补丁——参见《060D补丁》 -- 启用设备 LI ——参见《设置ASPM工作模式》,感谢 @iStar丶Forever 提供方法 +- 启用设备 LI ——参见《禁止PCI设备及设置ASPM工作模式》中的 《设置ASPM工作模式》,感谢 @iStar丶Forever 提供方法 - 管控蓝牙WIFI——参见《睡眠自动关闭蓝牙WIFI》,感谢 @i5 ex900 0.66%/h 华星 OC Dreamn 提供方法 ## 注意事项 diff --git "a/04-\346\223\215\344\275\234\347\263\273\347\273\237\350\241\245\344\270\201/SSDT-OC-XOSI.dsl" "b/04-\346\223\215\344\275\234\347\263\273\347\273\237\350\241\245\344\270\201/SSDT-OC-XOSI.dsl" index ffa26a4f..38f49ab1 100755 --- "a/04-\346\223\215\344\275\234\347\263\273\347\273\237\350\241\245\344\270\201/SSDT-OC-XOSI.dsl" +++ "b/04-\346\223\215\344\275\234\347\263\273\347\273\237\350\241\245\344\270\201/SSDT-OC-XOSI.dsl" @@ -31,7 +31,7 @@ DefinitionBlock("", "SSDT", 2, "OCLT", "OC-XOSI", 0) //"Windows 2019" // = Win10 version 1903 ) { - Return (0xFFFFFFFF) + Return (Ones) } Else diff --git "a/04-\346\223\215\344\275\234\347\263\273\347\273\237\350\241\245\344\270\201/SSDT-OC-XOSI.md" "b/04-\346\223\215\344\275\234\347\263\273\347\273\237\350\241\245\344\270\201/SSDT-OC-XOSI.md" index 7da5d065..1798bdfd 100755 --- "a/04-\346\223\215\344\275\234\347\263\273\347\273\237\350\241\245\344\270\201/SSDT-OC-XOSI.md" +++ "b/04-\346\223\215\344\275\234\347\263\273\347\273\237\350\241\245\344\270\201/SSDT-OC-XOSI.md" @@ -32,10 +32,9 @@ DefinitionBlock("", "SSDT", 2, "OCLT", "OC-XOSI", 0) //"Windows 2019" // = Win10 version 1903 ) { - Return (0xFFFFFFFF) + Return (Ones) } - Else { Return (Zero) @@ -47,8 +46,6 @@ DefinitionBlock("", "SSDT", 2, "OCLT", "OC-XOSI", 0) Return (_OSI (Arg0)) } } - } //EOF ``` - diff --git "a/08-\347\224\265\346\261\240\350\241\245\344\270\201/08-3-\347\224\265\346\261\240\344\277\241\346\201\257\350\276\205\345\212\251\350\241\245\344\270\201/README.md" "b/08-\347\224\265\346\261\240\350\241\245\344\270\201/08-3-\347\224\265\346\261\240\344\277\241\346\201\257\350\276\205\345\212\251\350\241\245\344\270\201/README.md" index 4379294b..5c84e9b9 100755 --- "a/08-\347\224\265\346\261\240\350\241\245\344\270\201/08-3-\347\224\265\346\261\240\344\277\241\346\201\257\350\276\205\345\212\251\350\241\245\344\270\201/README.md" +++ "b/08-\347\224\265\346\261\240\350\241\245\344\270\201/08-3-\347\224\265\346\261\240\344\277\241\346\201\257\350\276\205\345\212\251\350\241\245\344\270\201/README.md" @@ -9,21 +9,28 @@ ### 补丁说明 -- 在ACPI规范中,`_BST` 定义了一些电池信息,补丁中通过方法 `CBIS` 和 `CBSS` 注入这些信息。有关 `_BST` 定义的详细内容请查阅 ACPI 规范 -- 示例中未能找到 `CBSS` 的实际应用,固使用 `Return (Buffer (Zero){})` 即可。**注意** 不可删除 `CBSS` 内容 -- 为了能够在 **无需 `电池` 补丁的机器** 上工作,示例补丁在电池路径下添加了B1B2方法 +- 在ACPI规范中,`_BST` 定义了一些电池信息,本补丁中通过方法 `CBIS` 和 `CBSS` 注入这些信息。有关 `_BST` 定义的详细内容请查阅 ACPI 规范 + +- 为了能够在 **无需 `电池` 补丁的机器** 上使用本补丁,示例补丁的电池路径下添加了B1B2方法 ### SSDT-BATS-PRO13示例 - `电池` 路径:`_SB.PCI0.LPCB.H_EC.BAT1` 使用时应保证原始ACPI的电池路径与示例的电池路径一致 + - `CBIS` 方法 - 根据`_BST` 的内容查找对应变量,按 `低字节`、`高字节` 写入B1B2。如:PKG1 [0x02]=B1B2 ( `FUSL`, `FUSH` ),如果这个变量是双字节,参考电池补丁拆分数据的方法进行数据拆分、重新定义数据 - - 如果不能确认变量,也可以在win或者Linux下查看电池相关信息【**未验证**】,直接填写。比如:`固件版本`是123,直接令PKG1 [0x04] = B1B2 (0x23, 0x01) + - 如果不能确认变量,可以在win或者Linux下查看电池相关信息【**未验证**】,直接填写其内容。比如:`固件版本` 是123,令PKG1 [0x04] = B1B2 (0x23, 0x01) - `CBSS` 方法 - 数据填写方法同`CBIS` 。如果不需要填写任何内容使用 `Return (Buffer (Zero){})` + 数据填写方法同`CBIS` + + **注1**:如果不需要填写任何内容,删除 `PKG1 [Zero]=...` 至 `PKG1 [0x06]=...` 的所有内容,参见示例 + + **注2**: 不可删除 `CBSS` 方法 + + diff --git "a/08-\347\224\265\346\261\240\350\241\245\344\270\201/08-3-\347\224\265\346\261\240\344\277\241\346\201\257\350\276\205\345\212\251\350\241\245\344\270\201/SSDT-BATS-PRO13.dsl" "b/08-\347\224\265\346\261\240\350\241\245\344\270\201/08-3-\347\224\265\346\261\240\344\277\241\346\201\257\350\276\205\345\212\251\350\241\245\344\270\201/SSDT-BATS-PRO13.dsl" index 7428f9ce..5f9f3873 100755 --- "a/08-\347\224\265\346\261\240\350\241\245\344\270\201/08-3-\347\224\265\346\261\240\344\277\241\346\201\257\350\276\205\345\212\251\350\241\245\344\270\201/SSDT-BATS-PRO13.dsl" +++ "b/08-\347\224\265\346\261\240\350\241\245\344\270\201/08-3-\347\224\265\346\261\240\344\277\241\346\201\257\350\276\205\345\212\251\350\241\245\344\270\201/SSDT-BATS-PRO13.dsl" @@ -48,22 +48,61 @@ DefinitionBlock ("", "SSDT", 2, "ACDT", "BATS", 0) 0xFFFFFFFF, }) // Check your _BST method for similiar condition of EC accessibility - If (\_SB.PCI0.LPCB.H_EC.ECAV) + If (_OSI ("Darwin")) { - //PKG1 [One] = B1B2 (B1T1, B1T2) - PKG1 [0x02] = B1B2 (FUSL, FUSH) - PKG1 [0x03] = B1B2 (BMIL, BMIH) - PKG1 [0x04] = B1B2 (FMVL, FMVH) - PKG1 [0x05] = B1B2 (HIDL, HIDH) - PKG1 [0x06] = B1B2 (DAVL, DAVH) - } + If (\_SB.PCI0.LPCB.H_EC.ECAV) + { + /* + PKG1 [One] = B1B2 (B1T1, B1T2) + */ + PKG1 [0x02] = B1B2 (FUSL, FUSH) + PKG1 [0x03] = B1B2 (BMIL, BMIH) + PKG1 [0x04] = B1B2 (FMVL, FMVH) + PKG1 [0x05] = B1B2 (HIDL, HIDH) + PKG1 [0x06] = B1B2 (DAVL, DAVH) + } - Return (PKG1) + Return (PKG1) + } } // CBIS Method (CBSS, 0, Serialized) { - Return (Buffer (Zero){}) + Name (PKG1, Package (0x08) + { + // Temperature (0x10), AppleSmartBattery format + 0xFFFFFFFF, + // TimeToFull (0x11), minutes (0xFF) + 0xFFFFFFFF, + // TimeToEmpty (0x12), minutes (0) + 0xFFFFFFFF, + // ChargeLevel (0x13), percentage + 0xFFFFFFFF, + // AverageRate (0x14), mA (signed) + 0xFFFFFFFF, + // ChargingCurrent (0x15), mA + 0xFFFFFFFF, + // ChargingVoltage (0x16), mV + 0xFFFFFFFF, + 0xFFFFFFFF + }) + If (_OSI ("Darwin")) + { + If (\_SB.PCI0.LPCB.H_EC.ECAV) + { + /* + PKG1 [Zero] = B1B2 (BTM1, BTM2) + PKG1 [One] = B1B2 (BCL1, BCL2) + PKG1 [0x02] = B1B2 (BCW1, BCW2) + PKG1 [0x03] = B1B2 (BPR1, BPR2) + PKG1 [0x04] = B1B2 (BAR1, BAR2) + PKG1 [0x05] = B1B2 (BCC1, BCC2) + PKG1 [0x06] = B1B2 (BCV1, BCV2) + */ + } + + Return (PKG1) + } } // CBSS } // BAT1 diff --git "a/08-\347\224\265\346\261\240\350\241\245\344\270\201/08-3-\347\224\265\346\261\240\344\277\241\346\201\257\350\276\205\345\212\251\350\241\245\344\270\201/SSDT-BATS-PRO13.md" "b/08-\347\224\265\346\261\240\350\241\245\344\270\201/08-3-\347\224\265\346\261\240\344\277\241\346\201\257\350\276\205\345\212\251\350\241\245\344\270\201/SSDT-BATS-PRO13.md" new file mode 100755 index 00000000..e18de235 --- /dev/null +++ "b/08-\347\224\265\346\261\240\350\241\245\344\270\201/08-3-\347\224\265\346\261\240\344\277\241\346\201\257\350\276\205\345\212\251\350\241\245\344\270\201/SSDT-BATS-PRO13.md" @@ -0,0 +1,112 @@ +```dsl +// +DefinitionBlock ("", "SSDT", 2, "ACDT", "BATS", 0) +{ + External (_SB.PCI0.LPCB.H_EC.BAT1, DeviceObj) + External (_SB.PCI0.LPCB.H_EC.ECAV, IntObj) + // + //External (_SB.PCI0.LPCB.H_EC.B1T1, FieldUnitObj) + //External (_SB.PCI0.LPCB.H_EC.B1T2, FieldUnitObj) + External (_SB.PCI0.LPCB.H_EC.FUSH, FieldUnitObj) + External (_SB.PCI0.LPCB.H_EC.FUSL, FieldUnitObj) + External (_SB.PCI0.LPCB.H_EC.BMIH, FieldUnitObj) + External (_SB.PCI0.LPCB.H_EC.BMIL, FieldUnitObj) + External (_SB.PCI0.LPCB.H_EC.FMVH, FieldUnitObj) + External (_SB.PCI0.LPCB.H_EC.FMVL, FieldUnitObj) + External (_SB.PCI0.LPCB.H_EC.HIDH, FieldUnitObj) + External (_SB.PCI0.LPCB.H_EC.HIDL, FieldUnitObj) + External (_SB.PCI0.LPCB.H_EC.DAVH, FieldUnitObj) + External (_SB.PCI0.LPCB.H_EC.DAVL, FieldUnitObj) + // + Scope (\_SB.PCI0.LPCB.H_EC.BAT1) + { + Method (B1B2, 2, NotSerialized) + { + Local0 = (Arg1 << 0x08) + Local0 |= Arg0 + Return (Local0) + } + + Method (CBIS, 0, Serialized) + { + Name (PKG1, Package (0x08) + { + // config, double check if you have valid AverageRate before + // fliping that bit to 0x007F007F since it will disable quickPoll + 0x006F007F, + // ManufactureDate (0x1), AppleSmartBattery format + 0xFFFFFFFF, + // PackLotCode (0x2) + 0xFFFFFFFF, + // PCBLotCode (0x3) + 0xFFFFFFFF, + // FirmwareVersion (0x4) + 0xFFFFFFFF, + // HardwareVersion (0x5) + 0xFFFFFFFF, + // BatteryVersion (0x6) + 0xFFFFFFFF, + 0xFFFFFFFF, + }) + // Check your _BST method for similiar condition of EC accessibility + If (_OSI ("Darwin")) + { + If (\_SB.PCI0.LPCB.H_EC.ECAV) + { + /* + PKG1 [One] = B1B2 (B1T1, B1T2) + */ + PKG1 [0x02] = B1B2 (FUSL, FUSH) + PKG1 [0x03] = B1B2 (BMIL, BMIH) + PKG1 [0x04] = B1B2 (FMVL, FMVH) + PKG1 [0x05] = B1B2 (HIDL, HIDH) + PKG1 [0x06] = B1B2 (DAVL, DAVH) + } + + Return (PKG1) + } + } // CBIS + + Method (CBSS, 0, Serialized) + { + Name (PKG1, Package (0x08) + { + // Temperature (0x10), AppleSmartBattery format + 0xFFFFFFFF, + // TimeToFull (0x11), minutes (0xFF) + 0xFFFFFFFF, + // TimeToEmpty (0x12), minutes (0) + 0xFFFFFFFF, + // ChargeLevel (0x13), percentage + 0xFFFFFFFF, + // AverageRate (0x14), mA (signed) + 0xFFFFFFFF, + // ChargingCurrent (0x15), mA + 0xFFFFFFFF, + // ChargingVoltage (0x16), mV + 0xFFFFFFFF, + 0xFFFFFFFF + }) + If (_OSI ("Darwin")) + { + If (\_SB.PCI0.LPCB.H_EC.ECAV) + { + /* + PKG1 [Zero] = B1B2 (BTM1, BTM2) + PKG1 [One] = B1B2 (BCL1, BCL2) + PKG1 [0x02] = B1B2 (BCW1, BCW2) + PKG1 [0x03] = B1B2 (BPR1, BPR2) + PKG1 [0x04] = B1B2 (BAR1, BAR2) + PKG1 [0x05] = B1B2 (BCC1, BCC2) + PKG1 [0x06] = B1B2 (BCV1, BCV2) + */ + } + + Return (PKG1) + } + } // CBSS + + } // BAT1 +} +//EOF +``` diff --git "a/08-\347\224\265\346\261\240\350\241\245\344\270\201/08-3-\347\224\265\346\261\240\344\277\241\346\201\257\350\276\205\345\212\251\350\241\245\344\270\201/SSDT-BATS\345\256\230\346\226\271.md" "b/08-\347\224\265\346\261\240\350\241\245\344\270\201/08-3-\347\224\265\346\261\240\344\277\241\346\201\257\350\276\205\345\212\251\350\241\245\344\270\201/SSDT-BATS\345\256\230\346\226\271.md" new file mode 100644 index 00000000..3ff73900 --- /dev/null +++ "b/08-\347\224\265\346\261\240\350\241\245\344\270\201/08-3-\347\224\265\346\261\240\344\277\241\346\201\257\350\276\205\345\212\251\350\241\245\344\270\201/SSDT-BATS\345\256\230\346\226\271.md" @@ -0,0 +1,115 @@ +```dsl +// +// Refer to Battery Supplement Information.md for details and formats +// + +DefinitionBlock ("", "SSDT", 2, "ACDT", "BATS", 0x00000000) +{ + // Match your battery device (PNP0C0A) path + External (_SB_.PCI0.LPCB.H_EC.BAT1, DeviceObj) + External (_SB_.PCI0.LPCB.H_EC.ECAV, IntObj) + + External (_SB_.PCI0.LPCB.H_EC.B1T1, FieldUnitObj) + External (_SB_.PCI0.LPCB.H_EC.B1T2, FieldUnitObj) + External (_SB_.PCI0.LPCB.H_EC.BAR1, FieldUnitObj) + External (_SB_.PCI0.LPCB.H_EC.BAR2, FieldUnitObj) + External (_SB_.PCI0.LPCB.H_EC.BCC1, FieldUnitObj) + External (_SB_.PCI0.LPCB.H_EC.BCC2, FieldUnitObj) + External (_SB_.PCI0.LPCB.H_EC.BCL1, FieldUnitObj) + External (_SB_.PCI0.LPCB.H_EC.BCL2, FieldUnitObj) + External (_SB_.PCI0.LPCB.H_EC.BCV1, FieldUnitObj) + External (_SB_.PCI0.LPCB.H_EC.BCV2, FieldUnitObj) + External (_SB_.PCI0.LPCB.H_EC.BCW1, FieldUnitObj) + External (_SB_.PCI0.LPCB.H_EC.BCW2, FieldUnitObj) + External (_SB_.PCI0.LPCB.H_EC.BMIH, FieldUnitObj) + External (_SB_.PCI0.LPCB.H_EC.BMIL, FieldUnitObj) + External (_SB_.PCI0.LPCB.H_EC.BPR1, FieldUnitObj) + External (_SB_.PCI0.LPCB.H_EC.BPR2, FieldUnitObj) + External (_SB_.PCI0.LPCB.H_EC.BTM1, FieldUnitObj) + External (_SB_.PCI0.LPCB.H_EC.BTM2, FieldUnitObj) + External (_SB_.PCI0.LPCB.H_EC.DAVH, FieldUnitObj) + External (_SB_.PCI0.LPCB.H_EC.DAVL, FieldUnitObj) + External (_SB_.PCI0.LPCB.H_EC.FMVH, FieldUnitObj) + External (_SB_.PCI0.LPCB.H_EC.FMVL, FieldUnitObj) + External (_SB_.PCI0.LPCB.H_EC.FUSH, FieldUnitObj) + External (_SB_.PCI0.LPCB.H_EC.FUSL, FieldUnitObj) + External (_SB_.PCI0.LPCB.H_EC.HIDH, FieldUnitObj) + External (_SB_.PCI0.LPCB.H_EC.HIDL, FieldUnitObj) + + External (\B1B2, MethodObj) + + Scope (\_SB.PCI0.LPCB.H_EC.BAT1) + { + Method (CBIS, 0, Serialized) + { + Name (PKG1, Package (0x08) + { + // config, double check if you have valid AverageRate before + // fliping that bit to 0x007F007F since it will disable quickPoll + 0x006F007F, + // ManufactureDate (0x1), AppleSmartBattery format + 0xFFFFFFFF, + // PackLotCode (0x2) + 0xFFFFFFFF, + // PCBLotCode (0x3) + 0xFFFFFFFF, + // FirmwareVersion (0x4) + 0xFFFFFFFF, + // HardwareVersion (0x5) + 0xFFFFFFFF, + // BatteryVersion (0x6) + 0xFFFFFFFF, + 0xFFFFFFFF, + }) + // Check your _BST method for similiar condition of EC accessibility + If (ECAV) + { + PKG1 [One] = B1B2 (B1T1, B1T2) + PKG1 [0x02] = B1B2 (FUSL, FUSH) + PKG1 [0x03] = B1B2 (BMIL, BMIH) + PKG1 [0x04] = B1B2 (FMVL, FMVH) + PKG1 [0x05] = B1B2 (HIDL, HIDH) + PKG1 [0x06] = B1B2 (DAVL, DAVH) + } + + Return (PKG1) + } // CBIS + + Method (CBSS, 0, Serialized) + { + Name (PKG1, Package (0x08) + { + // Temperature (0x10), AppleSmartBattery format + 0xFFFFFFFF, + // TimeToFull (0x11), minutes (0xFF) + 0xFFFFFFFF, + // TimeToEmpty (0x12), minutes (0) + 0xFFFFFFFF, + // ChargeLevel (0x13), percentage + 0xFFFFFFFF, + // AverageRate (0x14), mA (signed) + 0xFFFFFFFF, + // ChargingCurrent (0x15), mA + 0xFFFFFFFF, + // ChargingVoltage (0x16), mV + 0xFFFFFFFF, + 0xFFFFFFFF + }) + // Check your _BST method for similiar condition of EC accessibility + If (ECAV) + { + PKG1 [Zero] = B1B2 (BTM1, BTM2) + PKG1 [One] = B1B2 (BCL1, BCL2) + PKG1 [0x02] = B1B2 (BCW1, BCW2) + PKG1 [0x03] = B1B2 (BPR1, BPR2) + PKG1 [0x04] = B1B2 (BAR1, BAR2) + PKG1 [0x05] = B1B2 (BCC1, BCC2) + PKG1 [0x06] = B1B2 (BCV1, BCV2) + } + + Return (PKG1) + } // CBSS + } // BAT1 +} +//EOF +``` diff --git "a/16-\347\246\201\346\255\242PCI\350\256\276\345\244\207/README.md" "b/16-\347\246\201\346\255\242PCI\350\256\276\345\244\207\345\217\212\350\256\276\347\275\256ASPM\345\267\245\344\275\234\346\250\241\345\274\217/16-1-\347\246\201\346\255\242PCI\350\256\276\345\244\207/README.md" similarity index 100% rename from "16-\347\246\201\346\255\242PCI\350\256\276\345\244\207/README.md" rename to "16-\347\246\201\346\255\242PCI\350\256\276\345\244\207\345\217\212\350\256\276\347\275\256ASPM\345\267\245\344\275\234\346\250\241\345\274\217/16-1-\347\246\201\346\255\242PCI\350\256\276\345\244\207/README.md" diff --git "a/16-\347\246\201\346\255\242PCI\350\256\276\345\244\207/SSDT-RP01.PXSX-disbale.dsl" "b/16-\347\246\201\346\255\242PCI\350\256\276\345\244\207\345\217\212\350\256\276\347\275\256ASPM\345\267\245\344\275\234\346\250\241\345\274\217/16-1-\347\246\201\346\255\242PCI\350\256\276\345\244\207/SSDT-RP01.PXSX-disbale.dsl" similarity index 100% rename from "16-\347\246\201\346\255\242PCI\350\256\276\345\244\207/SSDT-RP01.PXSX-disbale.dsl" rename to "16-\347\246\201\346\255\242PCI\350\256\276\345\244\207\345\217\212\350\256\276\347\275\256ASPM\345\267\245\344\275\234\346\250\241\345\274\217/16-1-\347\246\201\346\255\242PCI\350\256\276\345\244\207/SSDT-RP01.PXSX-disbale.dsl" diff --git "a/16-\347\246\201\346\255\242PCI\350\256\276\345\244\207/SSDT-RP01.PXSX-disbale.md" "b/16-\347\246\201\346\255\242PCI\350\256\276\345\244\207\345\217\212\350\256\276\347\275\256ASPM\345\267\245\344\275\234\346\250\241\345\274\217/16-1-\347\246\201\346\255\242PCI\350\256\276\345\244\207/SSDT-RP01.PXSX-disbale.md" similarity index 100% rename from "16-\347\246\201\346\255\242PCI\350\256\276\345\244\207/SSDT-RP01.PXSX-disbale.md" rename to "16-\347\246\201\346\255\242PCI\350\256\276\345\244\207\345\217\212\350\256\276\347\275\256ASPM\345\267\245\344\275\234\346\250\241\345\274\217/16-1-\347\246\201\346\255\242PCI\350\256\276\345\244\207/SSDT-RP01.PXSX-disbale.md" diff --git "a/01-\345\205\263\344\272\216AOAC/01-5-\350\256\276\347\275\256ASPM\345\267\245\344\275\234\346\250\241\345\274\217/README.md" "b/16-\347\246\201\346\255\242PCI\350\256\276\345\244\207\345\217\212\350\256\276\347\275\256ASPM\345\267\245\344\275\234\346\250\241\345\274\217/16-2-\350\256\276\347\275\256ASPM\345\267\245\344\275\234\346\250\241\345\274\217/README.md" similarity index 100% rename from "01-\345\205\263\344\272\216AOAC/01-5-\350\256\276\347\275\256ASPM\345\267\245\344\275\234\346\250\241\345\274\217/README.md" rename to "16-\347\246\201\346\255\242PCI\350\256\276\345\244\207\345\217\212\350\256\276\347\275\256ASPM\345\267\245\344\275\234\346\250\241\345\274\217/16-2-\350\256\276\347\275\256ASPM\345\267\245\344\275\234\346\250\241\345\274\217/README.md" diff --git "a/01-\345\205\263\344\272\216AOAC/01-5-\350\256\276\347\275\256ASPM\345\267\245\344\275\234\346\250\241\345\274\217/SSDT-PCI0.RPXX-ASPM.dsl" "b/16-\347\246\201\346\255\242PCI\350\256\276\345\244\207\345\217\212\350\256\276\347\275\256ASPM\345\267\245\344\275\234\346\250\241\345\274\217/16-2-\350\256\276\347\275\256ASPM\345\267\245\344\275\234\346\250\241\345\274\217/SSDT-PCI0.RPXX-ASPM.dsl" similarity index 100% rename from "01-\345\205\263\344\272\216AOAC/01-5-\350\256\276\347\275\256ASPM\345\267\245\344\275\234\346\250\241\345\274\217/SSDT-PCI0.RPXX-ASPM.dsl" rename to "16-\347\246\201\346\255\242PCI\350\256\276\345\244\207\345\217\212\350\256\276\347\275\256ASPM\345\267\245\344\275\234\346\250\241\345\274\217/16-2-\350\256\276\347\275\256ASPM\345\267\245\344\275\234\346\250\241\345\274\217/SSDT-PCI0.RPXX-ASPM.dsl" diff --git "a/01-\345\205\263\344\272\216AOAC/01-5-\350\256\276\347\275\256ASPM\345\267\245\344\275\234\346\250\241\345\274\217/SSDT-PCI0.RPXX-ASPM.md" "b/16-\347\246\201\346\255\242PCI\350\256\276\345\244\207\345\217\212\350\256\276\347\275\256ASPM\345\267\245\344\275\234\346\250\241\345\274\217/16-2-\350\256\276\347\275\256ASPM\345\267\245\344\275\234\346\250\241\345\274\217/SSDT-PCI0.RPXX-ASPM.md" similarity index 100% rename from "01-\345\205\263\344\272\216AOAC/01-5-\350\256\276\347\275\256ASPM\345\267\245\344\275\234\346\250\241\345\274\217/SSDT-PCI0.RPXX-ASPM.md" rename to "16-\347\246\201\346\255\242PCI\350\256\276\345\244\207\345\217\212\350\256\276\347\275\256ASPM\345\267\245\344\275\234\346\250\241\345\274\217/16-2-\350\256\276\347\275\256ASPM\345\267\245\344\275\234\346\250\241\345\274\217/SSDT-PCI0.RPXX-ASPM.md" diff --git a/README-en.md b/README-en.md index 070c2e93..ea1b3c17 100644 --- a/README-en.md +++ b/README-en.md @@ -25,8 +25,7 @@ This repository relies on GitBook and utilises Github Actions to build Page serv 2. `AOAC` disable discrete graphics card 3. Power management deep idle 4. `AOAC` wake patch - 5. Set `ASPM` state - 6. Automatically disable `WIFI` when sleep + 5. Auto power off bluetooth `WIFI` while sleep 2. **Preset Variable** @@ -77,7 +76,9 @@ This repository relies on GitBook and utilises Github Actions to build Page serv 15. **`ACPI` Patch `USB` Ports** -16. **Disable `PCI` Devices** +16. **Disable `PCI` Devices and Set `ASPM` state** + 1. Disable `PCI` Devices + 2. Set `ASPM` state 17. **ACPIDebug** diff --git a/README.md b/README.md index f59533be..7f0c5b20 100644 --- a/README.md +++ b/README.md @@ -26,8 +26,7 @@ 2. `AOAC`禁用独显 3. 电源空闲管理 4. `AOAC`唤醒补丁 - 5. 设置`ASPM`工作模式 - 6. 睡眠自动关闭蓝牙`WIFI` + 5. 睡眠自动关闭蓝牙`WIFI` 2. **预置变量** @@ -78,7 +77,9 @@ 15. **`ACPI` 定制 `USB` 端口** -16. **禁止`PCI`设备** +16. **禁止`PCI`设备及设置`ASPM`工作模式** + 1. 禁止`PCI`设备 + 2. 设置`ASPM`工作模式 17. **ACPIDebug** diff --git a/SUMMARY.md b/SUMMARY.md index 91a082e7..5d31f431 100644 --- a/SUMMARY.md +++ b/SUMMARY.md @@ -20,9 +20,7 @@ * [SSDT-DeepIdle.dsl](01-关于AOAC/01-3-电源空闲管理/SSDT-DeepIdle.md) * [01-4-AOAC唤醒方法](01-关于AOAC/01-4-AOAC唤醒方法/README.md) * [SSDT-PCI0.LPCB-Wake-AOAC.dsl](01-关于AOAC/01-4-AOAC唤醒方法/SSDT-PCI0.LPCB-Wake-AOAC.md) - * [01-5-设置ASPM工作模式](01-关于AOAC/01-5-设置ASPM工作模式/README.md) - * [SSDT-PCI0.RPXX-ASPM.dsl](01-关于AOAC/01-5-设置ASPM工作模式/SSDT-PCI0.RPXX-ASPM.md) - * [01-6-睡眠自动关闭蓝牙WIFI](01-关于AOAC/01-6-睡眠自动关闭蓝牙WIFI/README.md) + * [01-5-睡眠自动关闭蓝牙WIFI](01-关于AOAC/01-5-睡眠自动关闭蓝牙WIFI/README.md) * [02-仿冒设备](02-仿冒设备/README.md) * [02-1-仿冒EC](02-仿冒设备/02-1-仿冒EC/README.md) * [SSDT-EC.dsl](02-仿冒设备/02-1-仿冒EC/SSDT-EC.md) @@ -145,8 +143,11 @@ * [15-ACPI定制USB端口](15-ACPI定制USB端口/README.md) * [SSDT-CB-01_XHC.dsl](15-ACPI定制USB端口/SSDT-CB-01_XHC.md) * [SSDT-xh_OEMBD_XHC.dsl](15-ACPI定制USB端口/SSDT-xh_OEMBD_XHC.md) -* [16-禁止PCI设备](16-禁止PCI设备/README.md) - * [SSDT-RP01.PXSX-disbale.dsl](16-禁止PCI设备/SSDT-RP01.PXSX-disbale.md) +* 16-禁止PCI设备及设置ASPM工作模式 + * [16-1-禁止PCI设备](16-禁止PCI设备及设置ASPM工作模式/16-1-禁止PCI设备/README.md) + * [SSDT-RP01.PXSX-disbale.dsl](16-禁止PCI设备及设置ASPM工作模式/16-1-禁止PCI设备/SSDT-RP01.PXSX-disbale.md) + * [16-2-设置ASPM工作模式](16-禁止PCI设备及设置ASPM工作模式/16-2-设置ASPM工作模式/readme.MD.md) + * [SSDT-PCI0.RPXX-ASPM.dsl](16-禁止PCI设备及设置ASPM工作模式/16-2-设置ASPM工作模式/SSDT-PCI0.RPXX-ASPM.md) * [17-ACPIDebug](17-ACPIDebug/README.md) * [SSDT-BKeyQxx-Debug.dsl](17-ACPIDebug/SSDT-BKeyQxx-Debug.md) * [SSDT-RMDT.dsl](17-ACPIDebug/SSDT-RMDT.md)