Contribute
Register

[Guide] Dell XPS 9560 Mojave VirtualSMC, I2C Trackpad, Clover UEFI Hotpatch

Status
Not open for further replies.

Feartech

Moderator
Joined
Aug 3, 2013
Messages
25,964
Motherboard
Asus N752VX-OpenCore
CPU
i7-6700HQ / HM170
Graphics
HD 530 1920 x 1080
Mac
  1. iMac
Mobile Phone
  1. iOS
Yes... Transition from FakeSMC.kext to VirtualSMC.kext must be done very carefully.

Also, if there are issues just from moving from Lilu+plugins (VirtualSMC.kext is also a Lilu plugin) in EFI to /L/E, careful construction and installation of a correctly coded LiluFriend.kext should also be considered.
ahh, thanks for that, i will look into this :)
 
Joined
Oct 9, 2013
Messages
12
Motherboard
XPS 15 9560
CPU
i7-7700HQ
Graphics
HD 630
Mobile Phone
  1. Android
  2. iOS
The problem:
I have a Dell monitor that accepts a DP connection over USB-C, so I'm using that (through USB-C on the XPS).
When the monitor is attached, audio only comes through the laptop speakers, and there is no option in the Sound System Preference to switch to Display Port.
If I then connect the monitor via HDMI, I get two options - one for output through HDMI, and one for output through DisplayPort.
Switching to DP output gives me sound through attached speakers (as does HDMI), and then removing the HDMI cable enables the DP option to remain and work still.
Pulling the USB-C cable and then reattaching removed the DP option and it doesn't come back, until HDMI is plugged back in.
It's not really a major problem, as I have the above workaround, but I would love to get it sorted.
I tried both having USB-C attached before boot, and attaching it after I've logged in - no difference.
Is this something you (or anyone reading) has come across?

Further to this, I've found that there is another way to get the DisplayPort sound output option to appear.
If the lid is closed and then reopened while the monitor is plugged in to USB-C, the DP sound option appears and is selected.
Sound preference.png

Note that with this monitor, being plugged into USB-C means that it's charging the laptop as well.
Also something that may be relevant - closing the lid with the monitor plugged in will only sometimes switch to single display through the monitor. Sometimes the monitor screen will go black, although the laptop doesn't go to sleep. In both cases, the DP sound option will appear on opening the lid.
I've attached a fresh gen_debug output.
 

Attachments

  • debug_26142.zip
    5.5 MB · Views: 221

RehabMan

Moderator
Joined
May 3, 2012
Messages
184,624
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
ahh, thanks for that, i will look into this :)

Note: There is a script that will generate LiluFriend.kext automatically in my hack-tools github project.
 

Feartech

Moderator
Joined
Aug 3, 2013
Messages
25,964
Motherboard
Asus N752VX-OpenCore
CPU
i7-6700HQ / HM170
Graphics
HD 530 1920 x 1080
Mac
  1. iMac
Mobile Phone
  1. iOS
Note: There is a script that will generate LiluFriend.kext automatically in my hack-tools github project.
i saw that earlier and will make an attempt later on, cheers! :)
 
Joined
Oct 9, 2013
Messages
12
Motherboard
XPS 15 9560
CPU
i7-7700HQ
Graphics
HD 630
Mobile Phone
  1. Android
  2. iOS
Note: There is a script that will generate LiluFriend.kext automatically in my hack-tools github project.

Can confirm generating and using LiluFriend.kext obviates the need for the vsmcgen=1 boot flag, at least on the XPS 15 9560.
Thanks, @RehabMan , those scripts are very helpful!
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
184,624
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Can confirm generating and using LiluFriend.kext obviates the need for the vsmcgen=1 boot flag, at least on the XPS 15 9560.
Thanks, @RehabMan , those scripts are very helpful!

Cool... thanks for testing.
 
Joined
Nov 17, 2018
Messages
26
Motherboard
Dell XPS 15 9560 - 1.10.1 - Clover
CPU
i7-7700HQ
Graphics
HD 630
Everything works great went through the instructions to the dot and it is fantastic.
The only issue i see is wifi, the guide is based around dw1560. My issue is that the speeds are quite slow (9MB/s) I tested it by copying files from my NAS on my network where i use netgear r7000 (with dd-wrt) i have VHT80mhz enabled. Yet on my old mbp with n wifi only it is faster like 17MB/s.
Also after doing all the post install later i went to connect to bt my headphones and it went bt unavailable. After reboot the bt was still unavailable later i have switched of notebook and later came back to it this evening and bt was there and also was able to connect to headphones and works fine. Was wondering if there could be some erratic issues maybe i miss the right kext for dw1830?

Since nobody has really added to this anything i guess then the issue probably would be only the card itself also adding to this that yesterday i tried to change the anthenas from black to white and as well the third one i tried multiple ones that i got from china and pretty much all yeld the same result which is a little better but far from what i believe 802.11ac can do (16MB/s).
Anyone can suggest what max speed are you getting on dw1560 vs dw1830?
 
Joined
Oct 9, 2013
Messages
12
Motherboard
XPS 15 9560
CPU
i7-7700HQ
Graphics
HD 630
Mobile Phone
  1. Android
  2. iOS
Since nobody has really added to this anything i guess then the issue probably would be only the card itself also adding to this that yesterday i tried to change the anthenas from black to white and as well the third one i tried multiple ones that i got from china and pretty much all yeld the same result which is a little better but far from what i believe 802.11ac can do (16MB/s).
Anyone can suggest what max speed are you getting on dw1560 vs dw1830?

I have the dw1830, and am getting:

Externally I'm getting:

PING ms
3
DOWNLOAD Mbps
45.36

UPLOAD Mbps
109.99

through speedtest.net.

In System Info, I'm getting
Transmit Rate: 351 (and with a refresh, 145)

Alt-Clicking the wifi icon, I'm getting
Tx Rate: 145Mbps

In Network Utility, I'm getting
Link Speed: 144Mbit/s

Which is all around 18MB/s

*EDIT* Actually that was mostly on the 2.4GHz AP. On the 5GHz, I'm getting a uniform 351
 
Last edited:
Joined
Nov 17, 2018
Messages
26
Motherboard
Dell XPS 15 9560 - 1.10.1 - Clover
CPU
i7-7700HQ
Graphics
HD 630
I have the dw1830, and am getting:

Externally I'm getting:

PING ms
3
DOWNLOAD Mbps
45.36

UPLOAD Mbps
109.99

through speedtest.net.

In System Info, I'm getting
Transmit Rate: 351 (and with a refresh, 145)

Alt-Clicking the wifi icon, I'm getting
Tx Rate: 145Mbps

In Network Utility, I'm getting
Link Speed: 144Mbit/s

Which is all around 18MB/s

*EDIT* Actually that was mostly on the 2.4GHz AP. On the 5GHz, I'm getting a uniform 351

thanks for that actually i have check and tx rate shows 540mbps, but well nowhere near that now uhm :/
strangely when i do speedtest i get 240mbps which i believe is max of our line here (virgin) but that should be also seen when transfering on lwan damn :/
 
Joined
Nov 9, 2018
Messages
72
Motherboard
Dell XPS 9560 - YH90J
CPU
I7-7700HQ
Graphics
GTX 1050, HD 630
Hi everyone.

I got my System to work. and updated to 10.14.2
The Problems I got now are only USB-C and LAN struggles.

First, I haven't installed the DW1560. I am getting it in a few days. Hong Kong shipping^^

My Dell USB-C DA300 Adapter works only when plugged in between start of clover and Mac OS boot.


When its working while having a second display connected, and I am trying to plug into the USB-C Adapter a third display the system gets a panic and crashes.
But I can plug my Second Monitor into the usb-C adapter without crashing. But then again, if the third on the native port gets a connection I get a panic.

When a Monitor is connected to the Adapter the other slots (USB A 3.0, Lan...) don't work.

Lan only works with my Apple USB A Ethernet Adapter.
When I am trying with my Dell adapter I won't become a IP address but It says cable connected. Static ip also don't work.

But when trying first with Apple USB Ethernet adapter, getting an IP address, and then trying with my dell works. its using the same ip which the Apple USB Ethernet adapter got...

But the USB-C hotplug and monitor problems are my biggest problem. So please help! all the problem and reporting files are added.



Panic:

*** Panic Report ***
panic(cpu 0 caller 0xffffff8011cda1ed): Kernel trap at 0xffffff7f9458938b, type 14=page fault, registers:
CR0: 0x000000008001003b, CR2: 0x00000000000001dc, CR3: 0x000000001f010000, CR4: 0x00000000003626e0
RAX: 0x40ea56b7e04100ee, RBX: 0x0000000000000002, RCX: 0x0000000000000001, RDX: 0x0000000000000001
RSP: 0xffffff81f90c3e30, RBP: 0xffffff81f90c3e90, RSI: 0x0000000000000001, RDI: 0x0000000000000002
R8: 0x0000000000000003, R9: 0xffffff8043060420, R10: 0x0000000000000000, R11: 0x0000000000000000
R12: 0x0000000000000002, R13: 0x0000000000000000, R14: 0xffffff81b7762000, R15: 0x0000000000000000
RFL: 0x0000000000010246, RIP: 0xffffff7f9458938b, CS: 0x0000000000000008, SS: 0x0000000000000010
Fault CR2: 0x00000000000001dc, Error code: 0x0000000000000000, Fault CPU: 0x0, PL: 0, VF: 1


Backtrace (CPU 0), Frame : Return Address
0xffffff81f90c3900 : 0xffffff8011baeafd mach_kernel : _handle_debugger_trap + 0x48d
0xffffff81f90c3950 : 0xffffff8011ce85a3 mach_kernel : _kdp_i386_trap + 0x153
0xffffff81f90c3990 : 0xffffff8011cd9fca mach_kernel : _kernel_trap + 0x4fa
0xffffff81f90c3a00 : 0xffffff8011b5bca0 mach_kernel : _return_from_trap + 0xe0
0xffffff81f90c3a20 : 0xffffff8011bae517 mach_kernel : _panic_trap_to_debugger + 0x197
0xffffff81f90c3b40 : 0xffffff8011bae363 mach_kernel : _panic + 0x63
0xffffff81f90c3bb0 : 0xffffff8011cda1ed mach_kernel : _kernel_trap + 0x71d
0xffffff81f90c3d20 : 0xffffff8011b5bca0 mach_kernel : _return_from_trap + 0xe0
0xffffff81f90c3d40 : 0xffffff7f9458938b com.apple.driver.AppleIntelKBLGraphicsFramebuffer : __ZN31AppleIntelFramebufferController20invokeHotplugHandlerEj + 0x4e1
0xffffff81f90c3e90 : 0xffffff7f94568930 com.apple.driver.AppleIntelKBLGraphicsFramebuffer : __ZN31AppleIntelFramebufferController18SWInterruptHandlerEP8OSObjectP22IOInterruptEventSourcei + 0x1b2
0xffffff81f90c3ed0 : 0xffffff80122575dd mach_kernel : __ZN22IOInterruptEventSource12checkForWorkEv + 0x13d
0xffffff81f90c3f30 : 0xffffff8012255672 mach_kernel : __ZN10IOWorkLoop15runEventSourcesEv + 0x1e2
0xffffff81f90c3f70 : 0xffffff8012254bfc mach_kernel : __ZN10IOWorkLoop10threadMainEv + 0x2c
0xffffff81f90c3fa0 : 0xffffff8011b5b0ce mach_kernel : _call_continuation + 0x2e
Kernel Extensions in backtrace:
com.apple.driver.AppleIntelKBLGraphicsFramebuffer(12.0.4)[0E71EF1C-A01B-354E-987D-476E0029C6ED]@0xffffff7f9453b000->0xffffff7f9475ffff
dependency: com.apple.iokit.IOPCIFamily(2.9)[7EA30FDD-A2FB-390F-99DD-42BC19691BB4]@0xffffff7f92495000
dependency: com.apple.iokit.IOACPIFamily(1.4)[99A8A054-9F64-3FB8-BB1D-5973F8AB04A1]@0xffffff7f92bb3000
dependency: com.apple.iokit.IOAcceleratorFamily2(404.2.2)[FA92A03C-F113-384A-9B1F-B2C52DE7F4D2]@0xffffff7f93cf7000
dependency: com.apple.iokit.IOReportFamily(47)[75A625B5-0DEB-343A-A723-9D72533F098C]@0xffffff7f930e7000
dependency: com.apple.AppleGraphicsDeviceControl(3.28.4)[400C2E21-0880-36D7-AC5E-6B9BC885F158]@0xffffff7f93079000
dependency: com.apple.iokit.IOGraphicsFamily(530.14)[C5617AC3-A68D-36CE-AC22-7C7C81318961]@0xffffff7f92d60000
 

Attachments

  • CLOVER.zip
    4.9 MB · Views: 82
  • ioreg.zip
    1 MB · Views: 72
  • kextcache-terminal.zip
    823 bytes · Views: 77
  • RehabMan.zip
    69.2 KB · Views: 77
  • terminal.zip
    2 KB · Views: 87
Status
Not open for further replies.
Top