Jump to content
767 posts in this topic

Recommended Posts

@Max.1974

I'm not sure if that works with the latest version of macOS because apple limited the list of compatible devices as you know.

But from what I know BCM BT/WiFi combos will work natively only if the device ID is supported by apple otherwise there's chance that they won't work or they work partially. 

  • Like 1
  • Thanks 1
7 hours ago, Max.1974 said:

I ordered just for test an dongle from Amazon, like photo KNIVO USB BT.

Max I think it's an old bluetooth dongle (Mac OS 10.3.9 aka Panther) and the chances for it to work in macOS Monterey and above are slim, you might get it to work with BluetoolFixUp but I'm not sure.

  • Like 1
  • Thanks 1
2 horas atrás, Cyberdevs disse:

Max, eu acho que é um dongle bluetooth antigo (Mac OS 10.3.9 aka Panther) e as chances de funcionar no macOS Monterey e acima são pequenas, você pode fazê-lo funcionar com o BluetoolFixUp, mas não tenho certeza.

 

Thanks a lot @Cyberdevs my friend, you always inform everything right !!! 

  • Like 2

Looking for volunteer with BCM 94352HMB and Open Core ACPI patching experience to test a Sonoma Wi-Fi solution with me.  Please PM me if you feel that you are interested and qualified...

 

I have discovered what I think is something significant for BCM 94352HMB Wi-Fi users: We can patch ACPI in a way that allows OCLP to detect and patch Sonoma Wi-Fi without requiring any custom code development and without requiring any switching between config.plists for patching and running.  I have found that on my HackBookPro6,2 (SMBIOS MBP6,2) with BCM 94352HMB, I can permanently apply the attached ACPI patch (changing only the IOName value) without renaming PXSX->ARPT and without any other changes, ACPI or otherwise.  

 

With this simple change, the official Dortania build of OCLP 0.6.9 (no custom coding / building required) discovers and patches Sonoma Wi-Fi for BCM 94352HMB AND Wi-Fi works fine in Ventura and Sonoma.  This simple ACPI patch does not affect operation of Wi-Fi, so the simple ACPI patch can remain for patching and running macOS - it never needs to be removed.

 

If someone wants to test this with me, I would be happy to help you via PM.  You must have ACPI patching experience, so that we don't have to spend any time teaching you how to patch ACPI.  After we confirm that it is working as expected, I would post instructions for general use.

 

If you want to test this on your own (not working with me via PM), that would be great, too.  I am currently running with the attached ACPI patch.  With this simple patch, Wi-Fi works perfectly during normal operation in Ventura and Sonoma and OCLP 0.6.9 discovers and patches BCM 94352 Wi-Fi for Sonoma without an OCLP code changes.

 

EDIT: This patch can also be implemented with OC DeviceProperties as shown here and here.  You can use OC DeviceProperties or the SSDT patch, whichever you prefer.

 

EDIT2: I am now running with the OC DeviceProperty and it is working fine.  I started with the SSDT, because I have found that sometimes, OC DeviceProperties cannot overwrite existing properties.  In this case, the DeviceProperty is working and for most, will be much easier to implement.

 

SSDT-ARPT.aml.zip

Edited by deeveedee
  • Like 7

I don't want to bother Dortania OCLP developers by asking any of them to confirm my finding here (that we only need to patch IOName in order to trick OCLP into patching our unsupported Wi-Fi).  If someone has an inside connection that allows them to ask an OCLP developer to confirm this finding, that would be very helpful.  Thank you.

 

EDIT: I grepped OCLP Source and see that IONameMatch is a common way for OCLP patcher to identify properties, so this ACPI patching techique for spoofing Wi-Fi might be correct.

Edited by deeveedee
  • Like 1
  • Thanks 1
2 hours ago, Stefanalmare said:

Congrats @deeveedee! It just work. But I don't use SSDT, for me is simpler using device properties in config.plist.

 

You beat me to the post!  I was just about to post my working solution with OC Device Property.  Thank you for confirming!

 

DeviceProperties

Spoiler

1936175578_Screenshot2023-08-04at7_52_40PM.png.1236548b9e2c659647dc1ce5e987a9a6.png

 

EDIT: I am multi-booting BigSur, Monterey, Ventura and Sonoma to make sure that this ACPI patch does not interfere with normal Wi-Fi operation.  This is important, so that the patch can be applied permanently (we won't have to use the ACPI patch for OCLP post-install patches and then remove the patch for normal operation).

 

I think I see why this patch is ok for normal operation.  MacOS must use another Wi-Fi property (not IOName) to perform IOName matching:

 

IOReg: IONameMatch (macOS Monterey)

Spoiler

1883879116_ScreenShot2023-08-04at9_18_40PM.png.baa6691ba573f58484bee3aae16646fe.png

 

Even though my ACPI patch is changing Wi-Fi IOName to pci14e4,4353, Airport_BrcmNIC matches the actual device name of the Wi-Fi card (pci14e4,43b1 in my case).

 

This was either a brilliant move by the OCLP Devs or just lucky for us.

 

EDIT2: If someone is able to test this patch when booting Windows with OC, that would be helpful. An advantage of using SSDT over DeviceProperties is that the SSDT patch can be conditional on 'Darwin'

Edited by deeveedee
  • Like 2

@SavageAUS That should work - as long as you need to apply OCLP patches for Sonoma Wi-Fi.  For testing, it will be easiest for you to apply the ACPI patch via DeviceProperties as shown here and here.  It would be ideal if you have unpatched Sonoma on one APFS volume and another earlier macOS version (e.g., Big Sur, Monterey or Ventura) on another APFS volume, so that you can test Wi-Fi operation in the other macOS versions after applying the patch.

 

Test as follows:

  • Modify your EFI so that your config.plist includes the Wi-Fi DeviceProperty to spoof IOName.  See instructions for creating DeviceProperty below.
  • Boot from your modified EFI and perform a clean installation of Sonoma (if you already have a clean installation of Sonoma without OCLP patches, that's fine, too)
  • Apply OCLP 0.6.9 post-install patches to your virgin Sonoma installation (use the official Dortania OCLP 0.6.9 nightly build from here)
  • Reboot and test Sonoma Wi-Fi
  • Reboot and test Wi-Fi in an earlier version of macOS (to confirm that the Wi-Fi IOName spoofing does not alter Wi-Fi behavior)

 

You can insert the DeviceProperty into your OC config.plist using your favorite plist editor (I use Xcode shown here) or OCAT like Stefanalmare here.

 

EDIT: If anyone is able to test this Wi-Fi IOName spoofing when booting Windows with OC EFI, I'd like to know if the patch is compatible with Windows.  If the ACPI patch interferes with Windows Wi-Fi, I have attached an SSDT that conditionally spoofs Wi-Fi only when running macOS.  I think the attached SSDT is the correct way to conditionally apply the patch in Method _DSM.  Your SSDT device path may be different from mine (_SB_.PCI0.RP02.PXSX), so you may need to edit the SSDT to work in your hack.

 

EDIT2: The DeviceProperty patch requires proper specification of the Wi-Fi device path.  There are multiple ways to obtain this device path.  I use Hackintool as follows:

  • Open Hackintool
  • Click the PCIe tab
  • Find your Wi-Fi device (Device Name "BCM 4352...")
  • Right-click on the Wi-Fi device listing and select "Copy Device Path" (my device path is PciRoot(0x0)/Pci(0x1C,0x1)/Pci(0x0,0x0))
  • Use this Device Path you copied in Hackintool to create your DeviceProperty in your OC config.plist.  My DeviceProperties (viewed/edited with Xcode are as shown here:
    Spoiler

    1242178872_Screenshot2023-08-05at9_02_17AM.png.2f744e7e2e32a242f28e4272344fc024.png

    Note that a DeviceProperty preceded by # is a comment

SSDT-ARPT.aml.zip

Edited by deeveedee
  • Like 6
[mention=1083558]SavageAUS[/mention] That should work - as long as you need to apply OCLP patches for Sonoma Wi-Fi.  For testing, it will be easiest for you to apply the ACPI patch via DeviceProperties as shown here and here.  It would be ideal if you have unpatched Sonoma on one APFS volume and another earlier macOS version (e.g., Big Sur, Monterey or Ventura) on another APFS volume, so that you can test Wi-Fi operation in the other macOS versions after applying the patch.

On that machine I have the same as in the other thread I think. Ventura and Sonoma half a disk each. Will that work?
I can’t look and test tonight as laptop is in where kids are sleeping but tomorrow I can.


Sent from my iPhone using Tapatalk

For those who are following these instructions to create an ACPI patch for their Brcm Wi-Fi (so that OCLP detects their Wi-Fi for patching), I would prefer that you try to do this yourself before pinging me for help.  Jump to my "EDIT2" below and start by trying to create the patch yourself.  If you need help, just ask.  

Note that you should follow my directions below to create your own ACPI patch if my patch for BCM94352HMB here and here does not work for you.

 

==================================================================

 

@D-an-W I don't have one for testing, so I haven't investigated the problem.  Is it a similar problem in that OCLP 0.6.9 does not detect Wi-Fi for patching?  If that is the case, please provide me with the following and I will provide you with a proposed solution:

  • Your SMBIOS model (you should pick an SMBIOS model that most closely approximates that of a real Mac with your CPU)
  • Your IOReg dump (use IORegistry Explorer 2.1)
  • Your original (unpatched) DSDT
  • Your OC config.plist
  • Your Wi-Fi device path (you can use Hackintool as I explain here)

 

EDIT: If you are concerned about applying ACPI patches that affect other OSes, then you should use the SSDT with _OSI("Darwin") condition.

 

EDIT2: If you would prefer to do this yourself (that would be my preference), do the following:

  1. In the OCLP Supported Wi-Fi Devices Table below, find the device id for the Wi-Fi device closest to your Wi-Fi device.  OCLP supports these Wi-Fi devices at the time of this post (you may be able to spoof any device in this table, regardless of your actual Wi-Fi device, but I haven't tested enough to know):

    Table: OCLP Supported Wi-Fi Devices
    Spoiler

    1434832106_Screenshot2023-08-05at11_29_45AM.png.342c7657d6e396aa665f3118e3f846e3.png

     

  2. Convert the device id that you chose in Step 1 to the Wi-Fi IOName that you will be spoofing (e.g., 0x4353 becomes "pci14e4,4353")
  3. Find your Wi-Fi device path (you can use Hackintool as I have described)
  4. Create your DeviceProperty: Add your spoofed IOName to the DeviceProperties in your OC config.plist using the IOName that you found in Step 2 and using the Wi-Fi device path that you found in Step 3
  5. Test your ACPI patch by using OCLP 0.6.9 (official Dortania 0.6.9 nightly build and not a modified OCLP build) to apply post-install patches to a virgin (unpatched) installation of Sonoma
  6. Test your ACPI patch by booting earlier versions of macOS (e.g., Ventura) with your new EFI (the EFI that includes your Wi-Fi spoofing).  Make sure that Wi-Fi continues to work normally.
  7. If you need to boot Windows with OC and this ACPI patch affects Windows Wi-Fi, create your ACPI patch with an SSDT as I have described here
Edited by deeveedee
  • Like 2

@D-an-W I was editing my previous post while you were reading it.  You may want to read it again.  I think you can do this yourself if you follow my directions (See EDIT2) but if you can't, just ask for help.

  • Thanks 1

I haven't actually 

41 minutes ago, deeveedee said:

@D-an-W I was editing my previous post while you were reading it.  You may want to read it again.  I think you can do this yourself if you follow my directions (See EDIT2) but if you can't, just ask for help.

 

Thank you, I will have a read and try and figure it out.

1 hour ago, deeveedee said:

For those who are following these instructions to create an ACPI patch for their Brcm Wi-Fi (so that OCLP detects their Wi-Fi for patching), I would prefer that you try to do this yourself before pinging me for help.  Jump to my "EDIT2" below and start by trying to create the patch yourself.  If you need help, just ask.  

Note that you should follow my directions below to create your own ACPI patch if my patch for BCM94352HMB here and here does not work for you.

 

==================================================================

 

@D-an-W I don't have one for testing, so I haven't investigated the problem.  Is it a similar problem in that OCLP 0.6.9 does not detect Wi-Fi for patching?  If that is the case, please provide me with the following and I will provide you with a proposed solution:

  • Your SMBIOS model (you should pick an SMBIOS model that most closely approximates that of a real Mac with your CPU)
  • Your IOReg dump (use IORegistry Explorer 2.1)
  • Your original (unpatched) DSDT
  • Your OC config.plist
  • Your Wi-Fi device path (you can use Hackintool as I explain here)

 

EDIT: If you are concerned about applying ACPI patches that affect other OSes, then you should use the SSDT with _OSI("Darwin") condition.

 

EDIT2: If you would prefer to do this yourself (that would be my preference), do the following:

  1. Find the IOReg dump for a real Mac that matches your SMBIOS model (assuming you have properly chosen your SMBIOS model to provide the closest match to a real Mac).  Those who are "spoofing" a Mac Model that does not match their hack specifications may have problems with this.  If you're unable to find the IOReg for a real Mac or the SMBIOS Model that you are emulating does not include Wi-Fi, it may be sufficient to find the device name for the closest Wi-Fi device supported by OCLP.  OCLP supports these Wi-Fi devices at the time of this post:
      Reveal hidden contents

    1434832106_Screenshot2023-08-05at11_29_45AM.png.342c7657d6e396aa665f3118e3f846e3.png

     

  2. Examine the IOReg dump of a real Mac to find the Wi-Fi device and note the Wi-Fi IOName (analogous to the "pci14e4,4353" IOName that I found for a real MBP6,2).  If you can't find the IOReg from a real Mac, try using an IOName of the OCLP supported Wi-Fi devices that I posted in Step 1.
  3. Find your Wi-Fi device path (you can use Hackintool as I have described)
  4. Create your DeviceProperty: modify your config.plist using the IOName that you found in Step 2 and using the Wi-Fi device path that you found in Step 3
  5. Test your ACPI patch by using OCLP 0.6.9 (official Dortania 0.6.9 nightly build and not a modified OCLP build) to apply post-install patches to a virgin (unpatched) installation of Sonoma
  6. Test your ACPI patch by booting earlier versions of macOS (e.g., Ventura) with your new EFI (the EFI that includes your Wi-Fi spoofing).  Make sure that Wi-Fi continues to work normally.
  7. If you need to boot Windows with OC and this ACPI patch affects Windows Wi-Fi, create your ACPI patch with an SSDT as I have described here

@deeveedee I have the device property defined since Sierra but OCLP 0.6.9 sonoma developer didn’t work for me. That’s why I modified the .py file in order to force OCLP to patch my BRCM4352 devices, but I confirm that the device property declaration does not affect windows. So, you can boot both safely

  • Like 2
39 minutes ago, eSaF said:

You guys are making giant strides specially @deeveedee. The IM Community is alive and well after the feeling of Doom and Gloom.

I would even like to have a BCM 94352HMB to be able to participate in the test with @deeveedee 😀 It is certainly a great find.

But you and I are already served with our Fenvi. The oldest of the 2 that I have is almost 3 years old and has worked without a single failure.

  • Like 2

@acquarius13 There was no previous reason to patch IOName for using BCM94352 with macOS. Why did you patch IOName before Sonoma?  If you can post the ACPI patch you are using, I'd be curious to look at it.

 

EDIT: Especially no reason to be patching IOName as 'pci14e4,4353' before Sonoma.  You may want to check your ACPI patches again.

 

Thank you for confirming proper operation with Wi-Fi.

Edited by deeveedee
  • Like 1
2 hours ago, eSaF said:

@miliuco - Absolutely my Friend!!!! I felt a kind of despair for the ones with the BCM 94352HMB that were missing out on Sonoma connectivity, but due to the persistence of Giants like @deeveedee this feature and all it entails is now possible.

This is the kind of dogged activity and never say never mind-set that makes me feel privileged to be part of this community. 

 

I still use the Fenvi for Bluetooth but does it now work on WiFi ok too with OCLP (Been away and must have missed something!)? 

I was doing a bit more testing of the Wi-Fi spoofing and I am finding that we can spoof any device in the OCLP supported devices table to trick OCLP into applying post-install patches.

 

OCLP supported Wi-Fi Devices

Spoiler

1397586599_Screenshot2023-08-05at11_29_45AM.png.2f4668aca9a989d02b3f4059a604df77.png

 

I initially suspected that there might be some dependency between the spoofed Wi-Fi device and the SMBIOS model, but I'm not finding that this matters.  For those who are attempting to create their own Wi-Fi spoofing patch, I have simplified my instructions here by removing the need to use the actual Wi-Fi device in the real Mac most closely approximating your hack.

 

This Wi-Fi spoofing works, because no matter what IOName we spoof, it seems that this IOName is only needed to trick OCLP into applying the Wi-Fi post-install patches.  When macOS detects Wi-Fi, it seems to ignore the IOName and instead uses the actual device name.  For example, I am spoofing IOName "pci14e4,43a3" which OCLP detects for Wi-Fi post-install patches.  When macOS detects my Wi-Fi, it detects it as "pci14e4,43b1" (the actual device name).

 

IOReg dump for spoofed Wi-Fi IOName: "pci14e4,43a3"

Spoiler

1386025426_Screenshot2023-08-05at5_55_03PM.png.4ede208ccc5c6e5e7560028ecab628e5.png.357423d74d4edfaab48460f308fd3602.png


IOName Matched: "pci14e4,43b1" (the actual Wi-Fi device) (even though IOName is spoofed as pci14e4,43a3 to trick OCLP)

Spoiler

1728010119_Screenshot2023-08-05at8_22_00PM.png.431d176905c9e4e701c03572beb439fe.png

 

EDIT: Note that Wi-Fi spoofing works on my HackBookPro6,2 when I spoof Wi-Fi IOName as "pci14e4,43a3" and when I spoof Wi-Fi IOName as "pci14e4,4353".  Again, the Wi-Fi device that I spoof does not seem to matter as long at it is in the OCLP supported Wi-Fi devices table.
 

EDIT2: I have not exhaustively tested spoofing of every Wi-Fi device in the OCLP supported Wi-Fi table.  If someone tests and finds that there is some difference when spoofing different Wi-Fi devices, please report your test results.  Thank you.

Edited by deeveedee
  • Like 3
3 hours ago, D-an-W said:

 

I still use the Fenvi for Bluetooth but does it now work on WiFi ok too with OCLP (Been away and must have missed something!)? 

See here

https://github.com/dortania/OpenCore-Legacy-Patcher/pull/1077#issuecomment-1646934494

(go to Hackintosh Notes)

Most of Fenvi owners have back our wifi after doing as OCLP developer says.

  • Like 2
  • Thanks 1

@miliuco I am doing all of my macOS installs and OCLP patching with AMFI / Library Validation fully enabled (no amfi=0x80 boot-arg and no AMFI / LV kernel patches) as long as I inject kext AMFIPass.kext 1.3.1.  It seems that the OCLP developer instructions are still recommending AMFI to be disabled for Wi-Fi patching.  Have you tried using AMFIPass.kext 1.3.1 with AMFI and LV fully enabled?  It's working very well for me and I have not found a reason to disable AMFI anymore.

Edited by deeveedee
  • Like 2
×
×
  • Create New...