Contribute
Register

[Guide] Dell XPS 13 9350 macOS 10.12.1

Status
Not open for further replies.
Right. Slice want to correctly confirm this issue. But dont have information and files.
Did you have a talk with Slice regarding that? I was trying to investigate that - but found that problem occurs somewhere after clover. And with Slice we confirmed that. I can see two places where it can break - OS level (kernel boot of post-kernel time), or i have other idea - it can be somewhere in the middle between clover and kernel. It can be affected by some EFI drivers - after clover will finish it job and will do ExitBootServices - maybe, some EFI driver is triggered that restores DMI structure to original sizes (after investigation i can tell 100% that main problem is that all fields are restored to original Dell sizes, but values are kept without changes. So in output we have truncated values)
 
it can be somewhere in the middle between clover and kernel. It can be affected by some EFI drivers - after clover will finish it job and will do ExitBootServices - maybe, some EFI driver is triggered that restores DMI structure to original sizes (after investigation i can tell 100% that main problem is that all fields are restored to original Dell sizes, but values are kept without changes. So in output we have truncated values)

This is the most logical explanation.
 
This is the most logical explanation.
Yes, it is. And to fight with that issue we need somebody experienced in EFI hacking. Currently i'm trying to investigate how things are working, but my current goal is to fix AptioFix drivers in clover to fix hardware NVRAM on my laptop - it is also related to EFI internal, and memory mapping nuances.
 
Is this the DW1830 you got? The card was originally in Dell XPS 15 9550 (Wireless WiFi Card part no. HHKJD). See links below (may help people who don't want to order off of ebay).

Just want to be sure because I'm ordering the laptop separately and it won't arrive for another few days so I don't want to waste any time if I have to reorder the card. (Sorry this is going back to post 216 https://www.tonymacx86.com/threads/guide-dell-xps-13-9350-macos-10-12-1.204730/page-22#post-1375055)

Thanks!

http://www.ascendtech.us/dell-wlan-dw1830-wireless-wi-fi-card_i_ltpwifidl0hhkjd.aspx

https://www.parts-people.com/index.php?action=item&id=21150
Wow, it's somewhat expensive. DW 1830 is about $20...

I can confirm it works OOB since I use this card on both Dell Precision M3800 and XPS 13 9350.

syscl
 
Like four years ago I didn't manage to make a correct dsdt, but at least I DO have EVERYTHING working on my 9350. The only exception is hibernation and TB3, but really I don't think anybody cares about it at the moment.

View attachment 224043

So far got working:
  • sound (no HDMI-audio)
  • brightness (shift+F2/F3 to control)
  • NVME (@1200W/1500R)
  • touchpad (middle click inverted with right one)
  • touchscreen (no onscreen keyboard popup)
  • camera
  • HDMI (no audio)
  • USB-C
  • USB-As
  • Battery
  • Sleep (no hibernation)
  • Bluetooth
  • Wi-Fi (depending on module installed, swapped to DW1830)
  • iCloud, Find My Mac, iMessage etc (You have to find/generate your own serial)
  • GPU QE/CI (4k video no lag)
  • CPU PM(drops up to 0.85 GHz)
  • First of a kind there - hassle-free INSTALL (everything is seen at first boot and installs sucsessfully)
So far this might be a kinda universal solution for 9350 line. I'm not saying it's pefect, but it's beginner-friendly and almost fully working out-of-box. Be free to use my CLOVER folder to install and to boot into on a regular basis, as it is my daily-driver one. Any further ugrades will also land there.

As of 12/7/2016 it's proven working on 10.12.1 and 10.12.2 beta5. Any improvements are welcome;)

As usual credits for kexts used goes to their authors. Many thanks to everyone in these threads to make this pack possible!
edit: For some reason, my sound isnt working
 
Now I refined my lid wake patches to just 1stage, actually the secret is 0a -> 0f, here you go
Code:
Comment: Enable lid wake for 0x19260004 credit syscl/lighting/Yating Zhou
Kext:    AppleIntelSKLGraphicsFramebuffer
Find:    0A0B0300 00070600 03000000 04000000 
Replace: 0F0B0300 00070600 03000000 04000000

Enjoy your iris 540's sleep :)

syscl
 
Now I refined my lid wake patches to just 1stage, actually the secret is 0a -> 0f, here you go
Code:
Comment: Enable lid wake for 0x19260004 credit syscl/lighting/Yating Zhou
Kext:    AppleIntelSKLGraphicsFramebuffer
Find:    0A0B0300 00070600 03000000 04000000
Replace: 0F0B0300 00070600 03000000 04000000

Enjoy your iris 540's sleep :)

syscl

Is there something specific about lid wake vs. wake with power button (or ps2) after Apple->Sleep?
 
Is there something specific about lid wake vs. wake with power button (or ps2) after Apple->Sleep?
Once this patch being applied, they(lid & power button) both behave the same. I'm planning to upload 3 lid wake patches(0x19260002, 0x19260004, 0x193b0005(Iris P580)) to your clover-laptop-patches.

BTW, I noticed some minor bugs in XPS 13 9350:
1. Inject hda-gfx cause black screen, pretty much the same as https://github.com/RehabMan/Intel-NUC-DSDT-Patch/commit/ee059deeb85850cce58a55e70e161359de5d40ee
2. Once waking from sleep(through ps2 or lid), have to press one of the keys or move the cursor to light the screen up, thus I think this is very likely DSDT issue, any idea to fix this? Use ACPI keyboard to generate a virtual keypress?

syscl
 
Once this patch being applied, they(lid & power button) both behave the same. I'm planning to upload 3 lid wake patches(0x19260002, 0x19260004, 0x193b0005(Iris P580)) to your clover-laptop-patches.

OK.
But I was wondering whether the patch is to address a specific problem with lid wake, or if the problem also occurs with power button wake.

BTW, I noticed some minor bugs in XPS 13 9350:
1. Inject hda-gfx cause black screen, pretty much the same as https://github.com/RehabMan/Intel-NUC-DSDT-Patch/commit/ee059deeb85850cce58a55e70e161359de5d40ee

"hda-gfx" does not cause the panic with working AppleHDA audio (which is why the "hda-gfx" has been added back...)
But it definitely can cause issues when AppleHDA is not working...

2. Once waking from sleep(through ps2 or lid), have to press one of the keys or move the cursor to light the screen up, thus I think this is very likely DSDT issue, any idea to fix this? Use ACPI keyboard to generate a virtual keypress?

Probably an ACPI issue or configuration issue (messing with darkwake flags?)
But I don't think generating a bogus key is a good solution (plus the kext would need enhancements for wake notification).
 
Do you have dw1820? If so, I have not read anywhere where that will work. Dw1560 works for me but am having Bluetooth issues but that doesn't seem to be an issue others are experiencing. I had it working fine but may need to do a fresh install.

Dw1560 is easy to get to work. Install and follow previous guide. Be sure to use Rehabman's fakepcii kext he updated nov 11th, I believe. Also need to use patch in config. Read read read!!!!

Thanks for the response! I seemed to have 1820, there is no way this can work? :(
 

Attachments

  • RAM.PNG
    RAM.PNG
    130.1 KB · Views: 166
Status
Not open for further replies.
Back
Top