wireless_half-mini icon indicating copy to clipboard operation
wireless_half-mini copied to clipboard

10.12.1 - Using Info.plist patching instead of DeviceID injection

Open bpresles opened this issue 8 years ago • 9 comments

With AzureWave AW-CE123H, the Clover DSDT FixAirport_4000 and AddDTGP_0001 + WIFI FakeID doesn't work correctly anymore on 10.12.1.

To fix that, removing all the above patches/FakeID and using a Info.plist patch to inject the real device id in the IONameMatch list seems to be the cleaner solution (avoid DSDT patching and Kext alteration) by a dying the following patch to KernelAndKextPatches -> KextsToPatch section of Clover's config.plist:

    <dict>
        <key>Comment</key>
        <string>BCM94352HMB add 0x43b114e4</string>
        <key>Find</key>
        <data>PHN0cmluZz5wY2kxNGU0LDQzYmE8L3N0cmluZz4=</data>
        <key>InfoPlistPatch</key>
        <true/>
        <key>Name</key>
        <string>AirPortBrcm4360</string>
        <key>Replace</key>
        <data>PHN0cmluZz5wY2kxNGU0LDQzYjE8L3N0cmluZz4=</data>
    </dict>

This patch simply replace the existing pci14e4,43ba by pci14e4,43b1. The replace value should be modified according to the real device id used.

bpresles avatar Oct 28 '16 22:10 bpresles

Patch added to config-bcm94352-120.plist and README updated. Thanks.

toleda avatar Nov 04 '16 01:11 toleda

I have removed all patches from config.plist and reset fake id to 0x0 but still "no hardware installed". Below kexts are placed inside EFI/CLOVER/kexts/10.12:- BrcmFirmwareData.kext BrcmFirmwareRepo.kext BrcmPatchRAM2.kext FakePCIID.kext FakePCIID_Broadcom_WiFi.kext

I have same device as yours.

ezeeyahoo avatar Nov 06 '16 13:11 ezeeyahoo

@ezeeyahoo FakePCIID_Broadcom_WiFi.kext is not working in 10.12.1. See README for fix.

toleda avatar Nov 06 '16 14:11 toleda

Yes, I think I am doing something wrong because only with above patch in config.plist and removing all BCM4352 related kexts,FakeID,patches do not change anything for me. I have not installed a single kext in S/L/E or L/E. Can you please elaborate little more the process or tell me if you find the problem? DSDT.zip config.plist.zip No ssdt Kexts:- ACPIBatteryManager.kext FakeSMC.kext IntelBacklight.kext RealtekRTL8100.kext VoodooHDA.kext VoodooPS2Controller.kext mXHCD.kext

ezeeyahoo avatar Nov 06 '16 17:11 ezeeyahoo

DSDT edits are Atheros 9285, why?

toleda avatar Nov 06 '16 19:11 toleda

I had taken it from someone who had the same model but probably with Atheros. Using system generated DSDT, cpu fan run at top speed..I have to do patches to disable Optimus Graphics card, etc and I don't know how to do that as I am first timer since it worked fine so continued with it till now. Generated DSDT(from linux) DSDT.aml.zip Nvidia GT525M Also I was not able use HDMI port with external monitor. I know it's off topic but if you can just tell, Is that possible?

ezeeyahoo avatar Nov 06 '16 19:11 ezeeyahoo

Never a good idea to install a dsdt from a different machine. No WiFi injection, see README.

toleda avatar Nov 06 '16 20:11 toleda

I have AW-CE123H and I'm on 10.12.2. Tried many things and this is how it worked for me...

  • Install FakePCIID kexts
  • Apply plist from this pull request, the one from repo (config-bcm94352-120.plist.zip) does not work

Everything worked perfectly, including 5GHz Also note that, if you only apply the plist from this pull request, it does not work.

jinziqi avatar Dec 19 '16 16:12 jinziqi

FakePCIID does what Info.plist does; one or the other, not both.

toleda avatar Dec 19 '16 20:12 toleda