Jump to content

Atheros AR9285 for OS X Mavericks


Playfrog4u

Recommended Posts

  • Administrators

Another way that saves the hassle of patching the Atheros40 kext at each installation or OS X update/upgrade is to patch the computer's DSDT and declare the card as compatible with one of the PCI devices listed natively in the kext: 168c,30 or 168c,2a for instance.
 
First you need to identify your wireless device though IORegistryExplorer, then apply the following _DSM Method patch to your identified DSDT device. Example with my D630 for which the DSDT device is ARPT (may be different for other systems):

                Device (ARPT)    // Identified wireless device through IORegistryExplorer
                {
                    ...
                    ...
                    ...
                    Method (_DSM, 4, NotSerialized) // Device Specific Method for the wireless card
                    {
                        Store (Package (0x0A)
                            {
                                "model", 
                                Buffer (0x1E)
                                {
                                    "Atheros AR5B95 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)
                    }
                    ...
                    ...
                    ...
                }

This assumes the DSDT already contains a DTGP method. If not, add it,  copies of the code are available everywhere.

  • Like 1
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...