Jump to content
Nonta72

Atheros AR9285 unable to discover networks after wake from sleep

15 posts in this topic

Recommended Posts

Hi,

I have an Atheros AR5B195 wifi card that actually works pretty good on Yosemite after a proper DSDT patch.

The problem now is that the card can't seem to discover any network when the computer wakes from sleep.

I have to restart the computer before the card can discover networks again.

I used a DSDT patch to make it work. I have also tried some injectors found here on this forum and OSXLatitude but they did not fix this issue.

Can someone please help?

Thanks!

Share this post


Link to post
Share on other sites
Advertisement

Hi,

I have an Atheros AR5B195 wifi card that actually works pretty good on Yosemite after a proper DSDT patch.

The problem now is that the card can't seem to discover any network when the computer wakes from sleep.

I have to restart the computer before the card can discover networks again.

I used a DSDT patch to make it work. I have also tried some injectors found here on this forum and OSXLatitude but they did not fix this issue.

Can someone please help?

Thanks!

Try this DSDT patch:

Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
                {
                    If (LEqual (Arg2, Zero))
                    {
                        Return (Buffer (One)
                        {
                             0x03                                           
                        })
                    }


                    Return (Package (0x0E)
                    {
                        "device-id", 
                        Buffer (0x04)
                        {
                             0x30, 0x00, 0x00, 0x00                         
                        }, 


                        "name", 
                        "pci168c,30", 
                        "AAPL,slot-name", 
                        Buffer (0x08)
                        {
                            "AirPort"
                        }, 


                        "device_type", 
                        Buffer (0x08)
                        {
                            "AirPort"
                        }, 


                        "model", 
                        Buffer (0x33)
                        {
                            "Atheros 9285 802.11 b/g/n Wireless Network Adapter"
                        }, 


                        "subsystem-id", 
                        Buffer (0x04)
                        {
                             0x8F, 0x00, 0x00, 0x00                         
                        }, 


                        "subsystem-vendor-id", 
                        Buffer (0x04)
                        {
                             0x6B, 0x10, 0x00, 0x00                         
                        }
                    })
                }
            }

Works very good to me, and I don't have problems with sleep.

 

AR5B195 is the same as AR9285 (just with Bluetooth).

Wow, good to know  ;)

Share this post


Link to post
Share on other sites

Try this DSDT patch:

Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
                {
                    If (LEqual (Arg2, Zero))
                    {
                        Return (Buffer (One)
                        {
                             0x03                                           
                        })
                    }


                    Return (Package (0x0E)
                    {
                        "device-id", 
                        Buffer (0x04)
                        {
                             0x30, 0x00, 0x00, 0x00                         
                        }, 


                        "name", 
                        "pci168c,30", 
                        "AAPL,slot-name", 
                        Buffer (0x08)
                        {
                            "AirPort"
                        }, 


                        "device_type", 
                        Buffer (0x08)
                        {
                            "AirPort"
                        }, 


                        "model", 
                        Buffer (0x33)
                        {
                            "Atheros 9285 802.11 b/g/n Wireless Network Adapter"
                        }, 


                        "subsystem-id", 
                        Buffer (0x04)
                        {
                             0x8F, 0x00, 0x00, 0x00                         
                        }, 


                        "subsystem-vendor-id", 
                        Buffer (0x04)
                        {
                             0x6B, 0x10, 0x00, 0x00                         
                        }
                    })
                }
            }

Works very good to me, and I don't have problems with sleep.

 

Wow, good to know  ;)

Hey, you forgot to tell me where to insert this code!

I tried to insert it to RP01 location (that's where my card is), but got a bunch of errors -_-

Share this post


Link to post
Share on other sites

Well, in mine DSDT I've insert it in RP02 > PXSX

 

According to IOREG, mine is on RP01

 

check device in ur ioreg, post here if u can

attachicon.gifIORegistryExplorer 3.app.zip

 

extract DSDT

attachicon.gifRunMe.app.zip

U try a clover patch? Clover apply it for u. FixAirport in Acpi section.

 

I haven't try Clover patch yet. Let me try it and report back.

Here are the files

I have also attached the UNTOUCHED DSDT.aml from Clover GUI (F4).

 

If it matters, I had to rebrand the card by changing the subsys ID from 1461103C to 3040103C because my laptop has a whitelist. It accepts the AR9285 card but only with 3040103C subsys. The rebranded card works great on Windows and OS X (except when the laptop wakes from sleep on OS X).

Send me MacBook Pro.zip

ioreg.zip

DSDT.aml.zip

Share this post


Link to post
Share on other sites

Edit:

Clover patch enables the WiFi (I made sure there was no DSDT when booting with the patch).

The problem persists.

I've been browsing, trying to find a solution and found this http://www.insanelymac.com/forum/topic/311119-atheros-ar5b95-problem

I'm exactly having the same issue. Maybe this card needs special patch on these laptops. I hope someone can help me fix this.

Share this post


Link to post
Share on other sites

Try it

attachicon.gifDSDT.aml.zip

 

Your DSDT actually broke the sleep itself.

The laptop sleeps for 1 second and then immediately wakes up with a black screen (no lights, but I could hear the HDD and the fan spinning). So, if I touch the keyboard, trackpad or power button then; the screen turns on. Wifi was however able to find networks. I'm not sure if that really fixed my issue :/

Share this post


Link to post
Share on other sites

 

Run these commands in Terminal, and put the results here:

syslog |grep -i "Wake reason"
pmset -g assertions

 

Hi,

I have solved my problem somehow.

After analyzing the problem; I came to understand that the network card wasn't being turned on after the laptop wakes from sleep by the BIOS (incompatible OS?).

I did some research and found that there is a pin on the card that controls the radio ON/OFF. I had a spare AR5B95 card (had to rebrand it too). I went ahead and used it as a TEST SUBJECT by removing the pin that controls the radio switch (hardware switch). It was the 20th pin on the bottom (really the 17th). When I booted to OS X, this issue went away. So I removed the pin on the second card too (AR5B195 with BT 3.0) and put that card back in the laptop. I use the second one for BT because my audio jack is busted and I must connect to a BT headset.

Now the problem seems to have been solved.

Below are pictures that explain the pin thing (I hope).

I SUGGEST ANYONE WHO WANTS TO TRY THIS TO COVER THE PIN WITH SOMETHING SUCH AS A PLASTIC TAPE. REMOVING THE PIN CAN BE DANGEROUS.

post-1208978-0-76678500-1493135315_thumb.jpg

post-1208978-0-86510400-1493135347_thumb.jpg

Share this post


Link to post
Share on other sites
Congrats for your work, and hard research!

 

When we are dedicate to get Hackintosh working, we have the same result as you got.   :yes:

 

Keep in that way  ;)

Share this post


Link to post
Share on other sites

 

Congrats for your work, and hard research!
 
When we are dedicate to get Hackintosh working, we have the same result as you got.   :yes:
 
Keep in that way  ;)

 

 

Thank you!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By End3rPower50
      Hi, I bought a Dell DW1820A based on BCM94350ZAE
      I can't install kext for this chipset on my hackintosh
      Can anyone help me?
      Thanks in advace 
      P.S Sorry for my bad English
       
      CLOVER.zip
    • By Corrin
      Hi all,
       
      so ive been trying to get the wifi working on my hackintoshed laptop for a full week now, but i have little to no experience with macs or hackintoshes.
       
      my wifi card is a BCM43142, and my laptop is a HP pavilion 15 p004na running Mojave 10.14.4
       
      i was told on another forum that this card did work on macos, but im starting to doubt it a little :)
       
      any help would be much appreciated,
      Corrin
    • By vhviveiros
      Hello guys!
       
      I'm using a Samsung ativ book 2 np270e5g-xd1br, with i5-3230m/HM75, and everything is working fine, except by sleeping and wifi connection (the Hackintosh internet speed is about 10% of the windows/Linux, and sometimes It downs randomly).
       
      I've tried a lot of tutorials but nothing solved my problem.
       
      Hope you guys could help me
       
      obs: I also figured that if I left the laptop for some minutes, It sometimes reboot.
      Send me MacBook-Pro.zip
    • By malikdaniali
      I need wifi driver for Mojave 10.14.3, I have tried Asus N10 but it did not work for me. Any one may help or guide.
      Thank you
×