Jump to content

[SOLVED] Ar5b195 wifi not working after os update


Mariotaf

Recommended Posts

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

  • Administrators

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

  • Administrators

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.

IOReg_device.png

RP04.PXSX.png

 

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!
  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...