XPS9350-macOS icon indicating copy to clipboard operation
XPS9350-macOS copied to clipboard

TYPE C hot plug

Open Yui-Huang opened this issue 7 years ago • 10 comments

Hi, Could your XPS9350 Type C hot plug work?

my laptop is Dell Latitude 5480, it could not hot plug,

I'm search method to let it work, do you have any idea?

Thanks

Yui-Huang avatar Nov 02 '17 03:11 Yui-Huang

OK I fix it.

DSDT.dsl.zip

Yui-Huang avatar Nov 02 '17 07:11 Yui-Huang

How did u fixed it?

RockJesus avatar Nov 10 '17 12:11 RockJesus

@RockJesus modify the DSDT

Yui-Huang avatar Nov 11 '17 18:11 Yui-Huang

I got the Dell TB15 yesterday, the TB3 is no hot plug, I have to plug in before boot, and the type-c on the TB15 is no hot plug, either. @syscl do you have any idea? I bought the TB15 from taobao, it is not expensive.

Yui-Huang avatar Nov 11 '17 18:11 Yui-Huang

Any work done on this? I have an almost perfect system thanks to the work done here. After waking from sleep (hotplug) I lose my dock until reboot. I'm not an expert on DSDT patching to know what to do here. Thanks!

kdb424 avatar Nov 16 '17 12:11 kdb424

@sdarktemplar how to patch with your attachment?

x4080 avatar Nov 17 '17 00:11 x4080

https://www.tonymacx86.com/threads/usb-c-hotplug-not-working.223534/ Seems like some work for general hotplug and TB3 are going on here. I thought I'd cross reference for those interested.

kdb424 avatar Nov 27 '17 14:11 kdb424

@sdarktemplar sorry, i cant compile your dsdt, pls help me :D screen shot 2018-02-07 at 11 21 21 pm

quanlou avatar Feb 07 '18 16:02 quanlou

Some progress on type-c hotplug:

https://github.com/hackintosh-stuff/XPS9350-macOS/blob/master/DSDT-backup/SSDT-XHC-alt/SSDT-XHC.dsl This is the ssdt currently I am using. It force-power the thunderbolt controller upon boot/wakeup. There is a expresscard tray icon, but eject the controller from tray icon will cause panic due to IOThunderboltFamily. Must detach type-c before wakeup.

https://github.com/hackintosh-stuff/XPS9350-macOS/blob/master/DSDT/SSDT-XHC.dsl Another ssdt similar to xps 15 9550 setup. Does not force-power thunderbolt controller, IOThunderboltFamily not loaded. Must attach type-c device before boot to make it work. Detach type-c device will eject XHC2 as well, and eject XHC2 from expresscard tray menu also works without panic. Re-attach type-c device does not bring XHC2 back. If XHC2 is ejected before sleep, when wake up with type-c already attached, XHC2 will be detected by IOPCIFamily again. If XHC2 is not ejected before sleep, XHC2 will not work as well.

I think the second approach would be better as long as we find out a way to tell IOPCIFamily to rescan PCI devices when attach type-c device.

@syscl

maz-1 avatar Nov 27 '18 16:11 maz-1