Dell-XPS15-9570-macOS
Dell-XPS15-9570-macOS copied to clipboard
Thunderbolt 3 hotplug
Is there any chance for getting hotplug working?
No devices for testing yet.You should find a solution if you own Thunderbolt 3 devices
Seems it actually works, somehow.
While no Thunderbolt drivers is loaded, if I put an adapter with HDMI connected via Thunderbolt port it actually works. But won't load any USB drive or so.
If I boot with the adapter/Hub connected, it will load the hard drive correctly.
@Herna1994 Do you mean USB drive won't work when you use Type-C Hub to link USB ?
If you have the USB Type-C Hub connected on boot it will show USB drives.
As far as you disconnect the USB Type-C Hub and reconnect it won't show. Same applies if you connect without it, and after boot you insert Type-C Hub.
Hotplug issue is commonly posted, and I haven't found a solution yet.If the Thunderbolt device is necessary ,you can connect the USB Type-C Hub before boot into system as you describe.
Are you actually using a thunderbolt device, or USB hub with video out? Most are the latter kind. Also be sure to install the latest Thunderbolt firmware update from Dell.
In this exact scenario I was using an USB Type-C Hub with video out.
It's great to see it working with HDMI whenever you disconnect and connect the Hub. Would be cool to have the same around for USBs in a future.
@bavariancake @LuletterSoul Seems it can be fixed with this, many laptops are using it already.
https://github.com/Rashed97/Intel-NUC-DSDT-Patch/commit/47476815b52f8e4c97e8f85df158c9ab1b6ecedd
Rashed is a friend of mine, and he told this got his issues fixed. Just he told me this about it "RP05 needs to change to match your actual pci address. It changes by device"
@Herna1994 So, did you manage to use Rashed's patch in your XPS?, is it working correctly?
@andresandiah I haven´t been able to try it. DW1830 is kinda expensive here, like $70+ so I haven´t buy it yet. I might give it a try and buy it if someone actually gets to fix it.
Anyway, I have found this: https://github.com/cloudlang/DELL-XPS-15-9570-8750H-1080P-macOS-Mojave
He hasn´t anything regarding Thunderbolt or hot-plugging on his list issue. If someone can try it and check if he has it fixed that would be nice.
OK, i found in tonymacx86's forum a guide for the 9560 with a thunderbolt 3 hot plug fix (WIP). I had to modify the SSDT to make sure it redirects to the correct path of the thunderbolt device (as shown in my IORegistry).
Tested it with a thunderbolt 3 interface (Universal Audio Apollo 8p). While the TB3 interface NEEDS to be connected at boot. After that i can turn it off and turn it back on without any problems. I even unplugged it and plugged my USB-C SSD.
It seems that the SSDT loads the TB3 interface and controller as an PCI device (it shows the PCI icon on the taskbar). So if we can find a way to initialize that PCI TB3 controller we may find a way to have a full hot pluggable TB3 / USB C port.
if anyone is interested, this is the link for the forum; if you have knowledge in this stuff pls contribute since it seems that the 9560/9570 share a lot in common in regards to this fix.
https://www.tonymacx86.com/threads/guide-dell-xps-9560-mojave-virtualsmc-i2c-trackpad-clover-uefi-hotpatch.263567/
Also, i will attach the modified SSDT's for the 9570.
USB Type C is still not hot pluggable ??
@andresandiah Thanks for your job ! It seems to be a really great! I suggest that you should write down a simple tutorial here because sharing your mind on solution is really good so that everyone could really learn something from it.
I will merge your job into my repository for more tests.
@LuletterSoul I've found a guide on how a guy enabled full hotplug on an Intel NUC hackintosh (Which is a device closer to a laptop than a desktop). The tjudnerbolt port works in a similar way to the XPS. I am not a programmer so I don't understand too much about what he is talking, but I suppose you can make better use on the way he achieved full thunderbolt hotplug.
Here is the link https://github.com/osy86/HaC-Mini/blob/master/details/thunderbolt-3-fix.md
Hope it somewhat helps to achieve something for us. I will try to implement something out of that (if I can get to understand at least half of it haha) and will test it tomorrow morning with a thunderbolt 3 device I have at work.
我的怎么没有这个图标呢
我的怎么没有这个图标呢
it will appear when you plug a thunderbolt device
No, no, no, I started it by plugging in the extension dock, it did not appear, I used the green union type-c, it did not appear this icon, in addition, I am a single MAC OS system
On 07/13/2019 01:48, andresandiah wrote:
我的怎么没有这个图标呢
it will appear when you plug a thunderbolt device
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
the icon wil appear on Thunderbolt devices only, im not sure about how it will work with usb c dongles as i dont own one. Im not completely shure about how the TB3 was patched as it seems to work only sometimes (the semi hot plug) and other times it doesnt.
I have a TB15 and the hotplug not work.but it worked on April 16th version.(Maybe just USB things) By the way,The HDMI output on the TB15 has a color issue.I haven`t tried the Displayport output.But it normal with the HDMI port onboard.
i got thunderbolt hotplug by https://github.com/RockJesus/macOS-IOElectrify this kext
@rlatn1234 What TB3 devices have you tested? Did you check if you could also hot plug a USB-C drive? It would be nice to see a video of TB3 hotplug in action. I'm really tempted to hackintosh my XPS if true.
i tested with usb-c usb drive and usb 3.1 based external ssd but i cannot test with tb3 i can test tb3 device when i got my one
@andresandiah i can share my efi to you 😄
@rlatn1234 Yes please, i want to check it. Also, one final question. Can you check with IORegistryExplorer if the pci for usb-c or thunderbolt is enabled. it should be something like this:
Also, can you attach an image of your devices under the PCI tab in your hackintosh hardware specifications? something like this:
I really hope i can go back to using my hackintosh.
@rlatn1234 To test hotplug capability, search for the things I asked in the post before this without any device plugged in the usb c/thunderbolt port.
@andresandiah
System Diagnostics Screenshot
IOREG
@andresandiah sorry for language
@rlatn1234 That´s exciting news, seems to be detected since boot. Guess I´ll switch back to MacOS soon. Can you please share your EFI to check some other stuff in it?
@rlatn1234 Are you using Clover or OpenCore?
@andresandiah I am using Clover using this repo and some my own modification
I m using xps 9570 with opencore, can i use it? If so could you share your efi folder? Thank you.
@gemini444 i will upload efi to my github repository
@gemini444 @andresandiah i uploaded files to my repo
@gemini444 @andresandiah i uploaded files to my repo Thank you very much for your effort. I have a question. I m using opencore BL at this https://github.com/xxxzc/xps15-9570-macos repo and almost stable except TB3. Do you know how can i modify my config in OC?
@gemini444 try with IOElectrify.kext.zip this kext and enable at oc
Finally got my UAD Apollo x4 Thunderbolt 3 interface. Will test if hotplug does really work in the next days.
Will report back soon.
Thunderbolt 3 hot-plug working almost completely correctly. The Alpine Ridge Thunderbolt 3 Controller loads correctly in PCI without nothing connected to it.
Sometimes it detects correctly my Audio Interface and loads the drivers directly, other times I have to power cycle my audio interface but it ends up loading everything fine. I am not completely sure if it is something with my interface or the Thunderbolt driver, but so far so great!
@andresandiah can you share your efi?
@andresandiah I would LOVE to see that EFI.zip! Trying to get Thunderbolt 3 to running on my 9560... Unfortunately, there isn't a good guide for IOElectrify, which I would like to get running...
definitely a +1 for how you got Thunderbolt working, @andresandiah
Share what you know! (please :)
+1 for TB3 info :)
First of all, sorry for the wait. Little long after i posted my last comment i went back to windows. Finally i hackintoshed my XPS again and got working the semi-hotplug TB3 again.
The Thunderbolt PCI Card loads on system from cold boot. I can connect my Apollo x4 and it will recognize it as an external PCI device. I just need to power-cycle my Apollo and it will work normally within MacOS.
Here is my EFI, its based on 1.6 version from this repo with some of the kexts updated and adjusted to wirk better with Mojave instead of Catalina or Big Sur.
Ok so I recently switched to Big Sur and OpenCore (currently using a totally different EFI). Trying some different configurations seems like I got full thunderbolt and USB-C hot plug enabled.
I'll link you to the post where you can see the system report and download the OpenCore EFI for bigsur
https://github.com/xxxzc/xps15-9570-macos/issues/40#issuecomment-750740537