device-logs icon indicating copy to clipboard operation
device-logs copied to clipboard

Intel(R) Wireless-AC 9560

Open lvs1974 opened this issue 5 years ago • 93 comments

Hello, tried this driver, here is an log output: dmesg.txt

Everything looks ok, but there is no available wi-fi device in mac os.

lvs1974 avatar Feb 23 '20 10:02 lvs1974

Looks like I need to revert one of the changes I made earlier- the log shows a regression. Thank you!

ellie-idb avatar Feb 24 '20 21:02 ellie-idb

@hatf0: I will be glad if my log can help somehow. Thank you!

lvs1974 avatar Feb 24 '20 21:02 lvs1974

With the latest commit (8ef98774e9b8d1f69139373511540c3bb84cb619) the driver works a bit better: Wi-Fi device is available in the system (and in Network preferences pane). I also tried to turn on/off wifi using menu bar icon, but it seems to be inconsistent with the current status in Network preferences pane. The problem is that device is displayed as "Turned off", and when I try to press this button, nothing happens. dmesg.txt Screenshot 2020-02-25 at 21 22 43

Thank you!

lvs1974 avatar Feb 25 '20 20:02 lvs1974

Same for me on Intel Wireless-AC 8265. Thank you!

vladdenisov avatar Feb 25 '20 21:02 vladdenisov

Still I don't really know how to make logs. But I managed to get some part of it. dmesg.txt Maybe it can help you somehow.

vladdenisov avatar Feb 25 '20 21:02 vladdenisov

@lvs1974 It seems that the Wi-Fi card still existing is an issue from running the other intel wifi kext- but otherwise your hardware does initialize properly.

ellie-idb avatar Feb 26 '20 03:02 ellie-idb

@vladdenisov That dmesg file doesn’t contain anything relating to the kext. But if it’s the same- be patient as change will come soon

ellie-idb avatar Feb 26 '20 03:02 ellie-idb

@vladdenisov: dmseg it is a cyclic buffer, it has a size 4096 bytes by default. In order to increase this size, you should add a boot-arg: msgbuf=1048576 (maximum size). @hatf0: I will try to remove these files from /Library/Preferences/SystemConfiguration/ and repeat: com.apple.airport.preferences.plist com.apple.network.identification.plist com.apple.wifi.message-tracer.plist NetworkInterfaces.plist

lvs1974 avatar Feb 26 '20 06:02 lvs1974

I also have Intel AC-9560, but i get kernel panic instead with this kext (built a few minutes ago). Could it be conflict between usb wi-fi and this or .kext for intel bt? log.panic.zip panic_after_load.txt

@lvs1974 can you share your kext?

tikscr avatar Feb 26 '20 10:02 tikscr

@tikscr: try to put your kext into /Library/Extensions, or load it in terminal via kextutil. I also had the same exception. It seems to be sporadic.

lvs1974 avatar Feb 26 '20 13:02 lvs1974

@lvs1974 i've put kext into /L/E - and system boots OK, kext is mentioned a lot of times in boot log, but it's missing from loaded kexts as well as wi-fi is still missing from my laptop. Loading via kextutil causes kernel panic a few seconds later. Also, kexutil mentions issue with sign of kext, maybe it's the main problem? btw, i've tried both release and debug configurations of build.

tikscr avatar Feb 26 '20 14:02 tikscr

I don't really know if this log is helpful, but i've tried to follow lvs1974 instructions :/ dmesg.txt

Intel(R) Dual Band Wireless AC 8265.

vladdenisov avatar Feb 26 '20 15:02 vladdenisov

You can use the following command for a cleaner log. log show --last boot --predicate 'process == "kernel"' | grep -i intel > ~/Desktop/log.txt @tikscr Signing shouldn't be a problem as long as you have SIP for unsigned kexts off. The kext isn't up to the point where it'll show up as a network interface yet. Back when I built it, (xcodebuild from Terminal) I had to use the release version, not the debug version, for the proper code to run. Haven't built it recently so I don't know whether hatf0 has fixed the issue.

dhinakg avatar Feb 26 '20 15:02 dhinakg

@dhinakg well, in my case (dell g5, ac-9560) release version ( i built it by xcodebuild) causes kernel panic in every case i've tried (kextutil, kextload, l/e and clover/kexts/other). Debug version seems to be not working at all. Release version without last commit acts the same way. All comands i do are:

  • git clone
  • xcodebuild
  • fix permissions with command from project's readme

I think, that either my kext is not 100% correct or there might be some conflict with other kexts.

tikscr avatar Feb 26 '20 16:02 tikscr

@tikscr I know why. The problem with developing this is that there’s not a clear distinction between memory which has been allocated through allocatePacket and memory that’s been allocated with IOAlloc, and I assume I missed a place where memory is actually allocated from such- your panic log shows this. Sadly it’s not as simple as calling free() for everything :(

I’ll take a look and see where it’s panicking though.

ellie-idb avatar Feb 26 '20 21:02 ellie-idb

how about AC 3160? whare can I get kext file and how to install it?

tran-steve avatar Feb 28 '20 01:02 tran-steve

I'm also having trouble with AC 9560 (M2 Key E/M intergrated)

  1. First try is to install kext in EFI/OC/Kexts (OpenCore) => Kernel Panic Kernel_2020-02-29-000555_XXX.panic.txt

  2. Second try with kextload -v => Its create new Ethernet en2 interface AppleIntelWifiAdapter-log-try2.txt

  3. Third try with kextload : after using kext unload and remove plists in SystemConfiguration as @lvs1974 mention (other files not found so I've only removed two files: com.apple.airport.preferences.plist & NetworkInterfaces.plist) => Its create new Ethernet en2 interface again AppleIntelWifiAdapter-log-try3.txt

Hope these information will be helpful

taina0407 avatar Feb 28 '20 17:02 taina0407

Same here it's creating Ethernet en1 interface. I tried to unload kext and reloaded again but still, the problem persists.

Here my log. log.txt

Timothybas avatar Mar 13 '20 08:03 Timothybas

Same here even with latest commits. Tried to load and unload kext 3 times.

Intel(R) Dual Band Wireless AC 8265. log.txt

vladdenisov avatar Mar 13 '20 08:03 vladdenisov

@vladdenisov is that worked with earlier commits?

Timothybas avatar Mar 13 '20 09:03 Timothybas

@Timothybas nope. It didn't.

vladdenisov avatar Mar 13 '20 09:03 vladdenisov

@vladdenisov @Timothybas This is intended behavior. I'm still decently within the card initialization phase and have to continually unload and reload the kext in order to develop. This isn't possible with the IO80211Controller, as there's a release loop or something within CoreWLAN. My bet is that Apple wouldn't even attempt to fix it either, and we're probably going to build two different versions of the kext.

ellie-idb avatar Mar 13 '20 16:03 ellie-idb

@hatf0 Great improvement. Now it's listed as WiFI in network settings but not searching any devices here is my log.txt (May help you to debug the issue)

Timothybas avatar Mar 22 '20 02:03 Timothybas

Latest version of kext doesn't load on AC-9560. OS version - 10.15.4 log.txt It says, that library kext com.apple.iokit.IO80211Family not found. But OS doesn't have this kext neither in S/L/E or L/E/ @hatf0 UPDATE: Somehow, on my hackintosh SIP was enabling on it's own and i couldn't load that kext. But as of now (27.03.20),after correctly disabled SIP, kext doesn't load on boot (i put it in clover). The only way to load it is to use kextutil in terminal.

tikscr avatar Mar 26 '20 12:03 tikscr

Preference unknown state issue fixed but not searching WiFi networks around (Tested with 2G)
Screenshot 2020-03-27 at 1 31 30 PM Uploading log.txt…

Timothybas avatar Mar 27 '20 08:03 Timothybas

I have the same (yellow) state (the latest revision 5526d3ba0546fc6690fec19b130e8dbe184c98a1). And I don't see any SSID names neither in Wi-Fi menu nor in log. dmesg.txt.zip

lvs1974 avatar Mar 27 '20 08:03 lvs1974

Hello! That's good a progress! Can now see networks around me in log, but not in preferences. Intel(R) Wireless-AC 8265 Thank you! log.txt

vladdenisov avatar Mar 27 '20 11:03 vladdenisov

@hatf0, could you have a look at my log, please? With the latest commit 9297292d57516266239aa02f4549fa7502bd70b9 still there are no network names. log.txt

lvs1974 avatar Mar 29 '20 09:03 lvs1974

unknown state issue is back with the recent commit and as @lvs1974 told no networks in both panel and logs.

Timothybas avatar Mar 30 '20 02:03 Timothybas

Your card unfortunately crashes while scanning... I’ll make an issue for this, but this is a known issue and @1Revenger1 has brought this to my attention as well. There’s sadly a variety of things it could be.. ERR: Microcode SW error detected. Restarting 0x2000000

ellie-idb avatar Mar 31 '20 14:03 ellie-idb