Nonta72 Posted April 24, 2017 Share Posted April 24, 2017 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! Link to comment https://www.insanelymac.com/forum/topic/323130-atheros-ar9285-unable-to-discover-networks-after-wake-from-sleep/ Share on other sites More sharing options...
Allan Posted April 24, 2017 Share Posted April 24, 2017 Which card do you have? AR5B195 or AR9285??? Link to comment https://www.insanelymac.com/forum/topic/323130-atheros-ar9285-unable-to-discover-networks-after-wake-from-sleep/#findComment-2411184 Share on other sites More sharing options...
TheRacerMaster Posted April 24, 2017 Share Posted April 24, 2017 AR5B195 is the same as AR9285 (just with Bluetooth). 1 Link to comment https://www.insanelymac.com/forum/topic/323130-atheros-ar9285-unable-to-discover-networks-after-wake-from-sleep/#findComment-2411246 Share on other sites More sharing options...
Allan Posted April 24, 2017 Share Posted April 24, 2017 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 Link to comment https://www.insanelymac.com/forum/topic/323130-atheros-ar9285-unable-to-discover-networks-after-wake-from-sleep/#findComment-2411264 Share on other sites More sharing options...
Nonta72 Posted April 24, 2017 Author Share Posted April 24, 2017 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 Link to comment https://www.insanelymac.com/forum/topic/323130-atheros-ar9285-unable-to-discover-networks-after-wake-from-sleep/#findComment-2411432 Share on other sites More sharing options...
Allan Posted April 24, 2017 Share Posted April 24, 2017 Well, in mine DSDT I've insert it in RP02 > PXSX Link to comment https://www.insanelymac.com/forum/topic/323130-atheros-ar9285-unable-to-discover-networks-after-wake-from-sleep/#findComment-2411439 Share on other sites More sharing options...
MaLd0n Posted April 24, 2017 Share Posted April 24, 2017 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. 1 Link to comment https://www.insanelymac.com/forum/topic/323130-atheros-ar9285-unable-to-discover-networks-after-wake-from-sleep/#findComment-2411444 Share on other sites More sharing options...
Nonta72 Posted April 25, 2017 Author Share Posted April 25, 2017 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 IORegistryExplorer 3.app.zip extract DSDT RunMe.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 Link to comment https://www.insanelymac.com/forum/topic/323130-atheros-ar9285-unable-to-discover-networks-after-wake-from-sleep/#findComment-2411478 Share on other sites More sharing options...
Nonta72 Posted April 25, 2017 Author Share Posted April 25, 2017 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. Link to comment https://www.insanelymac.com/forum/topic/323130-atheros-ar9285-unable-to-discover-networks-after-wake-from-sleep/#findComment-2411483 Share on other sites More sharing options...
MaLd0n Posted April 25, 2017 Share Posted April 25, 2017 Try it DSDT.aml.zip Link to comment https://www.insanelymac.com/forum/topic/323130-atheros-ar9285-unable-to-discover-networks-after-wake-from-sleep/#findComment-2411495 Share on other sites More sharing options...
Nonta72 Posted April 25, 2017 Author Share Posted April 25, 2017 Try it DSDT.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 :/ Link to comment https://www.insanelymac.com/forum/topic/323130-atheros-ar9285-unable-to-discover-networks-after-wake-from-sleep/#findComment-2411538 Share on other sites More sharing options...
Allan Posted April 25, 2017 Share Posted April 25, 2017 Run these commands in Terminal, and put the results here: syslog |grep -i "Wake reason" pmset -g assertions Link to comment https://www.insanelymac.com/forum/topic/323130-atheros-ar9285-unable-to-discover-networks-after-wake-from-sleep/#findComment-2411811 Share on other sites More sharing options...
Nonta72 Posted April 25, 2017 Author Share Posted April 25, 2017 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. 2 Link to comment https://www.insanelymac.com/forum/topic/323130-atheros-ar9285-unable-to-discover-networks-after-wake-from-sleep/#findComment-2411933 Share on other sites More sharing options...
Allan Posted April 25, 2017 Share Posted April 25, 2017 Congrats for your work, and hard research! When we are dedicate to get Hackintosh working, we have the same result as you got. Keep in that way Link to comment https://www.insanelymac.com/forum/topic/323130-atheros-ar9285-unable-to-discover-networks-after-wake-from-sleep/#findComment-2411973 Share on other sites More sharing options...
Nonta72 Posted April 25, 2017 Author Share Posted April 25, 2017 Congrats for your work, and hard research! When we are dedicate to get Hackintosh working, we have the same result as you got. Keep in that way Thank you! 1 Link to comment https://www.insanelymac.com/forum/topic/323130-atheros-ar9285-unable-to-discover-networks-after-wake-from-sleep/#findComment-2412002 Share on other sites More sharing options...
Recommended Posts