Contribute
Register

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

Status
Not open for further replies.
Joined
Sep 27, 2020
Messages
35
Motherboard
Dell XPS 9560
CPU
i5-7300HQ
Graphics
GTX 1050
Mac
  1. MacBook Air
Mobile Phone
  1. Android
None of the usb ports on the dock work for me in MacOS, while they do work in W10.
I've always had DP video, both USB-C to DP and DP to DP, [email protected] working in MacOS, but no USB.

I've now managed to get USB ports working in MacOS as well, but am not sure which of the three things I did:

1) BIOS changes,
2) Thunderbolt3Unblocker.kext in L/E, and
3) SSDT-TB3.aml in EFI/CLOVER/ACPI/patched

among multiple reboots and several minor things made it work--including the ability to daisy-chain USB hubs from the dock.

Let me know if there is interest and I will post a more complete list.
 
Last edited:
Joined
Jun 24, 2014
Messages
289
Motherboard
ASUS Maximus VII Hero
CPU
i7 4790k
Graphics
HD 4600 + GTX 970
Mac
  1. iMac
  2. MacBook Pro
Mobile Phone
  1. iOS
I've always had DP video, both USB-C to DP and DP to DP, [email protected] working in MacOS, but no USB.

I've now managed to get USB ports working in MacOS as well, but am not sure which of the three things I did:

1) BIOS changes,
2) Thunderbolt3Unblocker.kext in L/E, and
3) SSDT-TB3.aml in EFI/CLOVER/ACPI/patched

among multiple reboots and several minor things made it work--including the ability to daisy-chain USB hubs from the dock.

Let me know if there is interest and I will post a more complete list.
Yea please do so, I feel the OpenCore Big Sur EFI I put together is coming to a completion and again TBT is the only real thing holding this hack back.
 
Joined
Sep 27, 2020
Messages
35
Motherboard
Dell XPS 9560
CPU
i5-7300HQ
Graphics
GTX 1050
Mac
  1. MacBook Air
Mobile Phone
  1. Android
Yea please do so, I feel the OpenCore Big Sur EFI I put together is coming to a completion and again TBT is the only real thing holding this hack back.
Will do after a few more tests and reboots. As a retired biologist, I'm pretty embarrassed that I didn't do good experiments.

I'm still on Catalina, though, and not planning to upgrade for a while.

Thanks for all you've done.
 
Joined
Sep 27, 2020
Messages
35
Motherboard
Dell XPS 9560
CPU
i5-7300HQ
Graphics
GTX 1050
Mac
  1. MacBook Air
Mobile Phone
  1. Android
TB16 dock progress to date:

MacOS 10.15.7 Catalina -- used files from https://github.com/jardenliu
SMBIOS MacBookPro14,1
Dock firmware updated from Windows 10
BIOS 1.19.2 (afraid to update to 1.21.0, please advise)
Wifi with USB dongle

In BIOS, turned off Thunderbolt boot support (both boxes), turned on Wake on Dell USB-C Dock

DP video always working, both USB-C to DP and DP to DP, [email protected]

SSDT-TB3.aml in EFI/CLOVER/ACPI/patched

System Integrity Protection disabled
Thunderbolt3Unblocker.kext in L/E from the binary

Ran:
sudo chown -R root:wheel /Library/Extensions/Thunderbolt3Unblocker.kext
sudo chmod -R g-w,o-w /Library/Extensions/Thunderbolt3Unblocker.kext
sudo kextcache -i
sudo nvram -d t3u-incompatible
sudo kextload -b es.govost.ryan.Thunderbolt3Unblocker


Later ran from /L/E:
sudo chown -R root:wheel Thunderbolt3Unblocker.kext
sudo kextload Thunderbolt3Unblocker.kext
sudo kextcache -i /

Worked after reboot, even USB 3 hub and a USB 2 hub daisy-chained from it.

Put to sleep with dock button and disconnected power.

Next day, USB ports not working. Rebooted, still not working.

Ran both:
sudo nvram -d t3u-incompatible
and
sudo kextload -b es.govost.ryan.Thunderbolt3Unblocker
in Terminal, think one of them did the trick

Reboot, USB ports working again (I may have also done the unplugging/replugging described below)

About This Mac/System Report/Thunderbolt shows nothing, dock appears as a USB2807 hub

Logitech M705 mouse works when receiver plugged into daisy-chained hub, but not seen by Logitech Control Center in prefs

Rebooted into Windows, USB ports worked
Rebooted into Catalina, not working

Ran:
sudo nvram -d t3u-incompatible
sudo kextload -b es.govost.ryan.Thunderbolt3Unblocker
sudo kextcache -i /

Rebooted, didn't work

Ran:
sudo nvram -d t3u-incompatible
sudo kextload -b es.govost.ryan.Thunderbolt3Unblocker
sudo kextcache -i /

kextcache output:
Kext with invalid signature (-67050) allowed: <OSKext 0x7f9ac470d590 [0x7fff854f4cc0]> { URL = "file:///Library/Extensions/Thunderbolt3Unblocker.kext/", ID = "es.govost.ryan.Thunderbolt3Unblocker" }
KernelCache ID: CA666D76F16214B3D5F5A6B17C091FF3
Kext with invalid signature (-67050) allowed: <OSKext 0x7fd0b6e1f1b0 [0x7fff854f4cc0]> { URL = "file:///Library/Extensions/Thunderbolt3Unblocker.kext/", ID = "es.govost.ryan.Thunderbolt3Unblocker" }

USB ports still not working, so I did what was demanded in the Windows firmware update instructions:

1) unplug dock from TB port
2) unplug power to dock
3) wait 15 sec (not in the instructions, but seems like a good idea)
4) connect power
5) connect to TB port

Working again!

Remaining to test:
HDMI
Ethernet
Hot plugging

I don't know enough to know whether all three Terminal commands need to be run and in which order, so I'd appreciate it if someone could explain and save me some more trials.
 
Last edited:
Joined
Sep 27, 2020
Messages
35
Motherboard
Dell XPS 9560
CPU
i5-7300HQ
Graphics
GTX 1050
Mac
  1. MacBook Air
Mobile Phone
  1. Android
Simpler!

Booted into Win 10, everything worked. Hot booted into MacOS, video out worked, USB didn't.

Did nothing in Terminal, just:

1) unplug dock from TB port
2) unplug power to dock
3) wait 15 sec (not in the instructions, but seems like a good idea)
4) connect power
5) connect to TB port

...and USB is now working!
 
Joined
Sep 27, 2020
Messages
35
Motherboard
Dell XPS 9560
CPU
i5-7300HQ
Graphics
GTX 1050
Mac
  1. MacBook Air
Mobile Phone
  1. Android
The plugging/unplugging after rebooting has worked twice more to get USB to work, doing nothing in the terminal.

Ethernet works. HDMI did not, but my cable is sketchy. Again, DP works all of the time, with power always being fed to the laptop.
 
Joined
Oct 30, 2018
Messages
10
Motherboard
Asrock b85m PRO4
CPU
i5 4460
Graphics
GTX 1080
The plugging/unplugging after rebooting has worked twice more to get USB to work, doing nothing in the terminal.

Ethernet works. HDMI did not, but my cable is sketchy. Again, DP works all of the time, with power always being fed to the laptop.
Thanks for your help, I'll see if i can get it working!
 
Joined
Jun 24, 2014
Messages
289
Motherboard
ASUS Maximus VII Hero
CPU
i7 4790k
Graphics
HD 4600 + GTX 970
Mac
  1. iMac
  2. MacBook Pro
Mobile Phone
  1. iOS
@umbjm first off way to go on testing and trying things. Thanks for continuing the effort.

I got a couple questions. Is your TB16 dock using latest firmware? I read long ago that it had a firmware that made it Mac compatible or something. Also can you upload your EFI(minus serial if you're worried) so I can take a look. Are you still spoofing the port as a removable PCI Express card?

I remember looking at thunderboltunblocker before and it was to get IOThunderboltFamily to load, IIRC you can get it to load without the kext. I've gotten quite bored with open core and big sur, it's almost flawless minus TB of couse, if you ever move up to big sur or decide on using open core the new guide should work for Catalina as well.
 
Joined
Sep 27, 2020
Messages
35
Motherboard
Dell XPS 9560
CPU
i5-7300HQ
Graphics
GTX 1050
Mac
  1. MacBook Air
Mobile Phone
  1. Android
Hi blazinsmokey,

Yes, I'm using the latest firmware, updated in Win10. I am not using the latest BIOS (1.19.2 and afraid to update to 1.21.0, please advise).

A few more notes:
1) Kernel panics on startup/shutdown have occurred ~4x in 50 reboots, so I can live with that.
2) At night, I turn off my ext monitor ([email protected]) connected by DP, then let the Dell go to sleep on its own. The next morning, I turn on the monitor and wake up the laptop. I've only had difficulty getting the ext monitor connected a couple of times, but since power cycling the monitor fixes it the problems likely belong to the monitor.
3) I'm trying to get sound to work better. Laptop speakers work fine; however, connecting headphones thru either the laptop jack or the dock jack work, but with balance issues--to get much output, I have to set the balance hard left or right in the Sound CP. I've tried VoodooHDA and most recently this:
...but neither has fixed it. I would appreciate it if you could provide any sound recommendations after looking at my attached EFI folder (all serials changed).

Again, thanks for all you've done. This was much easier than my first Hackintosh experience ~7 years ago.
 

Attachments

  • EFI backup Jan2021 no serial for tonymac umbjm.zip
    44 MB · Views: 92
Joined
Jun 24, 2014
Messages
289
Motherboard
ASUS Maximus VII Hero
CPU
i7 4790k
Graphics
HD 4600 + GTX 970
Mac
  1. iMac
  2. MacBook Pro
Mobile Phone
  1. iOS
Hi blazinsmokey,

Yes, I'm using the latest firmware, updated in Win10. I am not using the latest BIOS (1.19.2 and afraid to update to 1.21.0, please advise).

A few more notes:
1) Kernel panics on startup/shutdown have occurred ~4x in 50 reboots, so I can live with that.
2) At night, I turn off my ext monitor ([email protected]) connected by DP, then let the Dell go to sleep on its own. The next morning, I turn on the monitor and wake up the laptop. I've only had difficulty getting the ext monitor connected a couple of times, but since power cycling the monitor fixes it the problems likely belong to the monitor.
3) I'm trying to get sound to work better. Laptop speakers work fine; however, connecting headphones thru either the laptop jack or the dock jack work, but with balance issues--to get much output, I have to set the balance hard left or right in the Sound CP. I've tried VoodooHDA and most recently this:
...but neither has fixed it. I would appreciate it if you could provide any sound recommendations after looking at my attached EFI folder (all serials changed).

Again, thanks for all you've done. This was much easier than my first Hackintosh experience ~7 years ago.
Regards to your sound issue, VoodooHDA is not the way to go you'll have to make sure you completely remove that and any files it added. Sound is fixed by using the correct layout ID, AppleALC and combo jack. There shouldn't be anything else for that.

I looked at some of your files and there's a lot of fluff. Looks like you are integrating, mix and matching a lot of work from someone else and I'm sure there are conflicts of interest somewhere that is causing your kernel panic and possibly your sound issues. I noticed you are using the latest Clover which I haven't used since they incorporated OpenCore. IMO it would just be a good idea to move to OpenCore completely, the new thread has a couple users that used my setup to run Catalina.

But from what I see, a lot of things are completely unnecessary in your EFI. Example with SMBIOS 14,1 you don't need notouchid kext, that model doesn't have touchid. SSDT-TB3 builds thunderbolt tree on RP05, when ours is on RP15, this is more than likely conflicting with SSDT-TYPC which does something similar. Could be the cause of your random KP on shutdown. SMCSuperIO is the same as SMCDellSensors in regards to its purpose but obviously the SMCDellSensors would be more ideal so remove SuperIO. We never needed nullehternet for our laptops unless your are using it for the TB3 dock somehow?

My goal was to see if any Thunderbolt advancements have occurred but I'm afraid you are dealing with TB3 issues which have been a problem for this laptop for quite sometime. Unfortunately I can't help you trouble shoot much else as I'm not really familiar with the new Clover or using Catalina. IMO Clover is unsuitable moving forward for hackintoshing this laptop.
 
Status
Not open for further replies.
Top