Mariotaf Posted November 3, 2017 Share Posted November 3, 2017 Hi. I have a e7240 with atheros ar5b195 combo. When I was on 10.11.2 I patched the kext with atherospatch.kext and it worked. Since I've updated to 10.11.6 and only the bluetooth works now. For the wifi it said no device installed. I launched again atherospatch but it said that it's already patched. What to do please? Thank you Link to comment Share on other sites More sharing options...
Administrators Hervé Posted November 3, 2017 Administrators Share Posted November 3, 2017 Just how do you patch the Atheros kext? As posted and detailed here, the AR5B95/AR9285 DSDT patch is much simpler and will not require any subsequent kext patching, whether at new OS installation or after updates. If you prefer, the Info.plist kext patch can also be implemented through Clover. Personally, I prefer the DSDT one. Link to comment Share on other sites More sharing options...
Mariotaf Posted November 3, 2017 Author Share Posted November 3, 2017 With a patch called Patch Atheros Wifi Kext.app Can you help me to patch DSDT please. I don't know how. Where I need to add the text patch you've listed in the post Link to comment Share on other sites More sharing options...
Administrators Hervé Posted November 3, 2017 Administrators Share Posted November 3, 2017 I don't know about that app. If you want me to patch your DSDT, post: a zipped copy of your DSDT a zipped output of IORegistryExplorer Link to comment Share on other sites More sharing options...
Mariotaf Posted November 3, 2017 Author Share Posted November 3, 2017 I don't know if these are correct MacBook-Mario.ioreg.zip dsdt.zip Link to comment Share on other sites More sharing options...
Administrators Hervé Posted November 3, 2017 Administrators Share Posted November 3, 2017 Ok, these are good. So if you look into your IOREG, we see that your AR5B195 card (168c,2b) is attached to PCIe device PXSX, itself under RP04. This is the device to look for in the DSDT for patching. To patch the device, simply insert the DSM method into the device as follows: Device (PXSX) { Name (_ADR, Zero) // _ADR: Address Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake { Return (GPRW (0x69, 0x04)) } Method (_DSM, 4, NotSerialized) // Device Specific Method for the wireless card { Store (Package () { "model", Buffer (0x1E) { "Atheros AR5B195 b/g/n Wireless" }, "device_type", Buffer (0x08) { "AirPort" }, "built-in", Buffer (One) { 0x00 }, "name", Buffer (0x10) { "AirPort Extreme" }, "AAPL,slot-name", Buffer (0x09) { "Internal" }, "compatible", // Declares compatibility with a device Buffer (0x0B) { "pci168c,30" // PCI id of device supported OOB } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } Recompile the DSDT and save the resulting DSDT.aml file for re-use. Please note that the "compatible" statement is what's really required here, the rest is purely cosmetic for the SysProfiler information. I attach the patched table where I also renamed RP04.PXSX to RP04.ARPT. Remember to re-instate the vanilla Atheros kext! Repatched_DSDT.aml.zip 1 Link to comment Share on other sites More sharing options...
Mariotaf Posted November 6, 2017 Author Share Posted November 6, 2017 Hi, May be wrong question but how to re-instate the vanilla kext? Link to comment Share on other sites More sharing options...
Administrators Hervé Posted November 6, 2017 Administrators Share Posted November 6, 2017 Either you remove the patch you made or you re-install a backup you took. Link to comment Share on other sites More sharing options...
Mariotaf Posted November 6, 2017 Author Share Posted November 6, 2017 Working fine. Thank you Link to comment Share on other sites More sharing options...
Recommended Posts