Hey mazakiss, I got some progress. I got my hands on a USB-C dongle that has HDMI and a USB-A 3.0 port(link).
Give SSDT-TYPC-DSMFIX.aml a shot. It's a direct replacement, so remove SSDT-TB3-V1.aml. No need for any changes in our latest config.plist.
I tried at least 10 different ways to manipulate SSDT-TB3-V1. Got it to work without USB-C hotplug meaning you had to be plugged in from boot and once it unplugged it wouldn't pick back up again. I was excited as hell but this is not the desired results.
After reviewing the thread for TB3-V1 I noticed that @LeleTuratti adapted DSM methods to get results. So I did the same with KNNSpeed's SSDT-TYPC. I basically added/replaced all DSM methods that matched scope and devices from LeleTuratti's TB3-V1 to KNNSpeed's TYPC file with some other minor changes.
Now USB-C hot plug after boot and unplug/replug works as intended. I am under the impression that KNNSpeed's SSDT works much better overall for USB-C including display output but the Thunderbolt implementation requires plugged in at boot and you cannot unplug anything unless you shutdown first or the system will crash.
I however have no way of testing Thunderbolt, I hope some people here can try this out.
I have included the original TYPC disassembled file, the one I made changes to and one ready for use (aml) in CLOVER/ACPI/patched.
Usb-c adpater hotplug/replug still doesn't work for me.
All usb2/3 port are working so is HDMI 4K @60Hz.
Once disconnected, it's still impossible to reconnect any usb devices, it won't mount.
On the other hand HDMI reconnects correctly when I hotplug/replug usb-c adapter.
Both sam results are the same, with or without "dell dock" bios option selected.
The weird thing is that even without SSDT-TYPC-DSMFIX.aml or SSDT-TB3-V1 the adapter and ports behaved just the same as described above, like it had no effects, at least for me.
When I was using SSDT-TB3-V1, it had conflict with usb (not mounting) but not HDMI.
When using SSDT-TYPC-DSMFIX.aml only, results was the same as without any TB SSDT at all. (usb + hdmi worked but only when usb-c adapter plugged at boot, no hotplug/replug).
I can only test HDMI & USB on my side since I haven't any TB device at hand now. If anyone can test, it would be much appreciated.
Ok, I must have not been paying attention when testing. You're right, it's not truly hot/re pluggable. I'm starting to think the USB C docks and USB A ports thing is a USB ports issue. I will try some other things but I'm starting to give up hope here, lol. Maybe a while before I come back with some changes on this.
Even with KNNSpeed's untouched TYPC SSDT it's not hotplug/repluggable.
My ear pods work ok, no volume control but mic works fine. Have had conversations plenty as well as voice records and no issues here. Let us know how the USB-C adapter works out for ya.
Most people are not very sensitive to sound quality. English is not my first language and my hearing ability is reduced so for me it takes enormous amount of effort to understand english speaking person through phone line or a bluetooth headset. Skype is better than most other solutions (like Viber or Telegram) but still not perfect, so I developed a habit of insisting on best possible option - FaceTime + iPhone quality level microphone.
When plugging EarPods directly to XPS, microphone sound wasn't bad when making Skype call (obviously Skype applies normalization filter to input audio) but when placing FaceTime call, microphone volume was too low.
After that I've started ordering USB sounds cards and at some point came across CTIA compatible one (for those you don't need 3.5mm splitter to plug EarPods in). I've started looking for all CTIA compatible USB sounds cards I could find and found 3 most popular.
To my surprise, VENTION (known for noise cancellation promise on their USB cards) was as noisy as any regular junk USB sound card, and Ugreen wasn't loud enough on max mic volume, but least promising one finally gave me good enough sound. That one even provides its own hardware volume control buttons. Unfortunately they are not as convenient as those provided by EarPods, especially when used with Desktop computer, but still this card was a major break through for me.
iGPU Framebuffer Update @carking
Screen no longer flickers during wake from sleep when opening lid. This was actually an easy fix. Spoofing to Sky Lake iGPU in the Framebuffer fixes this and other iGPU issues in the spoiler. It also additionally needs lilucpu=8 in boot args.
"Problems with Kaby Lake Graphics There are some currently known issues with Kaby Lake graphics:
-Connecting HDMI display or TV causes the Internal Display of the laptop to have very low refresh rate "look like" and laggy cursor.
- Unplugging the HDMI display or TV will leave your internal display of the laptop stay black and you will be forced to Hard Reboot by holding power button and then to boot again.
- Shadows, Backgrounds, Blurry images and Windows will appear pixelated and ugly looking." (source)]
This will be the standard config until we see fixes down the road. There is an identical config named, config kb.plist (Kaby Lake) as well so you can switch back and forth to see. If anyone notices any differences please share. I haven't noticed anything but I also haven't dealt with those other problems either.
And additional note, Framebuffer now implements a patch for 2048MB of VRAM instead of 1536MB. Can be helpful if you have multiple screens running especially if one of them is 4K. Seems a bit snappier but might just be placebo effect. Here's a screenshot if you need to change them around.
I spent all night messing around with it and I think I've come to a decent solution. I could only verify USB-C but I believe I left things intact for TB3. I ended up separating the hot patches to work together. Before trying there are some weird issues I had gone through b/c of testing different SSDTs and I'm certain that somethings in the system lingered because of it. Clearning NVRAM a couple times and rebooting without any SSDTs that deal with TB/USB-C and nothing plugged in can clear things up. Then restarting with only the original SSDT-TYPC.aml seemed to be the finishing touch before replacing with the two new files. I think something happens with the _DSM methods in certain SSDTs that screws it all up.
In short I ripped out the TB3 tree and only left the main device TBL3/DSB2
USB-C docks and devices work properly, full hot plug capable.
It keeps in KNNSpeed's method on acting like a PCI Express card.
You can plug before/after boot, the USB-C dock will register as a PCI-Express card. You get a little icon in the menu bar for a USB Controller and option to Power it off, don't power it off.
I tested with my backup USB flash drive attached to a USB-C dongle that has USB-C PD, HDMI 2.0 and a USB-A 3.0 port(link). HDMI works regardless. I didn't test my power delivery. You can unplug the dongle, the icon disappears in the menu bar, replug it, icon reappears and my drive is mounted. I did it multiple times. Also you can unmount the flash drive remove and replug and it mounts. Here's a screen of how my ioREG of this in action.
Here are 2 About/System Report Results. You'll get a USB 3.1 Bus and Express Card.
Previously SSDT-TYPC was not working because the fixes in clover ACPI/DSDT didn't seem correct. For _RMV rename fix, the Find and Replace were changed accordingly and to only apply fixes in RP15 we added the proper HEX to TgtBridge. I did similar for XTBT to YTBT. Below you can see the difference.
USB Port Mapping
I moved our port mapping method over to code less kext using USBPorts.kext. No longer needing USBInjectAll, SSDT-UIAC.aml, and SSDT-USBX.aml. Sweet.
Conclusion
Clover v3.2 zip is attached, I hope to hear some feed back. As I don't have Thunderbolt device I'm going to be running this as my daily b/c USB-C seems to work damn near perfect. I have only updated the guide a bit but will do a thorough update later. Really hoping some of you TB3 users can chime in. Thanks everyone.
EDIT: The config kb.plst is incorrect, I forgot to transfer a fix for it. I have attached a new one that is fixed, so replace it manually.
Thanks for your guide and all the effort you put in so far!
I'm now using hackintosh as a daily driver for about 6 months and It works just fine!
I tried your CLOVER v3.2, but it didn't work for me.
With the iGPU patch I'm not able to scale my 4k monitor to QHD anymore. Only “looks like” 1080p or 4k, which is either to big or to small (The monitor is conected via a USB-C to Displayport adapter and runs at [email protected]).
Though it still works with the Kaby Lake config file.
And my USB dongle (USB + USB-C + Ethernet) in not working either.
Also my IOReg looks different from yours.
Another question:
Since a few weeks the fan dosen’t stop spinning anymore and my XPS gets quiet hot. I suspect the Nvidia card to be responsible as the CPU is in full idle and the Intel power gadget shows a consumption of 1-2 W. How can I confirm that the graphics card isn’t disabled and how can I disable it?
I just copied your Clover and changed the serial number. I don’t have any other kexts or something like that.
...With the iGPU patch I'm not able to scale my 4k monitor to QHD anymore. Only “looks like” 1080p or 4k, which is either to big or to small (The monitor is conected via a USB-C to Displayport adapter and runs at [email protected]).
Though it still works with the Kaby Lake config file.
And my USB dongle (USB + USB-C + Ethernet) in not working either.
Also my IOReg looks different from yours. View attachment 401963
View attachment 401964
Another question:
Since a few weeks the fan dosen’t stop spinning anymore and my XPS gets quiet hot. I suspect the Nvidia card to be responsible as the CPU is in full idle and the Intel power gadget shows a consumption of 1-2 W. How can I confirm that the graphics card isn’t disabled and how can I disable it?
I just copied your Clover and changed the serial number. I don’t have any other kexts or something like that.
I use a 43" 4K, so I never scale it but I just checked and you are correct. Thanks for sharing. I don't have time now but will this weekend to see what I can do about that. Maybe going with Kaby Lake is still the best option. We will see.
Your IOREG is reminiscent on the issues I was having as well when trying multiple different SSDTs, the tree structure is sticking around from having the SSDT-TB3-V1 and plenty others I tried manipulating.
I suggest cleaning nvram at clover, F11 and restart.
If that doesn't clear it up remove both the SSDT-TB3-9560.aml and TYPC-9560 files.
Add the file attached SSDT-TYPC-KNN.aml, reboot, clear nvram.
Then remove it and put back SSDT-TB3-9560.aml and TYPC-9560.
I know it sounds like a stupid amount of work but that was the only way I could clear up my tree structure. Please let men now if that fixes it.
The fan issue I can't reproduce but I assure you if you are using these files, NVIDIA is disabled. A few people have brought this up and I haven't been able to figure it out. Might be a BIOS issue do you have the latest? Maybe reinstall just to be sure. Could also maybe be a bad sensor of some sort. A random idea though, you can turn off the SD Card in your BIOS maybe that will save some energy.
I'll take a look at your debug this weekend. Here's my Intel Power Gadget at almost idle. Make sure you're using the latest one.
I have been struggling pretty hard with some battery life issues on my 9560. coconutBattery reports 10~12ish watts on idle. Ive employed most the tricks I can find such as removing the CPUFriend/DataProvider kexts, enabling Intel PowerShift via EFI shell, disabling SD Card reader, yet I still seem to be burning flat within 2-2 1/2 hours. This is on the 57Wh battery not the 97.
I have been struggling pretty hard with some battery life issues on my 9560. coconutBattery reports 10~12ish watts on idle. Ive employed most the tricks I can find such as removing the CPUFriend/DataProvider kexts, enabling Intel PowerShift via EFI shell, disabling SD Card reader, yet I still seem to be burning flat within 2-2 1/2 hours. This is on the 57Wh battery not the 97.
Do you have an i5 7300HQ or i7 7700HQ, might want to fix your profile? Check using latest Intel Power Gadget instead. Try creating a different user and logging in to see if it's software related. Check your battery actual capacity, I'm at about 7500mAh and I can go a good 8 hours of light workload.
Attach debug files if you want someone to look into it further.
Since a few weeks the fan dosen’t stop spinning anymore and my XPS gets quiet hot. I suspect the Nvidia card to be responsible as the CPU is in full idle and the Intel power gadget shows a consumption of 1-2 W. How can I confirm that the graphics card isn’t disabled and how can I disable it?
Sorry I was in a rush yesterday, trying to grab happy hour drinks.
What are your temps during the fan spinning constantly? Luckily, I have never had this issue.
I came across the link below and it's pretty damning how many people have fan issues. I don't believe it's macOS related. Definitely BIOS related. As long as there's isn't a significant build up of dust or blockage of intake and exhaust. Our laptops take air in from underneath the screen and exhausts underneath.
The most reliable solution I've found to quiet the fan is to unplug from AC, suspend or hibernate the laptop, then plug the AC back in and finally 'resume'. If the laptop becomes unplugged and is plugged back in again, the fan will kick back on and you will have to repeat the suspend gimmick. It...
Last thing is Intel Power Gadget I think would only show power used from the CPU not the whole system so I don't think that is a valid method to check....
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.