sakoula / XiaoMi-Air-6200U

Hackintosh Xiaomi Mi Air 13.3 Skylake-U 2016 for macOS Catalina & Mojave & High Sierra
67 stars 17 forks source link

Shutdown issue #14

Open postadelmaga opened 3 years ago

postadelmaga commented 3 years ago

Hi, First of all thank you for provide this repository :) I read here and there that shutdown issue could be related to USB mapping ... if that is wrong the shutdown_fix doesn't work ...

I wonder if you are aware of that and if you reviewed the USB mapping ...

whtiehack commented 3 years ago

As mentioned earlier(#11), changing the left USB 3.0 to 2.0 may solve this problem.

sakoula commented 3 years ago

@postadelmaga thanks for the information. In the past I tried to fix it with the ways that they are pointed in the link. Unfortunately no luck.

@whtiehack I am aware of this technique but I prefer to have an extra USB3 port working. Having said that, for a while in the past I had disabled the 'USB3 personality' of the left and right USB port when using Clover and the shutdown was fixed. However I stopped using this for obvious reasons a long time ago.

I had some time yesterday and I tried it under Big Sur 11.1 with OC 0.6.3 but unfortunately it seems that a lot of things changed and it is not working anymore. If you want to edit it yourselves you can go in the EFI folder and edit the OC/Kexts/USBMap.kext/Contents/Info.plist. I have added comments. Get rid of the profiles you want.

I will try to see why this used to work with clover but I am short of time recently.

I will be VERY happy to fix it but I am short of ideas. If you find any information/threads on the subject please share it with me.

I was thinking more that this is a things that is related to _PTS and I was looking into that more. See my comments on the FixShutdown-USB.dsl

// january 2021
// The idea is to fix _PTS to fix shutdown
// there are many fixes floating around. The most known are
// * https://dortania.github.io/OpenCore-Post-Install/usb/misc/shutdown.html
// * https://github.com/RehabMan/OS-X-Clover-Laptop-Config/blob/master/hotpatch/SSDT-RMCF.dsl
// * https://github.com/RehabMan/OS-X-Clover-Laptop-Config/blob/master/hotpatch/SSDT-PTSWAK.dsl
//
// I tried looking into
// * 2.1.JahStories.clover
//
// I tried looking in a number of laptops in github on _PTS
// * https://raw.githubusercontent.com/SukkaW/ThinkPad-E480-Hackintosh/master/Origin-ACPI/DSDT.dsl
// * https://github.com/gajjartejas/Lenovo-Ideapad-320-15ISK-14ISK-Laptop-Hackintosh
// * https://raw.githubusercontent.com/SiddheshNan/Acer-A515-51G-Hackintosh/master/ACPI/patched/DSDT.dsl
sakoula commented 3 years ago

I just thought of something. Most likely I will manage to try it during the weekend. I will keep you updated

itq5 commented 3 years ago

I just thought of something. Most likely I will manage to try it during the weekend. I will keep you updated

有最新进展吗?

panichev-sa commented 3 years ago

I have XiaoMi Air 13.3 Skylake-U 2016 model, same problem, OpenCore 0.6.9 and last Big Surs. Everything is working. But it does not turn off normally :(

panichev-sa commented 3 years ago

Fix Shutdown, need replace port-count data "EAAAAA==" to HS07-port "BwAAAA== in USBMap.kext. Work on Catalina. On Big Sur not working :(