From 45c6cf0c8c6434cd51b14ac572930e7fbd431d11 Mon Sep 17 00:00:00 2001 From: Slice Date: Sat, 9 Nov 2024 20:01:52 +0300 Subject: [PATCH] send bluetooth to nvram Signed-off-by: Slice --- Build_Clover_in_Sequoia.txt | 2 +- CloverPackage/package/po/clover.pot | 4 ++-- rEFIt_UEFI/Platform/DataHubCpu.cpp | 3 +++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Build_Clover_in_Sequoia.txt b/Build_Clover_in_Sequoia.txt index 48a3a8e564..331700709b 100644 --- a/Build_Clover_in_Sequoia.txt +++ b/Build_Clover_in_Sequoia.txt @@ -6,7 +6,7 @@ cd src git clone --recurse-submodule https://github.com/CloverHackyColor/CloverBootloader.git cd CloverBootloader -2. Download and install Python 5.12... +2. Download and install Python 3.12... 3. Set a link for python cd /Library/Frameworks/Python.framework/Versions/3.12/bin/ diff --git a/CloverPackage/package/po/clover.pot b/CloverPackage/package/po/clover.pot index 58c7b4e791..ebf710e4d3 100644 --- a/CloverPackage/package/po/clover.pot +++ b/CloverPackage/package/po/clover.pot @@ -6,8 +6,8 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Clover r5158\n" -"POT-Creation-Date: 2024-03-30 12:26+0300\n" +"Project-Id-Version: Clover r5160\n" +"POT-Creation-Date: 2024-09-14 09:44+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/rEFIt_UEFI/Platform/DataHubCpu.cpp b/rEFIt_UEFI/Platform/DataHubCpu.cpp index a4e323c55a..bee5fbad9d 100644 --- a/rEFIt_UEFI/Platform/DataHubCpu.cpp +++ b/rEFIt_UEFI/Platform/DataHubCpu.cpp @@ -468,6 +468,9 @@ SetVariablesForOSX(LOADER_ENTRY *Entry) //sudo nvram wake-failure=%00%00%00%00%00 LangLen = 0; AddNvramVariable(L"wake-failure", gEfiAppleBootGuid, Attributes, 5, &LangLen); + // for a bluetooth + AddNvramVariable(L"bluetoothInternalControllerInfo", gEfiAppleBootGuid, Attributes, 14, &LangLen); + AddNvramVariable(L"bluetoothExternalDongleFailed", gEfiAppleBootGuid, Attributes, 1, &LangLen); //clear OC garbage DeleteNvramVariable(L"opencore-version", gEfiAppleBootGuid);