Jump to content
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!

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  ;)

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

check device in ur ioreg, post here if u can

IORegistryExplorer 3.app.zip

 

extract DSDT

RunMe.app.zip


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

  • Like 1

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

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.

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 :/

 

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

  • Like 2
×
×
  • Create New...