ReddestDream Posted June 27, 2016 Share Posted June 27, 2016 for which OS X build? OS X 10.11.5 (15F34) That's what it's been tested on . . . 1 Link to comment https://www.insanelymac.com/forum/topic/312045-atheros-wireless-driver-os-x-101112-for-unsupported-cards/page/2/#findComment-2246007 Share on other sites More sharing options...
coolstarorg Posted June 27, 2016 Share Posted June 27, 2016 @jalavoui I suspect the issue we're running into on AR9462 is broken eeprom reads affecting rx/tx power management (even though the ucode is fine). Do the OS X eeprom functions work fine for you or are they having issues for you too? 1 Link to comment https://www.insanelymac.com/forum/topic/312045-atheros-wireless-driver-os-x-101112-for-unsupported-cards/page/2/#findComment-2246094 Share on other sites More sharing options...
jalavoui Posted July 3, 2016 Author Share Posted July 3, 2016 if u have a working apple ethernet driver try to debug it on a cold boot u can inject a int 3 (hex code CC) in code so the debugger stops where u want anyway the card works after reboot from windows/linux - that's fine 4 now 1 Link to comment https://www.insanelymac.com/forum/topic/312045-atheros-wireless-driver-os-x-101112-for-unsupported-cards/page/2/#findComment-2247438 Share on other sites More sharing options...
ReddestDream Posted July 10, 2016 Share Posted July 10, 2016 if u have a working apple ethernet driver try to debug it on a cold boot u can inject a int 3 (hex code CC) in code so the debugger stops where u want anyway the card works after reboot from windows/linux - that's fine 4 now @jalavoui CoolStar and I have been investigating this, and unfortunately, it seems that USB Ethernet is not supported with Two-Machine Remote Kernel Debug even when that USB Ethernet is supported by an Apple Ethernet driver (USB Ethernet works OotB). :/ Do you know of a way to get Two-Machine Kernel Remote Debug working with USB Ethernet? Thanks! Link to comment https://www.insanelymac.com/forum/topic/312045-atheros-wireless-driver-os-x-101112-for-unsupported-cards/page/2/#findComment-2250765 Share on other sites More sharing options...
coolstarorg Posted July 11, 2016 Share Posted July 11, 2016 @jalavoui just wondering, can you run this command in Linux: "sudo cat /sys/kernel/debug/ieee80211/phy0/ath9k/base_eeprom" for the rx/tx ucodes, Linux appears to load the relevant ucode based on which rx/tx ucode index is in eeprom. For the AR9462 I have, it's set to index 1 for both rx and tx. 1 Link to comment https://www.insanelymac.com/forum/topic/312045-atheros-wireless-driver-os-x-101112-for-unsupported-cards/page/2/#findComment-2250828 Share on other sites More sharing options...
Bogdacutu Posted August 5, 2016 Share Posted August 5, 2016 Has anyone encountered very low network speeds with this driver compared to what the card is capable of doing on other OS's? I mean it's still better than nothing, but the most I've been able to get under OS X was 10Mbps (when under Windows/Linux I can get at least 50Mbps without much effort), and even that's not always the case, right now for example I'm only getting 1Mbps next to the router. Wireless Diagnostics says that the noise is always above RSSI by exactly 1 dBm, Quality is always -1, and the Tx Rate is always 11 Mbps. (Country Code is JP, but that shouldn't make much of a difference except for what channels it can use, right?) If not, could someone please let me know where to start looking in order to figure out what's causing this and eventually fix it? Programming/reverse engineering isn't an issue, but I'm not familiar with Wi-Fi drivers at all. Thanks! Link to comment https://www.insanelymac.com/forum/topic/312045-atheros-wireless-driver-os-x-101112-for-unsupported-cards/page/2/#findComment-2262288 Share on other sites More sharing options...
coolstarorg Posted August 7, 2016 Share Posted August 7, 2016 @bogdacutu which wireless card are you using? Are you using AR9462 or AR9565? Link to comment https://www.insanelymac.com/forum/topic/312045-atheros-wireless-driver-os-x-101112-for-unsupported-cards/page/2/#findComment-2262696 Share on other sites More sharing options...
Bogdacutu Posted August 7, 2016 Share Posted August 7, 2016 @bogdacutu which wireless card are you using? Are you using AR9462 or AR9565? AR9565 ubuntu@ubuntu:~$ sudo inxi -Fx | grep Wireless Card-2: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter driver: ath9k bus-ID: 02:00.0 1 Link to comment https://www.insanelymac.com/forum/topic/312045-atheros-wireless-driver-os-x-101112-for-unsupported-cards/page/2/#findComment-2262744 Share on other sites More sharing options...
jaraheel Posted September 5, 2016 Share Posted September 5, 2016 does the QCA6174 works now? (Please say yes) Link to comment https://www.insanelymac.com/forum/topic/312045-atheros-wireless-driver-os-x-101112-for-unsupported-cards/page/2/#findComment-2274288 Share on other sites More sharing options...
Liankao Posted September 7, 2016 Share Posted September 7, 2016 AR9565 ubuntu@ubuntu:~$ sudo inxi -Fx | grep Wireless Card-2: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter driver: ath9k bus-ID: 02:00.0 Hi, @Bogdacutu I also have similar problem with my card QCA9565 / AR9565 (300Mbps, aka WB335). The maximum download and upload speed are both about 5 mbps, but in windows the speed is at least 50 mbps. Have you found any solution? Thank you. Link to comment https://www.insanelymac.com/forum/topic/312045-atheros-wireless-driver-os-x-101112-for-unsupported-cards/page/2/#findComment-2274675 Share on other sites More sharing options...
vusun123 Posted September 7, 2016 Share Posted September 7, 2016 It would be nice if someone can post the plist editing or kext to patch, that would be great for non-developer people 1 Link to comment https://www.insanelymac.com/forum/topic/312045-atheros-wireless-driver-os-x-101112-for-unsupported-cards/page/2/#findComment-2274765 Share on other sites More sharing options...
Bogdacutu Posted September 10, 2016 Share Posted September 10, 2016 Hi, @Bogdacutu I also have similar problem with my card QCA9565 / AR9565 (300Mbps, aka WB335). The maximum download and upload speed are both about 5 mbps, but in windows the speed is at least 50 mbps. Have you found any solution? Thank you. Nope, I have noticed though that on some networks it works fine (for example, if I make a hotspot with my phone, I get the speeds I'm supposed to get). I planned to write my own driver to get rid of this issue, and even got send/receive working as well as it does on Windows/Linux, but all the Airport stuff is closed source (not that it's necessarily an issue, but my driver doesn't unload cleanly anymore if I switch from IOEthernetController to IO80211Controller :/ ), so I'm not going any further with that right now. Link to comment https://www.insanelymac.com/forum/topic/312045-atheros-wireless-driver-os-x-101112-for-unsupported-cards/page/2/#findComment-2276506 Share on other sites More sharing options...
TheRacerMaster Posted September 11, 2016 Share Posted September 11, 2016 Nope, I have noticed though that on some networks it works fine (for example, if I make a hotspot with my phone, I get the speeds I'm supposed to get). I planned to write my own driver to get rid of this issue, and even got send/receive working as well as it does on Windows/Linux, but all the Airport stuff is closed source (not that it's necessarily an issue, but my driver doesn't unload cleanly anymore if I switch from IOEthernetController to IO80211Controller :/ ), so I'm not going any further with that right now. Interested in this. Have you seen Voodoo80211? It has reverse engineered IO80211Family headers up to 10.7 (although I'm not sure if the 10.7 ones work, the 10.6 ones do though). Link to comment https://www.insanelymac.com/forum/topic/312045-atheros-wireless-driver-os-x-101112-for-unsupported-cards/page/2/#findComment-2276587 Share on other sites More sharing options...
4520s Posted September 11, 2016 Share Posted September 11, 2016 I have AR9565 that Used to work fine on ElCapitan. But it doesnt work on 10.12 Sierra. How do I make it work on Sierra? Link to comment https://www.insanelymac.com/forum/topic/312045-atheros-wireless-driver-os-x-101112-for-unsupported-cards/page/2/#findComment-2276647 Share on other sites More sharing options...
Bogdacutu Posted September 11, 2016 Share Posted September 11, 2016 Interested in this. Have you seen Voodoo80211? It has reverse engineered IO80211Family headers up to 10.7 (although I'm not sure if the 10.7 ones work, the 10.6 ones do though). I have, and there's also this for 10.9: http://www.insanelymac.com/forum/topic/292645-guide-surfacepro-1-2-osx-android-windows-multiboot/?p=2017083. Of course, they don't work on 10.11 either, but they aren't particularly difficult to bring up to date, as all the function names are exported and include C++ argument info, and the virtual method tables are exported too. I'm fairly certain though the the headers I've made are correct, as the linker used to complain before if they weren't, plus right now my issue isn't that they don't work, it's that corecapture keeps a reference to my IO80211Controller, so I can't iterate quickly anymore because I'd need to reboot for every change, which I don't want to do. I suspect that corecapture doesn't release the instance because it's being retained by something from userspace, but I have no idea how to debug that. Link to comment https://www.insanelymac.com/forum/topic/312045-atheros-wireless-driver-os-x-101112-for-unsupported-cards/page/2/#findComment-2276670 Share on other sites More sharing options...
4520s Posted September 11, 2016 Share Posted September 11, 2016 Any plans to update the kext for 10.12 sierra? Link to comment https://www.insanelymac.com/forum/topic/312045-atheros-wireless-driver-os-x-101112-for-unsupported-cards/page/2/#findComment-2276836 Share on other sites More sharing options...
4520s Posted September 11, 2016 Share Posted September 11, 2016 Ok so I boot verbose and found out that your version of io80211family uses some headers that were not present in sierra. Ran kextlibs on the kext from sierra and then from el capitan on another machine. The absent headers were in corecapture so I used the corecapture kext from el capitan and now the wifi works. I would however love to have a more permanent solution like an injector or clover patch. Again thanks for the great work. 1 Link to comment https://www.insanelymac.com/forum/topic/312045-atheros-wireless-driver-os-x-101112-for-unsupported-cards/page/2/#findComment-2277006 Share on other sites More sharing options...
Jhowww Posted September 17, 2016 Share Posted September 17, 2016 Doesn't working on 10.11.6 :/ How do i this patch with Clover or something? Edit: I've found this kext on YouTube and works fine on 10.11.6 (AR9565): IO80211Family.kext.zip Link to comment https://www.insanelymac.com/forum/topic/312045-atheros-wireless-driver-os-x-101112-for-unsupported-cards/page/2/#findComment-2279677 Share on other sites More sharing options...
haimann951 Posted September 18, 2016 Share Posted September 18, 2016 @jalavoui yes, I enabled bluetooth with BTFirmwareUploader Also, in case this helps, I made 2 text files of which bytes I patched (excluding ucode) and a text file of the ucode I patched in. Hope this makes it easier to look at my rx/tx patch. Looking into diff-patch12.txt, how did you patch the binary exactly? Example: AirPortAtheros40 -> AirPortAtheros40-patch12 addr val1 val2 desc -------------------------------------------------------------- 472261 342 56 <-- _ath_hal_probe jump 472262 0 1 <-- _ath_hal_probe jump 472766 60 64 <-- _ath_hal_attach dev id 472914 60 64 <-- _ath_hal_attach dev id The value on the left is the hex address. What do val1 and 2 mean? Thank you Link to comment https://www.insanelymac.com/forum/topic/312045-atheros-wireless-driver-os-x-101112-for-unsupported-cards/page/2/#findComment-2280130 Share on other sites More sharing options...
ReddestDream Posted September 18, 2016 Share Posted September 18, 2016 The value on the left is the hex address. What do val1 and 2 mean? Thank you They are the values before (val 1) and after (val 2) the patch. Link to comment https://www.insanelymac.com/forum/topic/312045-atheros-wireless-driver-os-x-101112-for-unsupported-cards/page/2/#findComment-2280195 Share on other sites More sharing options...
haimann951 Posted September 19, 2016 Share Posted September 19, 2016 They are the values before (val 1) and after (val 2) the patch. Weird, when checking the binary at those addresses there are always different values. Neither val1 or val2. They seem to have a different meaning or I'm using the wrong hex editor. Link to comment https://www.insanelymac.com/forum/topic/312045-atheros-wireless-driver-os-x-101112-for-unsupported-cards/page/2/#findComment-2280450 Share on other sites More sharing options...
coolstarorg Posted September 20, 2016 Share Posted September 20, 2016 Weird, when checking the binary at those addresses there are always different values. Neither val1 or val2. They seem to have a different meaning or I'm using the wrong hex editor. The address at the left are actually in decimal format, not in hex. Make sure you put the address in "dec" format in your hex editor. Also, we were working on the kext from 10.11.5. I have updated most of the patches for 10.12 here but I can't get the kext to connect to wifi networks yet, although it does scan successfully. I'll have to run some more tests and see. Link to comment https://www.insanelymac.com/forum/topic/312045-atheros-wireless-driver-os-x-101112-for-unsupported-cards/page/2/#findComment-2280771 Share on other sites More sharing options...
vusun123 Posted September 21, 2016 Share Posted September 21, 2016 The address at the left are actually in decimal format, not in hex. Make sure you put the address in "dec" format in your hex editor. Also, we were working on the kext from 10.11.5. I have updated most of the patches for 10.12 here but I can't get the kext to connect to wifi networks yet, although it does scan successfully. I'll have to run some more tests and see. In any case, can you write a kext to patch or plist edit for us non-developer ? It will be great Link to comment https://www.insanelymac.com/forum/topic/312045-atheros-wireless-driver-os-x-101112-for-unsupported-cards/page/2/#findComment-2281048 Share on other sites More sharing options...
mashny Posted September 25, 2016 Share Posted September 25, 2016 Ok so I boot verbose and found out that your version of io80211family uses some headers that were not present in sierra. Ran kextlibs on the kext from sierra and then from el capitan on another machine. The absent headers were in corecapture so I used the corecapture kext from el capitan and now the wifi works. I would however love to have a more permanent solution like an injector or clover patch. Again thanks for the great work. Can you pass me your corecapture.kext ? Link to comment https://www.insanelymac.com/forum/topic/312045-atheros-wireless-driver-os-x-101112-for-unsupported-cards/page/2/#findComment-2285100 Share on other sites More sharing options...
4520s Posted September 28, 2016 Share Posted September 28, 2016 Can you pass me your corecapture.kext ? Yeah sure. Update: I am unable to upload the file somehow Link to comment https://www.insanelymac.com/forum/topic/312045-atheros-wireless-driver-os-x-101112-for-unsupported-cards/page/2/#findComment-2287428 Share on other sites More sharing options...
Recommended Posts