send bluetooth to nvram

Signed-off-by: Slice <sergey.slice@gmail.com>
This commit is contained in:
Slice 2024-11-09 20:01:52 +03:00
parent 07fa0790af
commit 45c6cf0c8c
3 changed files with 6 additions and 3 deletions

View File

@ -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/

View File

@ -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 <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"

View File

@ -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);