Jump to content

Atheros 9285

Atheros 9285

  • Please log in to reply
47 replies to this topic

#21
X-TRiAL

X-TRiAL

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 155 posts
  • Gender:Male
  • Location:UK

 

Hi Guys, I've tried both of these patches but I cannot get it working. I'm inserting where I have my current patch for ML which is In the right side (code window), below 'Device (RP02)' find the first 'Device (PXPX)' and 

place the cursor before 'Device (PXPX) then paste here. 

 

I tried the first post but I couldn't compile, I then tried Alex Auditore's patch, which did compile but still no WiFi in Mavericks. Can I attach my DSDT's (original patch for ML and new attempted patch for Mavericks) and come someone maybe compile it for me as I'm having no luck? :( 

 

Thanks

 

Original Edit: 

Device (ARPT)
{
    Name (_ADR, Zero)
    Method (_DSM, 4, NotSerialized)
    {
        Store (Package (0x0C)
            {
                "AAPL,slot-name",
                Buffer (0x08)
                {
                    "AirPort"
                },
                "device-id",
                Unicode ("*"),
                "device_type",
                Buffer (0x08)
                {
                    "AirPort"
                },
                "model",
                Buffer (0x34)
                {
                    "Atheros 9285 8802.11 b/g/n Wireless Network Adapter"
                },
                "subsystem-id",
                Buffer (0x04)
                {
                    0x8F, 0x00, 0x00, 0x00
                },
                "subsystem-vendor-id",
                Buffer (0x04)
                {
                    0x6B, 0x10, 0x00, 0x00
                }
            }, Local0)
        DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
        Return (Local0)
    }
}

hello

 

i don't see nothing wrong with u edit unless

 

u dev id is 2a ?

 

or

 

is the right place to insert the patch, have u check with ioreg ?

 

good hack

 

I think its in the right place. I am no good with DSDT edits, it was said by someone else. 

 

Here is my ioreg, I think its 2a? 

 

EDIT: Removed IOReg



#22
p.H

p.H

    InsanelyMac Legend

  • FAQ Team
  • 767 posts
  • Gender:Male
  • Interests:Hackintosh & NBA & COD4 promod

Thanks, I can now boot with this DSDT and it works in Mountain Lion, but with Mavericks it still doesn't recognise wifi. Do I need to install any kexts?

Upload your IOReg with Mountain Lion.


I think its in the right place. I am no good with DSDT edits, it was said by someone else. 

 

Here is my ioreg, I think its 2a? 

 

attachicon.gifThomas' MacBook Pro.zip

My god. The insertion point is just right. (RP02)

I am also curious about this problem now as the edits should just be fine. :(



#23
X-TRiAL

X-TRiAL

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 155 posts
  • Gender:Male
  • Location:UK

I spoke to someone with a Acer 5750G too, and they said they installed Mountain Lion kexts into Mavericks. But I want to have a vanilla system as much as I can :/ 

 

EDIT: Sorry that ioreg was from Mountain Lion. Shall I upload a Mavericks one?

EDIT2: Mavericks ioreg attached

EDIT3: Removed IOReg



#24
Onixs

Onixs

    Since 2007

  • Members
  • PipPipPipPipPipPipPip
  • 802 posts
  • Gender:Male
As for me, i have to remove osbundle in info.plist

#25
artur-pt

artur-pt

    InsanelyMacaholic

  • Local Moderators
  • 4,723 posts
  • Gender:Male
  • Location:Portugal
  • Interests:TechManiaco

hello

 

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

 

must boot without it

 

 

Attached File  Captura de ecrĂŁ 2013-07-4, Ă s 13.54.00.png   159.61KB   13 downloads

 

good hack

 

 

 



#26
X-TRiAL

X-TRiAL

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 155 posts
  • Gender:Male
  • Location:UK

hello

 

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

 

must boot without it

 

 

attachicon.gifnull

 

good hack

I boot with my DSDT yes. I am using Clover, so how do I boot without a DSDT? 



#27
artur-pt

artur-pt

    InsanelyMacaholic

  • Local Moderators
  • 4,723 posts
  • Gender:Male
  • Location:Portugal
  • Interests:TechManiaco

hello

 

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

 

see Clover instructions

 

good hack



#28
X-TRiAL

X-TRiAL

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 155 posts
  • Gender:Male
  • Location:UK

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?



#29
qwerty12

qwerty12

    InsanelyMac Protégé

  • Members
  • Pip
  • 49 posts
  • Gender:Male
  • Location:UK

X-TRiAL,

 

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

Attached Files



#30
artur-pt

artur-pt

    InsanelyMacaholic

  • Local Moderators
  • 4,723 posts
  • Gender:Male
  • Location:Portugal
  • Interests:TechManiaco

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


  • p.H likes this

#31
X-TRiAL

X-TRiAL

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 155 posts
  • Gender:Male
  • Location:UK

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. 



#32
qwerty12

qwerty12

    InsanelyMac Protégé

  • Members
  • Pip
  • 49 posts
  • Gender:Male
  • Location:UK

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...

#33
313ARt

313ARt

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
  • Gender:Male
  • Location:Athens

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.



#34
Rampage Dev

Rampage Dev

    InsanelyMac Deity

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

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. 



#35
313ARt

313ARt

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
  • Gender:Male
  • Location:Athens

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


#36
p.H

p.H

    InsanelyMac Legend

  • FAQ Team
  • 767 posts
  • Gender:Male
  • Interests:Hackintosh & NBA & COD4 promod

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. 



#37
313ARt

313ARt

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
  • Gender:Male
  • Location:Athens

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?



#38
p.H

p.H

    InsanelyMac Legend

  • FAQ Team
  • 767 posts
  • Gender:Male
  • Interests:Hackintosh & NBA & COD4 promod

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.



#39
darkera13

darkera13

    InsanelyMac Protégé

  • Members
  • Pip
  • 31 posts
  • Gender:Male

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, 07 October 2013 - 01:54 AM.


#40
mnfesq

mnfesq

    Emenef, Esquire

  • Members
  • PipPipPipPipPipPipPip
  • 532 posts
  • Gender:Male
  • Location:Southern California

The DSDT code in the first post of this thread worked great for me.  Thanks for posting it, oldnapalm.








0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

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