Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BluetoolFixup: Add another patch to skip Internal Bluetooth Controller NVRAM checking. #31

Merged
merged 1 commit into from
Jun 15, 2023

Conversation

zxystd
Copy link
Contributor

@zxystd zxystd commented Jun 15, 2023

Hi,
From Ventura 13.4(maybe), Apple adds two NVRAM check:

  1. bluetoothInternalControllerInfo : which stores the internal Bluetooth controller(always real mac)'s mac address.
  2. bluetoothExternalDongleFailed: which to indicates that the bluetoothd had failure initialization with external bluetooth Dongle(Stupid design).

original code:
image
image

after patched:
image
image

these two section are created by bluetoothd self, but if the user clean/reset NVRAM, then the bluetoothd will not treat the device as external Dongle at all, so it is foreseeable that Bluetooth will not be able to be used.

Here I make a patch to skip these two conditions, and seems working so well.

@PMheart PMheart merged commit 82031e4 into acidanthera:master Jun 15, 2023
3 checks passed
@PMheart
Copy link
Member

PMheart commented Jun 15, 2023

Thanks! Merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants