Contribute
Register

[Guide] Dell XPS 13 9360 on MacOS Sierra 10.12.x - LTS (Long-Term Support) Guide

Status
Not open for further replies.
Thanks a lot for the tip ! Hopefully I now have a proper USB injection.
Here's a new debug with my new SSDT injected.

For some reason, sleep is broken, the power led is always on but screen doesn't wake up when using keyboard (it was already broken before the new SSDT injection and new USBInjectAll, but was working earlier today...) now :(. Could it be the installation of kexts to S/L/E ?

Compare "earlier today" setup to "now".
Kexts should not be installed to /S/L/E. Best location is /L/E.
Keep in mind that Lilu-based kexts may require LiluFriend.kext (Info.plist appropriately modified)

Now, on to your USB setup...
Is the hub at SS01/HS01 an internal or external hub?
If it is internal, you have the wrong UsbConnector values for SS01/HS01.

Your ACPI configuration is wrong.
Try to disassemble your patchmatic -extract output and you will see you have duplicate _DSM methods: iasl -da -dl *.aml
 
Hi,

Thanks again for this awesome guide, I love MacOS on my 9360 ! I have some issues, though.
I can't get my Wifi card to works properly (DW1830, as I can't get a DW1560 for now). I have two (main) issues :

Get the DW1560, it is the suitable card for the XPS 13 9360 and works the best.
When using a DW1830 you ideally have to run a new antenna wire.
 
Compare "earlier today" setup to "now".
Kexts should not be installed to /S/L/E. Best location is /L/E.
Keep in mind that Lilu-based kexts may require LiluFriend.kext (Info.plist appropriately modified)

Now, on to your USB setup...
Is the hub at SS01/HS01 an internal or external hub?
If it is internal, you have the wrong UsbConnector values for SS01/HS01.

Your ACPI configuration is wrong.
Try to disassemble your patchmatic -extract output and you will see you have duplicate _DSM methods: iasl -da -dl *.aml

I moved the kexts to L/E with LiluFriend.

For the USB setup, the hub is internal, but I can't figure how to configure it. Looks like the port named "USB2742" is plugged to hub "HS01", but USB2742 is not present on your template... Same goes with USB5742 on SS01.
I have uploaded my current DSL draft.

I stripped down my ACPI patches. I used @the-darkvoid ones on top of the ones from @nos1609, but I guess it was redundant. Keeped only @nos1609 files, as his Clover install is the only one able to boot my XPS (probably due to the i7-7560U CPU).

Get the DW1560, it is the suitable card for the XPS 13 9360 and works the best.
When using a DW1830 you ideally have to run a new antenna wire.

That's the plan, but the thing can't be found here in France. Bought one from China one month ago, still not dispatched, bought another one yesterday but they're crazy expensive here (40€ + 20-60€ shipping)... I won't have it before a few weeks. Some people succeeded with DW1830 with BT+Wifi with 2 antennas, so I was wondering if that were somehow related to my config.
Hope I won't have the same issues with DW1560.
 

Attachments

  • debug_29512.zip
    2.5 MB · Views: 80
  • SSDT-UIAC.dsl
    2 KB · Views: 112
Internal ports should be marked UsbConnector=255, not 3.

I moved HS01 and SS01 to 255, now an internal hub appears on HS01 with HSP1 and HSP2. HSP1 seems to be my USB port, but SS01 and SS02 are gone... Is that supposed to happen ?

Also, should I create a "HS01" package (hub) with HSP1 and HSP2 inside of it ?
 

Attachments

  • Capture d’écran 2017-12-16 à 16.40.18.png
    Capture d’écran 2017-12-16 à 16.40.18.png
    72.4 KB · Views: 172
  • SSDT-UIAC.dsl
    2 KB · Views: 115
Last edited:
Here you go. Fixed SS01 and SS02 by putting port count back to 26. For some reason, I need to plug my USB 3 flash drive twice before it appears in SS01. It is always here on first try with SS02.

Also, I noticed on IORegistryExplorer that Brcm patch seems to be injected properly in my Wifi card with following firmware key : "BCM20703A1_001.001.005.0214.0422_v4518". Is that normal ? The BCM reference doesn't seems to match my BCM2045A0, maybe that's why Bluetooth is not working ?

Wifi seems to work a bit better with firmware injected, tho. Not sure if that's placebo, due to different Wifi AP, or if there's an underlying cause. It is still broken after waking from sleep, but I get consistent 3-4ms of ping (still a lot of drops, tho).

Thanks a lot, once again, for your help !
 

Attachments

  • debug_10593.zip
    2.5 MB · Views: 69
Last edited:
Here you go. Fixed SS01 and SS02 by putting port count back to 26.

As is clearly written in the guide, you should not be changing the port-count.

For some reason, I need to plug my USB 3 flash drive twice before it appears in SS01.

Might be hub driver issue.

Also, I noticed on IORegistryExplorer that Brcm patch seems to be injected properly in my Wifi card with following firmware key : "BCM20703A1_001.001.005.0214.0422_v4518". Is that normal ? The BCM reference doesn't seems to match my BCM2045A0, maybe that's why Bluetooth is not working ?

BrcmPatchRAM is failing (hanging) while uploading firmware.
(you should never see BrcmPatchRAM2 in ioreg very long).

Opera is hooking your USB ports... tends to cause problems with BrcmPatchRAM.

Wifi seems to work a bit better with firmware injected, tho.

WiFi not related to bluetooth.

Not sure if that's placebo, due to different Wifi AP, or if there's an underlying cause. It is still broken after waking from sleep, but I get consistent 3-4ms of ping (still a lot of drops, tho).

Don't forget to disable "Wake for network access" in SysPrefs->Energy Saver.
 
BrcmPatchRAM is failing (hanging) while uploading firmware.
(you should never see BrcmPatchRAM2 in ioreg very long).

Opera is hooking your USB ports... tends to cause problems with BrcmPatchRAM.

Here's a debug without Opera. Bluetooth is still broken and boot still takes a lot of time.
I already disabled "Wake for network access".

My USB ports are still failing 1/2 boot (they're shown on IORegistryExplorer, but nothing plugged in detected, only BCM present, no webcam or external USB devices) with Brcm kexts, not sure if that could help you with the underlying cause.
 

Attachments

  • debug_15334.zip
    2.5 MB · Views: 82
Last edited:
I got High Sierra to boot finally, but now I'm having issues getting the Kexts to work, I've got no audio or wifi, I've run the script from https://github.com/the-darkvoid/XPS9360-macOS to generate the AppleHDA_ALC256 but it doesn't seem to work, I've tried installing all the kexts from the /kexts folder in https://github.com/the-darkvoid/XPS9360-macOS with Kexts wizard and Kextutility, neither work.

I'm booting with kext-dev-mode=1 but every time I rebuild the kext cache I get:

Kext with invalid signature (-67062) allowed: <OSKext 0x............................etc>

on all the kexts I'm trying to install, should that matter? I've also disabled SIP if that helps. I'm obviously missing something important but I don't know what. Any ideas?

Thanks.
 
Status
Not open for further replies.
Back
Top