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, is Qualcomm Atheros AR956x compatible with MacOS Mojave 10.14.3?
    • By Bushi93
      Finally Manage to make on of the most powerful and compact Hackintosh available with > the i9-9940X 14 cores + the AsRock X299e motherboard and Vega RX 64 8GB.
      Used for Editing, Motion Design and VFX on Mojave 10.14.3
      Exports time >Four time faster compared to my last i7 6 cores hackintosh.

      Need to add a lot of parameters to get the config.plst to work but once it's right it Works very smoothly!
      Turbo Boost up to 4.2 Ghz all core

      Geekbench scores
      Multi core : 54000 (above the iMacPro 18 cores)
      Single core : 5200
      GPU : 186 800

      Ethernet & Audio work without kext
       
      GPU : The Gygabite VEGA RX 64 required a lowfanspeed.kext otherwise it will always have the fans running in full speed mode (and it can get really noisy).

      Bluetooth & wifi (you can get a blue tooth dongle - the Azus works but you may experience some issue or lag sometime so the best solution is to replace the Bluetooth/Wifi card with the Bcm94360cs2 AC + its adaptor:
      https://www.amazon.fr/gp/product/B07HFQKC2Z/ref=ppx_yo_dt_b_asin_title_o04_s00?ie=UTF8&psc=1
      https://www.amazon.fr/gp/product/B073XHY68N/ref=ppx_yo_dt_b_asin_title_o02_s00?ie=UTF8&psc=1
      With this card you won't need any kext to make it work : you will get native bluetooth and wifi support and even be able to control your bios and clover with your bluetooth magic mouse / keyboard !
       
      USB3 PORTS : need to add some kext
      1 of the 2 USB 3.1 WORK in full speed > USB C  in 3.1 and for some mysterious reson the other USB type A in 3.1 work as USB 2 only
      The other 4 USB3 work fine and the 2 USB3 of my front IO (NCASE M1) work fine too 

      XRP RAM OVERCLOCK : YES
      CPU Overcloking to 4.5GHz may work but did experience some freeze/crash and didn't notice any increase in render time when activated.

      Here is a quick overview of my setup
       
       
       
       
    • By valueimagery
      Hello,

      I've updated via system preference fro 10.14.2 to 10.14.3 successfully. However, I've lost location services for Siri and Maps.

      Anyone else?

      I've tried a little trial and error troubleshooting but no luck...
      SysPref->Privacy->Location Services is enabled with all settings checked. I've tried to disable and enable, but not luck.

      I tested booting from previous backup of 10.14.2 install/uefi (pre update) and Location Services worked.

      Prior to OSX update I also updated to latest clover, WEG, Lilu, AirportBrcmFixup, AppleALC.

      So I tested by downgrading all of the above one at a time to the previous state, and still no Location services on 10.14.3

      I've used kext utility to repair any broken kexts.

      I've also tried forcequiting from activity monitor:
      com.apple.geod

      And I've Try Deleting:
      Library/Preferences/com.apple.GEO.plist
      Library/Containers/com.apple.geod

      I've booted into a guest user and this did not allow location services either.

      My build is using a native Broadcom BCM94352Z Dell DW1560 and BrcmPatchRAM2.kext + BrcmFirmwareRepo.kext

      Any thoughts?
    • By ucif19
      Hi, First of all, sorry for my English.
      I want to buy a WiFi/bt card for my hackintosh. I want a card that have a native support for MacOS because I need to use Handoff and AirDrop. I saw the card in the link below: anyone could tell me if the card have the requirements I mentioned before?
       
      wifi/bt card  Broadcom 94352Z DW1560: https://rover.ebay.com/rover/0/0/0?mpre=https%3A%2F%2Fwww.ebay.it%2Fulk%2Fitm%2F272204993348
       
      my build
      macos Mojave 10.14.3
      mobo: H170N-WiFi 
      cpu: i5-6500
      gpu: gtx 1060 6gb (not work on Mojave)
      Ram: 16Gb ddr4 2133 MHz
    • By grisno
      Hi people,
       
      This is a preliminary installer to activate the Combo Mini PCIe Atheros QCWB335 in MacOS.
       
      I want to thank the whole community for their efforts and content provided, because without these it would not be possible to create this installer.
       
      I would appreciate comments and suggestions!!
       
      Status:
      AIRPORT : OK Atheros QCWB335 (AR9565) (168c:0036) Mini PCIe * BLUETOOTH : OK Atheros AR3012 (0cf3:3121) USB 2.0 ** AIRDROP : Not Tested HANDOFF : Not Tested CONTINUITY : Not Tested WOL : Not Tested IMESSAGE : OK FACETIME : OK ICLOUD : OK APPSTORE : OK   Known Issues:
       
      - Partial support with a maximum speed of 10Mbits (10.11.0+) *
      - Don't support Bluetooth Power Off/On by Software (10.10.0+) **
      - Sometimes Lost Bluetooth After Sleep WakeUp (10.10.0+) **
       
      Sources:
       
      Insanelymac
×