Contribute
Register

CustoMac Desktop USB Fixes - 10.11+ Reference

Joined
Mar 30, 2016
Messages
3
Motherboard
Lenovo Thinkstation S30
CPU
C600/X79
Graphics
8400
Mac
  1. iMac
  2. MacBook
  3. Mac mini
  4. Mac Pro
Mobile Phone
  1. Android
  2. iOS
Hey guys

Sorry I'm kinda lost with the whole "missing usb keyboard and mouse" when i've managed to boot and gotten to the install screen.

I am installing Sierra on Lenovo s30 Thinkstation
specs are:

xeon Processor 3.7ghz
Nvidia Geforce 8800
32gb Ram

I have checked every single option in this forum and replaced kexts but still i come out short. Please help if possible it would really mean a lot. This is day 4 of trying to solve this.

Thank you in advance
 
Joined
Jan 13, 2013
Messages
9
Motherboard
Gigabyte H370 HD3
CPU
i7-8700K
Graphics
HD 630
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Please anyone maybe has a fix to my problem with usb ports getting disconnected after a while in Mojave.

Here is my thread about it but so far didn't got any information on how to fix it.


Thanks in advance
 
Joined
Sep 20, 2011
Messages
111
Motherboard
Gigabyte Z370M D3H
CPU
i5-8600K
Graphics
RX 580
Mac
  1. iMac
  2. MacBook Pro
Mobile Phone
  1. iOS
Hi, when trying to do an USB mapping on Gigabyte H77n and smbios iMac 15,1 following this guide https://dortania.github.io/OpenCore...eparation.html#checking-what-renames-you-need
I always lose power on USB ports when renaming them as suggested. I use Opencore 0.6.8 and this guide works on all newer machines that I have. The script from corpnewt tells all ok after renaming, but power is lost and no usb sticks or whatever will show. The machine works else with powermngmt etc. on Big Sur 11.2, but I hesitate to update to 11,3 before this is done. USBX.aml does not work, tried even if it is not supposed to work on this setup.

So in short, the renaming in it self, makes the power go away. Very strange! Any tip?
 
Joined
Sep 20, 2011
Messages
111
Motherboard
Gigabyte Z370M D3H
CPU
i5-8600K
Graphics
RX 580
Mac
  1. iMac
  2. MacBook Pro
Mobile Phone
  1. iOS
Hi, when trying to do an USB mapping on Gigabyte H77n and smbios iMac 15,1 following this guide https://dortania.github.io/OpenCore...eparation.html#checking-what-renames-you-need
I always lose power on USB ports when renaming them as suggested. I use Opencore 0.6.8 and this guide works on all newer machines that I have. The script from corpnewt tells all ok after renaming, but power is lost and no usb sticks or whatever will show. The machine works else with powermngmt etc. on Big Sur 11.2, but I hesitate to update to 11,3 before this is done. USBX.aml does not work, tried even if it is not supposed to work on this setup.

So in short, the renaming in it self, makes the power go away. Very strange! Any tip?
24 hours later, still no success...Tried with Hackintool, did not work. Did anybody try to USB-mapping on Ga-H77n and Big Sur (11.2.3)? As soon as I remove USBInjectAll and XhciPortLimit it ends with this: see pics
As I said in post #353 when only renaming the ports it will boot to desktop, but without any power on the ports.
I was hoping that Hackintools ACPI´s would solve it, but it seems complicated, or perhaps I don't understand what I read...
 

Attachments

  • IMG_0689.JPG
    IMG_0689.JPG
    3.3 MB · Views: 63
  • IMG_0690.JPG
    IMG_0690.JPG
    2.4 MB · Views: 63

UtterDisbelief

Moderator
Joined
Feb 13, 2012
Messages
8,466
Motherboard
Gigabyte Z590i Aorus Ultra - OC 0.8.0
CPU
i5-10600k
Graphics
Dell RX560
Mac
  1. iMac
  2. Mac mini
Classic Mac
  1. eMac
  2. iBook
Mobile Phone
  1. Android
24 hours later, still no success...Tried with Hackintool, did not work. Did anybody try to USB-mapping on Ga-H77n and Big Sur (11.2.3)? As soon as I remove USBInjectAll and XhciPortLimit it ends with this: see pics
As I said in post #353 when only renaming the ports it will boot to desktop, but without any power on the ports.
I was hoping that Hackintools ACPI´s would solve it, but it seems complicated, or perhaps I don't understand what I read...
Hi there.

What are you renaming from and to?

Which version of USBInjectAll are you using?

"H" series chipsets have different USB stacks to "Z" series. I haven't tested them all, obviously, but Hackintool will at least provide you with an SSDT-EC-USBX.aml to try.
 
Joined
May 10, 2011
Messages
2,715
Motherboard
Gigabyte B550 Vision D
CPU
Ryzen 5900X
Graphics
RX 6800
Mac
  1. iMac
  2. MacBook
  3. MacBook Air
  4. MacBook Pro
  5. Mac mini
  6. Mac Pro
Classic Mac
  1. Power Mac
  2. PowerBook
Mobile Phone
  1. iOS
If you are using USBInjectAll, you need to also have a SSDT-UIAC.aml map installed plus the XHCIPortLimit. If you’re not using USBInjectAll with SSDT-UIAC then you must deactivate them and enable a custom USBPort kext instead. It’s one or the other - and not both.

FYI there is a new USB mapping tool released this week called USBToolBox which can create USB map via Windows and Linux for Mac. You could perhaps try that and see if it works for you.

Other than that it could be you’ve not enabled any form of XPCM power management or SMBus kext or device. Use Hackintool to check which of your PCIe devices have power/not recognised or if they are disabled. That is a telltale sign.

Also check out Stork’s Thunderball II guide for his Z77X build on Big Sur. It may help you resolve or factfind some problems.
 

Feartech

Moderator
Joined
Aug 3, 2013
Messages
29,043
Motherboard
Asus N752VX-OpenCore
CPU
i7-6700HQ / HM170
Graphics
HD 530 1920 x 1080
Mac
  1. iMac
Mobile Phone
  1. iOS
If you are using USBInjectAll, you need to also have a SSDT-UIAC.aml map installed plus the XHCIPortLimit. If you’re not using USBInjectAll with SSDT-UIAC then you must deactivate them and enable a custom USBPort kext instead. It’s one or the other - and not both.

FYI there is a new USB mapping tool released this week called USBToolBox which can create USB map via Windows and Linux for Mac. You could perhaps try that and see if it works for you.

Other than that it could be you’ve not enabled any form of XPCM power management or SMBus kext or device. Use Hackintool to check which of your PCIe devices have power/not recognised or if they are disabled. That is a telltale sign.

Also check out Stork’s Thunderball II guide for his Z77X build on Big Sur. It may help you resolve or factfind some problems.
assumed you would disable XHCIPortLimit when you have a SSDT-UIC.aml and USBInjectAll.kext?
 
Joined
Sep 20, 2011
Messages
111
Motherboard
Gigabyte Z370M D3H
CPU
i5-8600K
Graphics
RX 580
Mac
  1. iMac
  2. MacBook Pro
Mobile Phone
  1. iOS
Hi there.

What are you renaming from and to?

Which version of USBInjectAll are you using?

"H" series chipsets have different USB stacks to "Z" series. I haven't tested them all, obviously, but Hackintool will at least provide you with an SSDT-EC-USBX.aml to try.
Hi, thanks for reading.
Since I started to use OpenCore I have used dortanias site as source for information apart from here of course. As you say this H series seems more difficult to set up than the newer ones of mine X370 and NUC8, and this one is old now, but still working quite nice.

So when running the script from https://github.com/corpnewt/USBMap/archive pic3. It suggest changing name from EHC1 and EHC2 to EH01 and EH02, as expected. However when I restart and the script tells all ok to continue, there is no power on the USB ports. So when inserting a usb3 stick to check the ports it says "port needs power" (translated, don't know how it would translate in English).

Also as you said I did try Hackintool, and I have used it on earlier versions of macOS, successfully. SSDT-EC-USBX.aml, and SSDT-UIAC.aml did not help in this case. As far as I understand they are also not recommended on this machine with Ivy Bridge. Tried anyway of course.

I mean there is so much talk about this USB-mapping before updating to 11.3, so I wanted to try this if it is possible.
Continue with USBinjectAll seems to be wrong way.

Thanks,
 

Attachments

  • 1.png
    1.png
    43.1 KB · Views: 70
  • 2.png
    2.png
    44.9 KB · Views: 73
  • 3.png
    3.png
    42.3 KB · Views: 62
Joined
Sep 20, 2011
Messages
111
Motherboard
Gigabyte Z370M D3H
CPU
i5-8600K
Graphics
RX 580
Mac
  1. iMac
  2. MacBook Pro
Mobile Phone
  1. iOS
Hi, thanks for reading.
Since I started to use OpenCore I have used dortanias site as source for information apart from here of course. As you say this H series seems more difficult to set up than the newer ones of mine X370 and NUC8, and this one is old now, but still working quite nice.

So when running the script from https://github.com/corpnewt/USBMap/archive pic3. It suggest changing name from EHC1 and EHC2 to EH01 and EH02, as expected. However when I restart and the script tells all ok to continue, there is no power on the USB ports. So when inserting a usb3 stick to check the ports it says "port needs power" (translated, don't know how it would translate in English).

Also as you said I did try Hackintool, and I have used it on earlier versions of macOS, successfully. SSDT-EC-USBX.aml, and SSDT-UIAC.aml did not help in this case. As far as I understand they are also not recommended on this machine with Ivy Bridge. Tried anyway of course.

I mean there is so much talk about this USB-mapping before updating to 11.3, so I wanted to try this if it is possible.
Continue with USBinjectAll seems to be wrong way.

Thanks,
USBinjectAll is version 0,7,5
 

UtterDisbelief

Moderator
Joined
Feb 13, 2012
Messages
8,466
Motherboard
Gigabyte Z590i Aorus Ultra - OC 0.8.0
CPU
i5-10600k
Graphics
Dell RX560
Mac
  1. iMac
  2. Mac mini
Classic Mac
  1. eMac
  2. iBook
Mobile Phone
  1. Android
USBinjectAll is version 0,7,5

Okay. Your English is fine. :thumbup:

With Big Sur running on a mixed controller - XHCI and EHCI - we have to remember no Mac ever had this setup, so there is no built-in code for it.

OS X expects the EHCI controllers to be called EH01 and EH02 and that is why we have the renames, however I have seen this crash Big Sur. Tested and tested. It's true. Maybe not for all chipsets ...

USBInjectAll.kext works with Big Sur but the XhciPortLimit can cause a lock-up since 11.3 which is why a USB kext is needed.

USBPorts.kext does include power settings, which I haven't seen in USBMap.kext.

It might be the case that renaming your EHCI controller on such a "veteran" CPU running Big Sur is a push too far. @RehabMan wrote the guide for USB power delivery but it is not an easy ride.

Sorry I don't have an instant answer to your problem, it is quite rare.

:)
 
Top