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 The Krya
      Hi, I've upgraded from Mojave to Catalina and now my WiFi card didn't recognized in system. I upgraded clover and kexts to latest versions, but Wifi didn't appears.
      In "about this Mac" I see:
      CoreWLAN: 13.0 ((null))
      CoreWLANKit: 13.0 ((null))
      Menu Extra: 13.0 ((null))
      System Information: 12.0 (1355)
      IO80211 Family: 12.0 (1200.12.2b1
      Diagnostics: 1.0 (910)
      AirPort Utility: Not Installed
       
      My kexts is:
       
      I checked forum and table of supported Wifi cards - and everything should work (a lot of people has this card working on Catalina). When I was on Mojave my wifi was ok.
      As I can see in terminal output ( after command "kextstat") - kext for wifi not loaded, but I'm not sure because I haven't got a lot of experience of this
      *my english isn't good enough, sorry for that*
       
      Any help appreciated and thanks
      loaded-kexts

    • By HenryV
      m.2 DW1707/AR9565 shows yellow wifi indicator in network applet when turned on in 10.13.6, 10.14.6 and yellow ethernet in 10.15.2.
      Icon in desktop panel indicates looking but not find networks in all three.  Same wifi card detects available networks in linux without issue.
      The attached kext is labeled particularly for 10.13.6, but wifi is not being detected even in that version.  In all cases Atheros 40 kext is installed S/L/E as plugin in 80211 family kext with reparied permissions.
       
      Can anyone who has this working in sierra, high sierra, mojave or catalina please post what you did including any dsdt/config.plist mods?
       
      From what I have read in these forums the modded atheros 40 kext is supposed to work.  Is this failure to detect networks specific to any particular brand(s) of laptops?
       
      Any help appreciated.
      Thank you.
       
      AR956X-10.13.6.tar.gz
    • By Shogun212
      I'm currently running MacOS Catalina 10.15.2
       
      Here's what i need help with: 
       
      1. Wifi (which previously worked on Mojave)  
      2. iMessage 
      3. FaceTime 
      4. AirDrop 
       
      Note: I can't do DSDT patching, tried it many times, and i failed. That's just beyond my capabilities. 
      I really hope someone can help me, i've been busting my head for days.  
       
      If possible, i would like to avoid bricking my os, because i need it for my job on the day after tomorrow. 
       
      My RunMe app file: https://mega.nz/#!yxlgiIwR!-XZsreXxNjxjQemXiQia2vcSfITWwr_AVciV2Kdb-ps  
      My specs: https://drive.google.com/file/d/1d47b7YXOAitKSYvA9Z6Ojv57ThqXzZxJ/view
       
       
    • By Desknote
      Hi,

      I will be using ASUS ROG STRIX B360-I GAMING (mini-ITX) for my new build, and I'm trying to figure out the best solution for WiFi & Bluetooth. I understand that it should be possible to replace the WiFi/BT card that comes with the motherboard, but I'm confused about with what kind of card exactly. What connector will I need to be using? There are cards with miniPCI, M.2, some solutions require adapters, ...

      Is there a card I can simply swap in?

      Thank you
    • By Dannydeman
      Updated to Catalina, and also have a new Apple Watch. Upgrade from Mojave went great, only updated some kexts for the Wifi/bluetooth to make bluetooth work.Airdrop, Handoff etc. all work like a charm. Sidecar is also enabled (but I don't have the iPad, so can't test).
      However, the Apple Watch features are not there. I've went to System Report, and noticed in my Wifi that "Auto Unlock: True" isn't there at all. How come? I've read some success stories with my Wifi/BT chip, which is:
      Broadcom BCM94352Z NGFF Dual Band 802.11ac 867M Wifi BT 4.0 Lenovo FRU 04X6020

      I'm using these kexts from Headkaza, which were needed to get Bluetooth to work:
      https://www.insanelymac.com/forum/topic/339175-brcmpatchram2-for-1015-catalina-broadcom-bluetooth-firmware-upload/
      Wifi is working great, 5GHZ, full speed. So I'm pretty lost on how to get this "Auto Unlock: True" enabled.

      Extra info about my system:
      Processor: Intel Core i5 8400 Videocard: Radeon RX 570 4GB Motherboard: ASRock Z370M-ITX/ac Replaced my Intel wifi chip with the BCM94352Z SMBIOS: Retina 5K 27" 2017
×