Jump to content

Atheros 9285


oldnapalm
 Share

53 posts in this topic

Recommended Posts

hello

 

u never boot without dsdt .. is in u bios.. u boot with original dsdt or a patched one

 

see Clover instructions

 

good hack

 

 

hello

 

man is allright.. but u boot with the dsdt ?

 

must boot without it

 

 

attachicon.gifnull

 

good hack

You said must boot without it? You mean the DSDT? I don't understand what you are saying?

Link to comment
Share on other sites

hello

 

man if u boot with patched dsdt it show that adress.. like u see in ioreg pic...

 

the values are in the dsdt if they are wrong.. he show wrong values...

 

it seem you don't know what are DSDT... and a patched one... the original dsdt is extracted from your bios and patch to work with mac os x..

 

but it is from u bios... only apply some patches to make compatible hardware work full optimized with mac os x.. i'm sorry you don't understand what i'm saying.. i'm not the best in english , is not my native language.. but what i see you don't know about what are  we talking.. the issue.

 

good hack

  • Like 1
Link to comment
Share on other sites

X-TRiAL,

 

You can try the attached DSDT. It's what I use in Mavericks to get my 9285 working.

I will try, but is this my DSDT with your patch? 

 

hello

 

man if u boot with patched dsdt it show that adress.. like u see in ioreg pic...

 

the values are in the dsdt if they are wrong.. he show wrong values...

 

it seem you don't know what are DSDT... and a patched one... the original dsdt is extracted from your bios and patch to work with mac os x..

 

but it is from u bios... only apply some patches to make compatible hardware work full optimized with mac os x.. i'm sorry you don't understand what i'm saying.. i'm not the best in english , is not my native language.. but what i see you don't know about what are  we talking.. the issue.

 

good hack

I know what a DSDT is and why we have to patch it... You told me to boot without a DSDT which didn't make any sense. I'm not sure what you are wanting me to do. 

Link to comment
Share on other sites

I will try, but is this my DSDT with your patch?

Yes, exactly. (Well, RehabMan's patch with "compatible" injected, too, for Mavericks compatibility. :))

 

EDIT: I did word my original post oddly...

Link to comment
Share on other sites

  • 1 month later...

DP4 is buggy!

ATH-AR5B95 work without DSDT edit!

Just install DP5 and add the <string>pci168c,2b</string> to the original DP5 IO80211Family.kext /plugins/Atheros40.kext info.plist

and it works

DP4 is also buggy and in real mac! the same problem with wifi failure in a friends mac book pro.

  • Like 1
Link to comment
Share on other sites

DP4 is buggy!

ATH-AR5B95 work without DSDT edit!

Just install DP5 and add the <string>pci168c,2b</string> to the original DP5 IO80211Family.kext /plugins/Atheros40.kext info.plist

and it works

DP4 is also buggy and in real mac! the same problem with wifi failure in a friends mac book pro.

 

Adding the ID is the only way I have gotten this card to work since ML was released. 

Link to comment
Share on other sites

Adding the ID is the only way I have gotten this card to work since ML was released. 

Here is my DSDT for WLAN.

 

Device (WLAN)
                {
                    Name (_ADR, Zero)
                    Method (_RMV, 0, NotSerialized)
                    {
                        Return (Zero)
                    }
 
                    OperationRegion (MINP, PCI_Config, Zero, 0x68)
                    Field (MINP, ByteAcc, NoLock, Preserve)
                    {
                        VNUM,   32, 
                                Offset (0x09), 
                        PINF,   8, 
                        SBCC,   8, 
                        BSCC,   8, 
                                Offset (0x2C), 
                        SNUM,   32, 
                                Offset (0x34)
                    }
 
                    Method (MPDP, 0, NotSerialized)
                    {
                        If (LEqual (SNUM, 0xFFFFFFFF))
                        {
                            Return (Zero)
                        }
 
                        If (LNotEqual (BSCC, 0x02))
                        {
                            Return (Zero)
                        }
 
                        Return (One)
                    }
 
                    Method (_PRW, 0, NotSerialized)
                    {
                        Return (GPRW (0x09, 0x03))
                    }
                 }
            }
 
 
Its the default with my extracted DSDT from my motherboard and without injection and it works.
But the point is that there is no need to add extra code if your wireless was working before in ML or other maybe mavericks DP1,2,3
I faced the same problem with a real mac book pro so i think its just DP4s problem
Link to comment
Share on other sites

Here is my DSDT for WLAN.

 

Device (WLAN)

                {

                    Name (_ADR, Zero)

                    Method (_RMV, 0, NotSerialized)

                    {

                        Return (Zero)

                    }

 

                    OperationRegion (MINP, PCI_Config, Zero, 0x68)

                    Field (MINP, ByteAcc, NoLock, Preserve)

                    {

                        VNUM,   32, 

                                Offset (0x09), 

                        PINF,   8, 

                        SBCC,   8, 

                        BSCC,   8, 

                                Offset (0x2C), 

                        SNUM,   32, 

                                Offset (0x34)

                    }

 

                    Method (MPDP, 0, NotSerialized)

                    {

                        If (LEqual (SNUM, 0xFFFFFFFF))

                        {

                            Return (Zero)

                        }

 

                        If (LNotEqual (BSCC, 0x02))

                        {

                            Return (Zero)

                        }

 

                        Return (One)

                    }

 

                    Method (_PRW, 0, NotSerialized)

                    {

                        Return (GPRW (0x09, 0x03))

                    }

                 }

            }

 

 

Its the default with my extracted DSDT from my motherboard and without injection and it works.

But the point is that there is no need to add extra code if your wireless was working before in ML or other maybe mavericks DP1,2,3

I faced the same problem with a real mac book pro so i think its just DP4s problem

Hi, bro.

Do you know the point of this code extracted from your Device(Wlan) 

Method (_RMV, 0, NotSerialized)

                    {

                        Return (Zero)

                    }

_RMV seems to be remove. 

Link to comment
Share on other sites

Hi, bro.

Do you know the point of this code extracted from your Device(Wlan) 

Method (_RMV, 0, NotSerialized)

                    {

                        Return (Zero)

                    }

_RMV seems to be remove. 

Removable device i think 1 is removable 0 is not. 

Why my bios extract should return a remove in my wlan device?

Link to comment
Share on other sites

Removable device i think 1 is removable 0 is not. 

Why my bios extract should return a remove in my wlan device?

I was also curious about this. I did not see anything related to RMV in my dsdt though.

Link to comment
Share on other sites

  • 1 month later...

May work with compatible only (Tried and work like a charm on 10.8.5).

 

Update: Work on 10.9

Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
                    {
                        Store (Package (0x02)
                            {
                                "compatible", 
                                Buffer (0x0A)
                                {
                                    "pci168c,2a"
                                }
                            }, Local0)
                        DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                        Return (Local0)
                    }
Edited by darkera13
  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

My BT is shared with the network card. I've got Wifi but BT isn't even detected (can't even see IDs). Is there anything I can do to get BT working?

 

Thanks

Link to comment
Share on other sites

  • 2 weeks later...

Hi, i have this wifi and i´m using this kext (IOUSBFamily.kext)

It works perfectly for me in Mountain Lion, but in Mavericks appear, search, but does not connect to my WPA2 wifi.

I´m using clover with no DSDT.

 

Hope it helps

 

IOUSBFamily.kext.zip

Link to comment
Share on other sites

Hi, i have this wifi and i´m using this kext (IOUSBFamily.kext)

It works perfectly for me in Mountain Lion, but in Mavericks appear, search, but does not connect to my WPA2 wifi.

I´m using clover with no DSDT.

 

Hope it helps

If you use Clover without DSDT. You must patch DSDT as it described in the first and thirteenth posts.
Link to comment
Share on other sites

  • 4 weeks later...
  • 6 months later...

Hi and thanks ; this is the code i use to get my Atheros AR985 working on H77N-WIFI and 10.9.4 with vanilla kext :

                    Method (_DSM, 4, NotSerialized)
                    {
                        If (LEqual (Arg2, Zero))
                        {
                            Return (Buffer (One)
                            {
                                 0x03
                            })
                        }
                        Return (Package (0x0E)
                        {
                            "device-id", 
                            Unicode ("*"), 
                            "name", 
                            "pci168c,2a", 
                            "AAPL,slot-name", 
                            Buffer (0x08)
                            {
                                "AirPort"
                            }, 
                            "device_type", 
                            Buffer (0x08)
                            {
                                "AirPort"
                            }, 
                            "model", 
                            Buffer (0x35)
                            {
                                "Atheros 9285 802.11 a/b/g/n Wireless Network Adapter"
                            }, 
                            "subsystem-id", 
                            Buffer (0x04)
                            {
                                 0xAB, 0x30, 0x00, 0x00
                            }, 
                            "subsystem-vendor-id", 
                            Buffer (0x04)
                            {
                                 0x6B, 0x10, 0x00, 0x00
                            }
                        })
                    }

Insert into RP07@PXSX0 and change PXSX to ARPT. Good hack.

Link to comment
Share on other sites

  • 1 month later...

i didnt change PXSX of RP02

i just added IONAME nothing else.. works

 

dont forget to disconnect pin 20 of mini pci-e card (tape or scrape the trace above the gold pad whatever method for some laptops that wifi switch dont work.)

            Device (RP02)
            {
                Name (_ADR, 0x001C0001)
                OperationRegion (PXCS, PCI_Config, 0x40, 0xC0)
                Field (PXCS, AnyAcc, NoLock, WriteAsZeros)
                {
                    Offset (0x12), 
                        ,   13, 
                    LASX,   1, 
                    Offset (0x1A), 
                    ABPX,   1, 
                        ,   2, 
                    PDCX,   1, 
                        ,   2, 
                    PDSX,   1, 
                    Offset (0x1B), 
                    LSCX,   1, 
                    Offset (0x20), 
                    Offset (0x22), 
                    PSPX,   1, 
                    Offset (0x98), 
                        ,   30, 
                    HPEX,   1, 
                    PMEX,   1, 
                        ,   30, 
                    HPSX,   1, 
                    PMSX,   1
                }
                Device (PXSX)
                {
                    Name (_ADR, Zero)
                    Method (_DSM, 4, NotSerialized) // from here below
                    {
                        Store (Package (0x08)
                            {
                                "AAPL,slot-name", 
                                Buffer (0x08)
                                {
                                    "AirPort"
                                }, 
                                "device_type", 
                                Buffer (0x08)
                                {
                                    "AirPort"
                                }, 
                                "name", 
                                Buffer (0x0B)
                                {
                                    "pci168c,2a"
                                }, 
                                "IOName", 
                                Buffer (0x0B)
                                {
                                    "pci168c,2a"
                                }
                            }, Local0)
                        DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                        Return (Local0)
                    } // to here copy
                    Name (_PRW, Package (0x02)
                    {
                        0x09, 
                        0x04
                    })
                }
                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x09, 0x04))
                }
                Method (_PRT, 0, NotSerialized)
                {
                    If (PICM)
                    {
                        Return (AR05 ())
                    }
                    Return (PR05 ())
                }
            }
Link to comment
Share on other sites

  • 2 months later...
  • 3 months later...

Hello,

 

If i change /System/Library/Extensions/IO80211Family.kext/Contents/PlugIns/AirPortAtheros40.kext/Contents/Info.plist and then 

<string>pci168c,2a</string> to <string>pci168c,2b</string> my AR9285 works.

However, i prefer Vanilla so i want to patch my DSDT.

Unfortionaly this doesn't work:

 

#   Airport fix works with vanilla IO80211 kext
into method label _DSM parent_label PXSX remove_entry;
into device label PXSX parent_label RP02 insert
begin
Method (_DSM, 4, NotSerialized)
{
    If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }
    Return (Package()
    {
        "device-id", Buffer() { 0x30, 0x00, 0x00, 0x00 },
        "name", "pci168c,42",
        "AAPL,slot-name", Buffer() { "AirPort" },
        "device_type", Buffer() { "AirPort" },
        "model", Buffer() { "Atheros 9285 802.11 b/g/n Wireless Network Adapter" },
        "subsystem-id", Buffer() { 0x8F, 0x00, 0x00, 0x00 },
        "subsystem-vendor-id", Buffer() { 0x6B, 0x10, 0x00, 0x00 },
    })
}
end;

Even though it compiles quite well, this are the details from mac with patched kext:

  Softwareversies:
  CoreWLAN:	5.0 (500.35.2)
  CoreWLANKit:	4.1 (410.37)
  Menu-extra:	10.0 (1000.33.2)
  Systeeminformatie:	9.0 (900.9)
  IO80211-familie:	7.1 (710.55)
  Diagnostische info:	4.1 (410.69)
  AirPort-configuratieprogramma:	6.3.4 (634.17)
  Interfaces:
en0:
  Type kaart:	AirPort Extreme  (0x168C, 0x7167)
  Firmwareversie:	Atheros 9285: 4.0.74.0-P2P
  MAC-adres:	e8:39:df:10:b5:fe
  Taalversie:	APAC
  Landcode:	US 
  Ondersteunde PHY-modi::	802.11 a/b/g/n
  Ondersteunde kanalen:	1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11
  Activeer bij draadloze verbinding:	Ondersteund
  AirDrop:	Ondersteund
  Status:	Verbonden
  Informatie huidig netwerk:
WieFie:
  PHY-modus:	802.11n
  BSSID:	90:f6:52:de:3d:f7
  Kanaal:	3
  Landcode:	US 
  Netwerktype:	Infrastructuur
  Beveiliging:	Geen
  Signaal/ruis:	-97 dBm / -96 dBm
  Verzendsnelheid:	65
  MCS-index:	7
  Andere lokale Wi-Fi-netwerken:
Modem_nieuw:
  PHY-modus:	802.11n
  BSSID:	c0:25:06:6b:43:05
  Kanaal:	1
  Landcode:	DE
  Netwerktype:	Infrastructuur
  Beveiliging:	WPA/WPA2 - persoonlijk
  Signaal/ruis:	-69 dBm / -96 dBm
TP-Link:
  PHY-modus:	802.11n
  BSSID:	90:f6:52:36:b4:83
  Kanaal:	9
  Netwerktype:	Infrastructuur
  Beveiliging:	Geen
  Signaal/ruis:	-72 dBm / -96 dBm
UPC248984094:
  PHY-modus:	802.11n
  BSSID:	dc:71:44:ae:61:78
  Kanaal:	6
  Landcode:	NL
  Netwerktype:	Infrastructuur
  Beveiliging:	WPA2 - persoonlijk
  Signaal/ruis:	-83 dBm / -96 dBm
Wifi zolder:
  PHY-modus:	802.11n
  BSSID:	70:73:cb:b9:cd:61
  Kanaal:	1
  Landcode:	US
  Netwerktype:	Infrastructuur
  Beveiliging:	WPA2 - persoonlijk
  Signaal/ruis:	-50 dBm / -96 dBm

Windows:

PCI\VEN_168C&DEV_002B&SUBSYS_7167144F&REV_01\4&136898A6&0&00E0
PCI\VEN_168C&DEV_002B&SUBSYS_7167144F&REV_01
PCI\VEN_168C&DEV_002B&CC_028000
pci\ven_168c&dev_002b&subsys_7167144f

PCI\VEN_8086&DEV_3B42&SUBSYS_C06A144D&REV_06\3&11583659&0&E0
netathrx.inf:c9e68984718af45d:ATHR_DEV_OS61_30A1a.ndi:3.0.1.155:pci\ven_168c&dev_002b&subsys_7167144f

Thanks in advance

Link to comment
Share on other sites

hello

 

should use this

into device Label PXSX parent_label RP02 replace_content  begin
Name (_ADR, Zero)\n
Name (_SUN, One)\n
Name (_PRW, Package (0x02) {0x09,0x04})\n
    Method (_DSM, 4, NotSerialized)\n
    {\n
   If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n
   Return (Package()\n
               {\n
"AAPL,slot-name","AirPort",\n
"built-in", Buffer () {0x00},\n
"device-type","AirPort",\n
"model","Atheros AR9x8x 802.11 a/b/g/n Wireless Network Controller",\n
"name", "AirPort Extreme",\n
"compatible","pci168c,30"\n
   })\n
    }\n
end;

good hack

Link to comment
Share on other sites

 Share

×
×
  • Create New...