Jump to content
Welcome to InsanelyMac Forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.


  • Content count

  • Joined

  • Last visited

About coolstarorg

  • Rank
    InsanelyMac Protégé
  1. @chunnan very nice, the kext does work (even on a cold boot) on AR9462 on macOS Sierra. Something interesting I noticed, however is that it frequently either disconnects or switches bands... I'll check the ucodes on my end and see what patches you've made to see if I can try fixing it any way I can
  2. Would you mind also uploading the original unpatched kext you used to make this so that I can get diff's of the patches that you've made? Still messing with my AR9462 here trying to get mine working on 10.12...
  3. ALC236 patch needed

    Sleep/wake is now working well thank you! However, I have noticed a problem with the headphones not working properly on cold boot until I sleep/wake. I have loaded an SSDT for CodecCommander, which seems to be what is fixing it on sleep/wake. Any ideas? DefinitionBlock ("iASLA47JHk.aml", "SSDT", 8, "hack", "ALC236", 0x00000000) { Name (_SB.PCI0.HDEF.RMCF, Package (0x02) { "CodecCommander", Package (0x0A) { "Custom Commands", Package (0x03) { Package (0x00) {}, Package (0x08) { "Command", Buffer (0x04) { 0x01, 0x47, 0x08, 0x83 /* .G.. */ }, "On Init", ">y", "On Sleep", ">n", "On Wake", ">y" }, Package (0x08) { "Command", Buffer (0x04) { 0x02, 0x17, 0x08, 0x83 /* .... */ }, "On Init", ">y", "On Sleep", ">n", "On Wake", ">y" } }, "Perform Reset", ">n", "Perform Reset on External Wake", ">y", "Send Delay", 0x0A, "Sleep Nodes", ">n" } }) }
  4. ALC236 patch needed

    Need an AppleHDA patch for ALC236 on my Lenovo Flex 3. I have dumped the codec info from Linux. I have tried Jake Lo's existing patch, however it does not work properly -- the mute button is completely nonfunctional and sleep/wake breaks with his patch. VoodooHDA does not have the problems with mute or sleep/wake, but USB headphones don't work properly when VoodooHDA is installed. codec_dump.txt
  5. I have played around with the 10.12 AirportAtheros40 kext... I updated the current patches and inserted the microcode for AR9462. However, while the kext on 10.12 is able to successfully scan for networks, it fails to connect to any of them :/ Something definitely changed from 10.11 -> 10.12 which broke what patches we have, so we might need to patch more to get it to actually connect.
  6. If you plan on open sourcing your work, I would definitely be interested in contributing
  7. 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.
  8. @bogdacutu which wireless card are you using? Are you using AR9462 or AR9565?
  9. @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.
  10. i2c-hid touchscreens, trackpads and more

    Confirming success here on the Acer C720 and Acer C740 chromebooks. Trackpads now have (non-native) multitouch over the proprietary Elan/Cypress interfaces over i2c with VoodooI2C.
  11. @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?
  12. @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. diff-patch12.txt ucode patch summary.txt
  13. @jalavoui how did you patch the ucodes in rx/tx? I found the address it loads the ucodes from, but I didn't see any length parameter I could patch/change...
  14. Working binary for AR9462 MacRev 2. Tested on Acer C720 chromebook. Fully working 2.4 Ghz and 5 Ghz WiFi. Modify Info.plist to switch 168c:30 id to 168c:34. Does not work on a cold boot. Boot into Windows and then warm reboot into OS X for working wifi. Place binary in /System/Library/Extensions/IO80211Family.kext/Contents/Plugins/AirPortAtheros40.kext/Contents/MacOS/ as AirPortAtheros40. Current issues: Sleep/Resume kills wifi WiFi doesn't work on a cold boot. Only when warm rebooting from Windows or Linux System sometimes freezes when connecting to a 2.4 Ghz network [fixed in patch12] Download appears to have slower than normal speeds than Windows/Linux (maxes at 100 mbit instead of 200 mbit), although upload seems to be fine. If you run into issues with wifi on this kext, please use IORegistryExplorer, find "AirPort_AtherosNewma40" and get its en0's IO80211HardwareVersion and include its contents with the message. Changelog: * patch10 - initial version verified working for 5 ghz * patch11 - remove several 0x200 -> 0x280 changes to use code for 0x1C0 instead * patch12 - set correct locale code (FCC) instead of JP to fix 2.4 Ghz freezing AirPortAtheros40-patch10 AR9462 MacRev 2.zip AirPortAtheros40-patch12 AR9462 MacRev 2.zip
  15. Got partial success on AR9462! I managed to get working 5 ghz. The card thinks it's in Japan for some reason. It connects and is stable on 5 ghz. For some reason the system freezes sometimes on 2.4 Ghz. The freezing is intermittent and only seems to be on 2.4 ghz, not 5 ghz. Also, for some reason the card doesn't scan networks on a cold boot. I have to boot into Windows/Linux and do a warm reboot from Windows/Linux into OS X to have working wifi. Update: Fixed 2.4 Ghz freezing. Just had to change country code from JP to FCC.