Xigtun / xps-9570-mojave

98 stars 26 forks source link

Help needed with getting DW1830 to work #26

Open jvdtoorn opened 5 years ago

jvdtoorn commented 5 years ago

Hi Xigtun,

Thank you so much for this GitHub page! I learned a lot from your setup and my XPS 9570 is becoming a better hackintosh each day.

My main problem is with the DW1830 wifi card. I installed it in my laptop, but in both Windows and in macOS I encounter issues: In Windows, the single-solution driver just fails, and the extractor installer (where you have to install a .inf file) freezes Windows when it try to install it (after a reboot the card is still not working)... In macOS, I can see that the wifi card detects nearby networks, but as soon as I connect to one, Mojave freezes and I have to reboot my computer...

I know the DW1830 is not faulty because I successfully got it working in Windows 10 on a Dell Latitude 5280 (using the .inf install)

Did you got any of the same problems as I have, and if so, how did you solve them?

Thank you!

bavariancake commented 5 years ago

I know the DW1830 is not faulty because I successfully got it working in Windows 10 on a Dell Latitude 5280 (using the .inf install)

It might be a faulty card, since you shouldn't have to do anything for Windows to recognize and use the DW1830. Otherwise try removing custom drivers you installed and test.

eamigo86 commented 5 years ago

Hi @julespalles, any progress with this problem? I have a similar problem with a DW1560 card, it appears disabled in windows and mac, and I can not turn it on.

attilagyorffy commented 5 years ago

@julespalles @eamigo86 I have a DW1830 in my machine and it's fully working. BT and wireless with Continuity altogether. Once I'm at home, I can show you what I have in my config.plist and the relevant kexts too.

jvdtoorn commented 5 years ago

@attilagyorffy is your DW1830 also fully working in Windows? If so, what is your Windows build version, and how did you get it working?

attilagyorffy commented 5 years ago

@julespalles I don't use Windows actually so I can't comment on that I'm afraid.

jvdtoorn commented 5 years ago

Okay, too bad. Could you share your EFI folder?

attilagyorffy commented 5 years ago

Okay, too bad. Could you share your EFI folder?

Here are the kexts I use in EFI:

❯ ll ./CLOVER/kexts/Other/
total 12
drwxrwxrwx  1 attila  staff   512B Feb  1 18:19 ACPIBatteryManager.kext
drwxrwxrwx  1 attila  staff   512B Feb  1 18:19 AppleALC.kext
drwxrwxrwx  1 attila  staff   512B Feb  1 18:19 AppleBacklightInjector.kext
drwxrwxrwx  1 attila  staff   512B Feb  1 18:19 ApplePS2SmartTouchPad 4.7beta5.kext
drwxrwxrwx  1 attila  staff   512B Feb  1 18:19 BT4LEContiunityFixup.kext
drwxrwxrwx  1 attila  staff   512B Feb  1 18:19 BrcmFirmwareData.kext
drwxrwxrwx  1 attila  staff   512B Feb  1 18:19 BrcmPatchRAM2.kext
drwxrwxrwx  1 attila  staff   512B Feb  1 18:19 FakeSMC.kext
drwxrwxrwx  1 attila  staff   512B Feb  1 18:19 Lilu.kext
drwxrwxrwx  1 attila  staff   512B Feb  1 18:19 VoodooI2C.kext
drwxrwxrwx  1 attila  staff   512B Feb  1 18:19 VoodooI2CHID.kext
drwxrwxrwx  1 attila  staff   512B Feb  1 18:19 WhateverGreen.kext

❯ ll ./CLOVER/drivers64UEFI/
total 1213
-rwxrwxrwx  1 attila  staff   8.3K Feb  1 18:19 ApfsDriverLoader-64.efi
-rwxrwxrwx  1 attila  staff    37K Feb  1 18:19 AptioMemoryFix-64.efi
-rwxrwxrwx  1 attila  staff    43K Feb  1 18:19 AudioDxe.efi
-rwxrwxrwx  1 attila  staff   492K Feb  1 18:19 BootChimeDxe.efi
-rwxrwxrwx  1 attila  staff    24K Feb  1 18:19 HFSPlus.efi

/Library/Extensions contains the following:

❯ ll /Library/Extensions/
total 0
drwxr-xr-x  3 root  wheel    96B Apr 24  2018 ACS6x.kext
drwxr-xr-x  3 root  wheel    96B May  8  2018 ATTOCelerityFC8.kext
drwxr-xr-x  3 root  wheel    96B May  7  2018 ATTOExpressSASHBA2.kext
drwxr-xr-x  3 root  wheel    96B May  7  2018 ATTOExpressSASRAID2.kext
drwxr-xr-x  3 root  wheel    96B Sep  6  2017 ArcMSR.kext
drwxr-xr-x  3 root  wheel    96B Sep  1  2013 CalDigitHDProDrv.kext
drwxr-xr-x  3 root  wheel    96B Oct  5 19:34 EnergyDriver.kext
drwxr-xr-x  3 root  wheel    96B Dec 13 14:41 FileProtect.kext
drwxr-xr-x  3 root  wheel    96B May  4  2018 HighPointIOP.kext
drwxr-xr-x  3 root  wheel    96B Dec  5  2017 HighPointRR.kext
drwxr-xr-x  3 root  wheel    96B Mar 31  2017 PromiseSTEX.kext
drwxr-xr-x  3 root  wheel    96B Nov 28 15:26 SelfProtect.kext
drwxr-xr-x  3 root  wheel    96B Apr 25  2018 SoftRAID.kext
drwxr-xr-x  3 root  wheel    96B Dec 13 14:41 TMProtection.kext

With regards to the EFI folder, I've been given exact instructions to keep kexts in there, for the reasons I I still yet have to uncover. There are a bunch of counterarguments which tell you to move kexts into /Library/Extensions instead so I'm going to discover what happens when I move kexts from EFI to the /Library/Extensions directory.

LuletterSoul commented 5 years ago

@attilagyorffy is your DW1830 also fully working in Windows? If so, what is your Windows build version, and how did you get it working?

Hey,do you figure out this issue? I have the same issue like this.I switched two cards for the testing.The first one both makes Windows and Mojave freeze after connecting WIFI for about 10s. And the second one alse freezes,but the condition is random(somtimes 20min,sometime 1~2h). It turns out that the card works for a while in my XPS 9570. My BIOS version is 1.7.0,maybe the BIOS causes the issue?I will roll back to 1.4.1/1.3.1(oringnal) and have a try now.

jvdtoorn commented 5 years ago

@LuletterSoul no, haven't figured it out yet. Right now I use a DW1560, but that doesn't work perfectly. Please let me know if downgrading your BIOS worked, or if you found another solution!

LuletterSoul commented 5 years ago

@julespalles Oh,bad news! I rolled BIOS back to 1.4 version,but it didn't figure out freezing issue. It will make Windows freeze in boot loading point(just the circle freezes,enter Windows failed.)I have to reboot it for several times. When I switched to Mojave system, as soon as it connect to a wifi network,it would be dead after about 5 mins. Now I have try three main ways:

  1. clean dirver and reinstall it in Windows.Update newest kext and put into CLOVER in Mojave,not work.
  2. downgrading BIOS from 1.7 to 1.4,failed again.
  3. Insert and extract DW1830,ok,freezes again. The wifi card seller said dual systems will cause this issue,it is ridiculous and bullshit I think,isn't it? My own conclusion is that I bought two "faulty cards",because DW1830 works fine in almost all XPS 9570 machines according to the Google searching result.And I don't have another machine for testing.I give up now and prepare to send it back to where it comes from.My new XPS is so suffering for this issue ,infinitely freeze and reboot. Maybe my machine do not support DW1830 ,I want to use a DW1560 instead. It will be appreciated if you provide some feedback information about DW1560!
jvdtoorn commented 5 years ago

@LuletterSoul first off, sorry for the late response.

Too bad that didn't work. I ordered a new DW1830, because maybe my first one was faulty.
However, when I installed it I got exactly the same freezing symptoms in macOS, and Windows would only recognize the bluetooth part of the card (which also was the case with the first DW1830).

The fact that others are actually getting the DW1830 to work in their XPS 9570 makes me believe that there's something wrong with our specific model of the XPS 9570...

Do you know someone else with a XPS 9570? It would be really helpful if you could try testing your DW1830 in their laptop, to see if my guess is correct.

As for the DW1560, it worked quite flawlessly after installing some kexts. Small details like continuity and personal hotspot are very buggy, but the wifi and bluetooth work fine.

LuletterSoul commented 5 years ago

@julespalles Thanks for your response and useful feedback. But now I make DW1830 work fine in my laptop.Believe it or not , it's much more simple than you can image!Here is my solution:

1.Reinstalled Mojave 10.14.3(I think it's no relevant to freezing symptoms because MacOS is dependently freezing.). 2.Ordered the third DW1830 and installed it!

BT supports AirDrop(Handoff haven't test yet) and wireless with continuity works well altogether.Dual systems also can be switched smoothly after figuring out freezing issuse.

BTW, I ordered the third DW1830 from another online shop owner who promises me it's produced by DELL factory.I have no evidence to prove that the previous shop delivered two faulty cards to me on purpose,but at least I confirm the truth as below: 1.My XPS 9570 surely supports DW1830, EFI configuration is all correct and kexts are compatible with the machine. 2.Freezing issue is not relevant to dual systems but faulty cards. 3.BIOS 1.7.0 or 1.5.0 version won't affect the functionality of DW1830. 4.There exists a compitable DW1830 to avoid freezing issue if all cards I tested were not faulty.As the fact you state,there's something wrong with our specific model of the XPS 9570 for special cards.On the contrary,there's a specific DW1830 which works well in our machines.

So it is strongly recommended that you order a new DW1830 from a somewhere new instead of the previous one.It makes no sense that you search so many solutions due to a faulty card! Hope everything is going well with you.

tofuliang commented 5 years ago

@julespalles Got the same issue like yours,I bought a DW1830 from xianyu. My 9570 is on BIOS V1.8.1, I can not drive DW1830 in Windows 10 using this , this and this . Original SSD is PM981,new SSD on its way. So,no Mac OS yet. @LuletterSoul Can you share your DW1830 seller?

LuletterSoul commented 5 years ago

@tofuliang Sure, see this: https://item.taobao.com/item.htm?spm=a230r.1.14.7.38907d3cqBWYfR&id=553072263222&ns=1&abbucket=3#detail.I ordered from the top sales before,then I bought the third card from below.I think cards in Xianyu are unreliable.

In Windows env, I installed the driver from the thrid party,like drivergenius....Office driver can not be installed my machine.

By the way, Samsung PM981 is not supported on Mojave 10.14.3 or other Mac OS version! NOTE THIS!Please try PM961 , 970 Pro , 970 EVO(Plus is also not supported.)

attilagyorffy commented 5 years ago

(For the record, I also had the PM961 and couldn't get through the install. Once I replaced it with a 970 EVO, it went through flawlessly)

M0CRT commented 5 years ago

Hi All

I'm having similar 'fun' too.

https://www.tonymacx86.com/threads/dw1830-mojave-lockup-issues.273484/

I've dropped the 1830 into my new Precision 7530 and it's locking up or, on the last one, crashing the wifi stack. Mine does seem to work from my Windows 10 partition though...although I only tested it for 10 minutes (OSX crashes between 5 seconds and 1 minute).

Any further thoughts?

Mo

dreamwhite commented 5 years ago

Is there any solution for my DW1830? I can't use the WiFi. If I click on the WiFi Icon it says "WiFi: No hardware Installed"...

bavariancake commented 5 years ago

Some of these DW1830's are probably not made by Dell and have issues. Try running in Windows for a day and rule out hardware issues with the card first. I would buy another compatible card at this point because these DW1830's are getting rather expensive, or they're not the real thing.

dreamwhite commented 5 years ago

Sorry Xigtun, Actually I've fixed the problem that I had with my dw1830. I think that I need to patch the DSDT. Thank u

On Wed, May 22, 2019, 1:46 PM Bavarian Cake notifications@github.com wrote:

Some of these DW1830's are probably not made by Dell and have issues. Try running in Windows for a day and rule out hardware issues with the card first. I would buy another compatible card at this point because these DW1830's are getting rather expensive, or they're not the real thing.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Xigtun/xps-9570-mojave/issues/26?email_source=notifications&email_token=AEI2LDBKXOZKRXKQL7SQJSLPWUXBXA5CNFSM4GRESI52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV6ZCAI#issuecomment-494768385, or mute the thread https://github.com/notifications/unsubscribe-auth/AEI2LDHVUH2U4DAGWOVNFBTPWUXBXANCNFSM4GRESI5Q .

bavariancake commented 5 years ago

@dreamwhite - please tell us what changes you made that did not work, and what changes you made that do work. It sounds like others are running into this problem as well, and that info would help them.

dreamwhite commented 5 years ago

Actually what I've done is putting AirportBrcmFixup.kext and Lilu.kext in Clover/kexts/other. It seems that by changing the DSDT with a new patched one it works. Try with DPCIManager and let me know.

For any info @dreamandcode on telegram :)

On Thu, May 23, 2019, 6:32 AM Bavarian Cake notifications@github.com wrote:

@dreamwhite https://github.com/dreamwhite - please tell us what changes you made that did not work, and what changes you made that do work. It sounds like others are running into this problem as well, and that info would help them.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Xigtun/xps-9570-mojave/issues/26?email_source=notifications&email_token=AEI2LDAMV73BQWJTZT5W74DPWYM63A5CNFSM4GRESI52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWBBDGA#issuecomment-495063448, or mute the thread https://github.com/notifications/unsubscribe-auth/AEI2LDHWHHCG4Z3D4JUPY3DPWYM63ANCNFSM4GRESI5Q .

kanelee commented 5 years ago

Okay, too bad. Could you share your EFI folder?

Here are the kexts I use in EFI:

❯ ll ./CLOVER/kexts/Other/
total 12
drwxrwxrwx  1 attila  staff   512B Feb  1 18:19 ACPIBatteryManager.kext
drwxrwxrwx  1 attila  staff   512B Feb  1 18:19 AppleALC.kext
drwxrwxrwx  1 attila  staff   512B Feb  1 18:19 AppleBacklightInjector.kext
drwxrwxrwx  1 attila  staff   512B Feb  1 18:19 ApplePS2SmartTouchPad 4.7beta5.kext
drwxrwxrwx  1 attila  staff   512B Feb  1 18:19 BT4LEContiunityFixup.kext
drwxrwxrwx  1 attila  staff   512B Feb  1 18:19 BrcmFirmwareData.kext
drwxrwxrwx  1 attila  staff   512B Feb  1 18:19 BrcmPatchRAM2.kext
drwxrwxrwx  1 attila  staff   512B Feb  1 18:19 FakeSMC.kext
drwxrwxrwx  1 attila  staff   512B Feb  1 18:19 Lilu.kext
drwxrwxrwx  1 attila  staff   512B Feb  1 18:19 VoodooI2C.kext
drwxrwxrwx  1 attila  staff   512B Feb  1 18:19 VoodooI2CHID.kext
drwxrwxrwx  1 attila  staff   512B Feb  1 18:19 WhateverGreen.kext

❯ ll ./CLOVER/drivers64UEFI/
total 1213
-rwxrwxrwx  1 attila  staff   8.3K Feb  1 18:19 ApfsDriverLoader-64.efi
-rwxrwxrwx  1 attila  staff    37K Feb  1 18:19 AptioMemoryFix-64.efi
-rwxrwxrwx  1 attila  staff    43K Feb  1 18:19 AudioDxe.efi
-rwxrwxrwx  1 attila  staff   492K Feb  1 18:19 BootChimeDxe.efi
-rwxrwxrwx  1 attila  staff    24K Feb  1 18:19 HFSPlus.efi

/Library/Extensions contains the following:

❯ ll /Library/Extensions/
total 0
drwxr-xr-x  3 root  wheel    96B Apr 24  2018 ACS6x.kext
drwxr-xr-x  3 root  wheel    96B May  8  2018 ATTOCelerityFC8.kext
drwxr-xr-x  3 root  wheel    96B May  7  2018 ATTOExpressSASHBA2.kext
drwxr-xr-x  3 root  wheel    96B May  7  2018 ATTOExpressSASRAID2.kext
drwxr-xr-x  3 root  wheel    96B Sep  6  2017 ArcMSR.kext
drwxr-xr-x  3 root  wheel    96B Sep  1  2013 CalDigitHDProDrv.kext
drwxr-xr-x  3 root  wheel    96B Oct  5 19:34 EnergyDriver.kext
drwxr-xr-x  3 root  wheel    96B Dec 13 14:41 FileProtect.kext
drwxr-xr-x  3 root  wheel    96B May  4  2018 HighPointIOP.kext
drwxr-xr-x  3 root  wheel    96B Dec  5  2017 HighPointRR.kext
drwxr-xr-x  3 root  wheel    96B Mar 31  2017 PromiseSTEX.kext
drwxr-xr-x  3 root  wheel    96B Nov 28 15:26 SelfProtect.kext
drwxr-xr-x  3 root  wheel    96B Apr 25  2018 SoftRAID.kext
drwxr-xr-x  3 root  wheel    96B Dec 13 14:41 TMProtection.kext

With regards to the EFI folder, I've been given exact instructions to keep kexts in there, for the reasons I I still yet have to uncover. There are a bunch of counterarguments which tell you to move kexts into /Library/Extensions instead so I'm going to discover what happens when I move kexts from EFI to the /Library/Extensions directory.

@attilagyorffy Does Bluetooth work with your DW1830 card when you are running your 9570 on battery mode? I have a DW1830 card that was tested on Windows and Bluetooth becomes "Not Available" on my 9560 when I am running it off of batteries.

d3myz commented 5 years ago

I actually just went through this process. I added my kexts to my /L/E folder one by one and they all worked except: The SMC Kexts. I had to add the 3 BCRM kexts to get my dw1560 to update it's firmware and work I've since switched to an DW1830 with no issues. I even updated the VirtualSMC kext to version 1.4 and was running into problems with panics on boot up, so I reverted back. Hope this helps. How's the VoodooI2C kext working for you? My internal trackpad works alright and the gestures are fine, but I ended up buying a Magic Trackpad 2 and it's phenomenal.

Screen Shot 2019-07-06 at 12 27 47 PM Screen Shot 2019-07-06 at 12 49 17 PM
kanelee commented 5 years ago

I actually just went through this process. I added my kexts to my /L/E folder one by one and they all worked except: The SMC Kexts. I had to add the 3 BCRM kexts to get my dw1560 to update it's firmware and work I've since switched to an DW1830 with no issues. I even updated the VirtualSMC kext to version 1.4 and was running into problems with panics on boot up, so I reverted back. Hope this helps. How's the VoodooI2C kext working for you? My internal trackpad works alright and the gestures are fine, but I ended up buying a Magic Trackpad 2 and it's phenomenal.

Screen Shot 2019-07-06 at 12 27 47 PM Screen Shot 2019-07-06 at 12 49 17 PM

@d3myz Thank you for posting the screenshots. I was reading thru https://github.com/bavariancake/XPS9570-macOS and it ends up I was missing BrcmFirmwareRepo.kext and BrcmPatchRAM2.kext. I have been running VoodooI2C on my Dell for over a year and it seems to be fine. I really do not use it for advanced gestures beyond swiping, right/left clicking. I did have to map some gestures as well.

Also check out https://www.tonymacx86.com/threads/guide-dell-xps-9560-mojave-virtualsmc-i2c-trackpad-clover-uefi-hotpatch.263567/ . Though it is for the 9560, he has been doing work on his unit for quite sometime. Hopefully, you will find it helpful.

djuby commented 4 years ago

OK. I think I found a solution to the problem. It may not be the right one, but at least my ping times to my local router are consistent and the same before and after sleep. WiFi is stable, so is Bluetooth. AirDrop is on and off - sometimes it works and finds devices on the network, sometimes it does not. So, what I did to fix the WiFi is I updated the following kexts to the latest version possible and removed any patches related to BCM from the config.plist file. Here is the list of kexts currently in my EFI/Clover/Kexts/Other folder related to WiFi and Bluetooth:

- AirportBrcmFixup.kext - BrcmBluetoothInjector.kext - BrcmFirmwareRepo.kext - BrcmNonPatchRAM2.kext - BrcmPatchRAM3.kext

I think it won't hurt to update Lilu.kext and WhateverGreen.kext too.

Hope this helps others having issues with DW1830 WiFi adapter.

Best regards.