Skip to content
This repository has been archived by the owner on Nov 21, 2020. It is now read-only.

Intel(R) Wireless-AC 9560 #1

Open
lvs1974 opened this issue Feb 23, 2020 · 93 comments
Open

Intel(R) Wireless-AC 9560 #1

lvs1974 opened this issue Feb 23, 2020 · 93 comments

Comments

@lvs1974
Copy link

lvs1974 commented Feb 23, 2020

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.

@ellie-idb
Copy link
Member

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

@lvs1974
Copy link
Author

lvs1974 commented Feb 24, 2020

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

@lvs1974
Copy link
Author

lvs1974 commented Feb 25, 2020

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!

@vladdenisov
Copy link

vladdenisov commented Feb 25, 2020

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

@vladdenisov
Copy link

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.

@ellie-idb
Copy link
Member

@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
Copy link
Member

@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

@lvs1974
Copy link
Author

lvs1974 commented Feb 26, 2020

@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

@tikscr
Copy link

tikscr commented Feb 26, 2020

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?

@lvs1974
Copy link
Author

lvs1974 commented Feb 26, 2020

@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.

@tikscr
Copy link

tikscr commented Feb 26, 2020

@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.

@vladdenisov
Copy link

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.

@dhinakg
Copy link
Contributor

dhinakg commented Feb 26, 2020

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.

@tikscr
Copy link

tikscr commented Feb 26, 2020

@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.

@ellie-idb
Copy link
Member

@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.

@tran-steve
Copy link

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

@taina0407
Copy link

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

@Timothybas
Copy link

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

@vladdenisov
Copy link

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

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

@Timothybas
Copy link

@vladdenisov is that worked with earlier commits?

@vladdenisov
Copy link

@Timothybas nope. It didn't.

@ellie-idb
Copy link
Member

@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.

@Timothybas
Copy link

Timothybas commented Mar 22, 2020

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

@tikscr
Copy link

tikscr commented Mar 26, 2020

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.

@Timothybas
Copy link

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…

@lvs1974
Copy link
Author

lvs1974 commented Mar 27, 2020

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

@vladdenisov
Copy link

vladdenisov commented Mar 27, 2020

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

@lvs1974
Copy link
Author

lvs1974 commented Mar 29, 2020

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

@Timothybas
Copy link

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

@ellie-idb
Copy link
Member

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

@Timothybas
Copy link

Yeah it's strange it was fine before few days

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
Copy link

Now that issue is back.(after this commit)

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

@lvs1974
Copy link
Author

lvs1974 commented Apr 5, 2020

@hatf0, @1Revenger1: with the latest commit (65a93bf530c06c4dd1d3ef5b12b5afbe04dece6a) I have got a kernel panic. Could you have a look, please?
AppleIntelWifiAdapterV2_panic.txt
AppleIntelWifiAdapterV2.kext.zip

@ellie-idb
Copy link
Member

My bad, this is related to the new flow with 802.11. Will fix soon @lvs1974

@ellie-idb
Copy link
Member

@lvs1974 I've just pushed a commit that tries to fix this, can you take a look?
Please note: if you try to join a network, scanning will NOT work until you remove that network from your Auto-Join list. I need to implement the code that makes that work.

@esemiz
Copy link

esemiz commented Apr 6, 2020

I have Intel AC-9560, but I got "Driver failed to start" message.
Can you check the log file ?

log.txt

@1Revenger1
Copy link

1Revenger1 commented Apr 6, 2020

@esemiz did you reboot from windows? A warm reboot from windows breaks firmware uploading it seems.
Need to do a full shutdown then startup if coming from windows

Edit: Documented here
AppleIntelWifi/adapter#24

@Timothybas
Copy link

Timothybas commented Apr 6, 2020

@hatf0 @1Revenger1 any good news for CNVi card users?

Edit: Still I can see AppleIntelWifiAdapter ERR: Microcode SW error detected. Restarting 0x2000000.

@lvs1974
Copy link
Author

lvs1974 commented Apr 6, 2020

@hatf0, @1Revenger1, with the latest driver my wi-fi does not work.
Yesterday I boot into Windows and install a few updates, one of them was for Wi-Fi card.
Can it be related?
log.txt

@esemiz
Copy link

esemiz commented Apr 6, 2020

@esemiz did you reboot from windows? A warm reboot from windows breaks firmware uploading it seems.
Need to do a full shutdown then startup if coming from windows

Edit: Documented here
AppleIntelWifi/adapter#24

Yes you're right full shutdown fix that problem thank you.

I can see WiFi interface to network settings. When I try to connect my home's wifi network sometimes it says move closer. I am already very close to wifi device. Sometimes it says network cant found. Added screenshots and log file.

Removed my home's wifi from auto-join list before trying to connect.

log.txt.zip
Screen Shot 2020-04-06 at 22 46 55
Screen Shot 2020-04-06 at 22 48 25

@mehmetyukcell
Copy link

Yes, I have a same problem too.

@dhinakg
Copy link
Contributor

dhinakg commented Apr 6, 2020

That means it's working fine. The kext can't connect to networks yet, scanning is as far as it's gone.

@tikscr
Copy link

tikscr commented Apr 8, 2020

I've finally managed to make driver work properly on my system. And it seems, that driver randomly shows networks in scanning results and ignores 2.4 ghz networks (but they are present in log of scanning).
log.txt
UPDATE: it seems, that recognizing 2.4 ghz networks takes a little bit more time.

@mehmetyukcell
Copy link

I've finally managed to make driver work properly on my system. And it seems, that driver randomly shows networks in scanning results and ignores 2.4 ghz networks (but they are present in log of scanning).

log.txt

Hımm, Hi Dear Tikscr, I have some device(9560ac) on the catalina 10.15.4, but have some problems which not connect Wifi ssid

@tikscr
Copy link

tikscr commented Apr 8, 2020

@mehmetyukcell driver doesn't support connecting to networks yet.

@mehmetyukcell
Copy link

@mehmetyukcell driver doesn't support connecting to networks yet.

Yes, thanks

@rdmitry0911
Copy link

@esemiz did you reboot from windows? A warm reboot from windows breaks firmware uploading it seems.
Need to do a full shutdown then startup if coming from windows

Edit: Documented here
AppleIntelWifi/adapter#24
Hi I have the same issue. Driver fails to start. I tried full shutdown, power disconnecting, rebooting from linux. Tried kext from the repository and built it myself. Nothing works.
iwllog.txt

@rdmitry0911
Copy link

rdmitry0911 commented Apr 25, 2020

@esemiz did you reboot from windows? A warm reboot from windows breaks firmware uploading it seems.
Need to do a full shutdown then startup if coming from windows
Edit: Documented here
AppleIntelWifi/adapter#24
Hi I have the same issue. Driver fails to start. I tried full shutdown, power disconnecting, rebooting from linux. Tried kext from the repository and built it myself. Nothing works.
iwllog.txt

I tried itlwm driver from a sister repository. I built it and load it. The driver loads and makes scanning. It correctly determines all the networks , but doesn't connect to the Redmi network for a reason I don't know. But at least it communicates with the hardware. And it loads and makes scanning despite everything and after windows soft reboot also.

@cateatlemon
Copy link

cateatlemon commented Apr 27, 2020

显示打不开wifi,Mac os 10.15.4,AC-9560
截屏2020-04-27 09 25 44
截屏2020-04-27 09 54 36

@mehmetyukcell
Copy link

显示打不开wifi,Mac os 10.15.4,AC-9560

截屏2020-04-27 09 25 44

截屏2020-04-27 09 54 36

Do you connect wifi adress?

@colcrunch
Copy link

After cloning the repo and building the kext I got it to load, but I am only seeing one or two networks at a time.

OS: Catalina 10.15.4
Intel 9560 8086:0034

log.txt

@larson-carter
Copy link

@hatf0 So what is the status of this driver? Will I be able to use it with my laptop? Is it completely stable for me to join and use my WiFi network?

@dhinakg
Copy link
Contributor

dhinakg commented May 16, 2020

@larson-carter
Copy link

@dhinakg What are you wanting me to gather from that? I just asked what the status of this particular device was? I know some people are having mixed results.

@dhinakg
Copy link
Contributor

dhinakg commented May 16, 2020

Given the sentence

This kext does not function yet.

in the README, the prior comments in this issue, and the lack of recent commits since those comments, I believe it is fairly easy to come to the conclusion that it does not work yet.

@familygw
Copy link

familygw commented Jun 3, 2020

Mother Gigabyte Z390 Aorus Pro Wifi (Wireless Wireless-AC 9560), driver loads fine apparently
with no issues. Here is my logs (with SSID connection attempts).

log.txt

Great job!

@mehmetyukcell
Copy link

Mother Gigabyte Z390 Aorus Pro Wifi (Wireless Wireless-AC 9560), driver loads fine apparently

with no issues. Here is my logs (with SSID connection attempts).

log.txt

Great job!

Congratulations! Great Job? Please can you share the kext or method

@familygw
Copy link

familygw commented Jun 3, 2020

Mother Gigabyte Z390 Aorus Pro Wifi (Wireless Wireless-AC 9560), driver loads fine apparently
with no issues. Here is my logs (with SSID connection attempts).
log.txt
Great job!

Congratulations! Great Job? Please can you share the kext or method

Hi, I just opened Xcode and compile the project; then changed the permissions and load the kext using "kextload -b 6" command.

Now, I tried to load again face the following message: "AppleIntelWifiAdapter ERR: SecBoot CPU1 Status: 0x30d0001, CPU2 Status: 0x2"

log.txt

@nerdywoffy
Copy link

nerdywoffy commented Jun 20, 2020

Hello, i have this Wireless Card on my Device and i can confirm it works (i'm using Debug build from commit 6219dd370), but however i can't see any SSID (i can see it but it somehow missing again after several minutes) or even connect (even using Hidden SSID)

log.txt

@talb10
Copy link

talb10 commented Jul 28, 2020

hi there,
i have the Intel AC 9560 wifi chip but i couldnt create the kext.
i would like some help with download/create it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests