Jump to content

Atheros 9285

Atheros 9285

  • Please log in to reply
52 replies to this topic

#41
RCOO

RCOO

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 206 posts
  • Gender:Male
  • Location:Portugal
  • Interests:Software development, agile development, tech overall

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



#42
Hicks1gb

Hicks1gb

    InsanelyMac Protégé

  • Members
  • PipPip
  • 80 posts
  • Gender:Male
  • Interests:**Asus N71JQ, Core i7 - 720QM, ATI Mobility Radeon 5730 VRAM 1 GB
    **P5KPL/EPU, Core2 Quad...

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

 

Attached Files



#43
Alex Auditore

Alex Auditore

    InsanelyMac Legend

  • Donators
  • 705 posts
  • Gender:Male

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.

#44
theconnactic

theconnactic

    Stubborn AMD user

  • Local Moderators
  • 2,988 posts
  • Gender:Male

Thank you all guys for this topic, specially the greek guy whose ID-adding solution saved my day!

 

All the best!



#45
The Real Deal

The Real Deal

    InsanelyMac Legend

  • Donators
  • 968 posts
  • Gender:Male
  • Location:France

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.



#46
LatinMcG

LatinMcG

    Insanely digesting DSDT

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 2,515 posts
  • Gender:Male
  • Location:Tampa, Florida

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 ())
                }
            }


#47
dnfoz

dnfoz

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts

What is DSDT Patch?



#48
Allan

Allan

    V.I.P. Member

  • Moderators
  • 6,387 posts
  • Gender:Male
  • Location:Brazil

See this: DSDT — What is it and how do I get it?



#49
Hacktop

Hacktop

    InsanelyMac Protégé

  • Members
  • Pip
  • 34 posts
  • Gender:Male

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



#50
artur-pt

artur-pt

    InsanelyMac V.I.P.

  • Local Moderators
  • 5,083 posts
  • Gender:Male
  • Location:Portugal
  • Interests:TechManiaco

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



#51
Hacktop

Hacktop

    InsanelyMac Protégé

  • Members
  • Pip
  • 34 posts
  • Gender:Male

It works, thanks of that!

 

Can someone explain what this trick exactly does? pci168c,30 = pci168c,1E while in the kext i replace 2b with 2a. That would mean i have to replace 30 to 2a or to 43

30 = 1E

43 = 2B

 

Your trick works, however i don't understand why  ^_^

Can someone explain how your DSDT patch is comparable with the kext patch?

I try to understand DSDT

 

Thanks :)



#52
artur-pt

artur-pt

    InsanelyMac V.I.P.

  • Local Moderators
  • 5,083 posts
  • Gender:Male
  • Location:Portugal
  • Interests:TechManiaco

hello

 

what the patch do is injecting a compatible device id for ur card..

 

to use the native kext from system

 

good hack



#53
LatinMcG

LatinMcG

    Insanely digesting DSDT

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 2,515 posts
  • Gender:Male
  • Location:Tampa, Florida

2b id is 9285 .. 2a is in the files as original uses .

 

you make it think its 2a on dsdt so osx sees 2a and loads driver that works.. 2b is not in the list of device-id  so it wont load.








0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2015 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy