Contribute
Register

[Guide] Creating a Custom SSDT for USBInjectAll.kext

I use the USB mouse to test the port, only in the HP11 HP12 HP13 changes (HP11 HP12 is USB3.0 HP13 is USB2.0), in the XHC attribute did not change? PCI8086 9c24 is USB EHC1 #!!

As per guide, you must use both USB2 and USB3 devices to test all ports.
Please read post #1 again. Carefully.
 
Your SSDT for the USB ports you mention looks correct (from ioreg).
Your BIOS likely disables the EHCI controllers, so FakePCIID_XHCIMux would be nonsense (you would not want to route to disabled EHCI).
Your sleep issues are likely something else. Open a separate thread.
You can disable any port by omitting the port from the SSDT or by using uia_exclude kernel flag.
Thank you for confirmation. Btw, since the ports I've seen in IOReg before applying this custom SSDT method are the same after applied it, we can simply say this process is not necessary in my case, right?

Btw, my left 1 usb2.0 acting weird, whatever I plug into it, it keeps appears/disappears repeatedly. Then I got a warning it's not removed safely. It keeps plugged/unplugged behaviour until I physically remove it. Can it be physical issue with the port? I was using that port for my Logitech mouse receiver/transmitter on Windows, it was plugged all the time without any issues.

For Sleep/Wake I'm opening a new thread.

Thanks.
 
Last edited:
Btw, my left 1 usb2.0 acting weird, whatever I plug into it, it keeps appears/disappears repeatedly. Then I got a warning it's not removed safely. It keeps plugged/unplugged behaviour until I physically remove it. Can it be physical issue with the port? I was using that port for my Logitech mouse receiver/transmitter on Windows, it was plugged all the time without any issues.

You would need to provide "Problem Reporting" files that represent that scenario.
 
You would need to provide "Problem Reporting" files that represent that scenario.
How? Plugging a flash disk and letting it there for awhile while IOReg open, then send that IOReg copy with other PR files?
 
[QUOTE =“RehabMan,post:1567640,member:429483”]根据指南,您必须同时使用USB2和USB3设备来测试所有端口。
请再次阅读帖子#1。小心。[/ QUOTE]
Your ioreg shows it is attached to the internal bluetooth controller.



Your ioreg shows PR11 is attached to an internal hub (as expected... it is typical).
It shows PR21 is also attached to an internal hub (as expected).
According to ioreg, PR22 is not used, so not sure why you're asking about it.
I finally gave up FakePCIID_XHCIMux UIAC found automatically able to recognize USB3.0 and USB2.0, is it right? The EC under the ioreg attribute has AppleBUSPower, do i need to add another extra SSDT-EC to inject KUSBSleep * and KUSBSleepPort *?
 

Attachments

  • extract.zip
    50.7 KB · Views: 92
  • MacBook Air.ioreg
    6.8 MB · Views: 108
  • CLOVER 2.zip
    1.6 MB · Views: 87
I finally gave up FakePCIID_XHCIMux UIAC found automatically able to recognize USB3.0 and USB2.0, is it right? The EC under the ioreg attribute has AppleBUSPower, do i need to add another extra SSDT-EC to inject KUSBSleep * and KUSBSleepPort *?

Based on ioreg, no sign that you followed post #1.
 
Based on ioreg, no sign that you followed post #1.
Because I can't understand the case in # 1, I only installed the USBInjectAll. Kext.
 
Because I can't understand the case in # 1, I only installed the USBInjectAll. Kext.

Now you have to test each port with both a USB2 and USB3 device while IORegistryExplorer is running.
After you do that, it will be evident which ports are actually used (you can keep notes on the correlation of logical ports in ioreg -> physical ports).
From that data, you create a custom SSDT that has just the ports you need, and with the correct UsbConnector value.

In other words, keep going through post #1.
Unfortunately, I can't help with your comprehension of the english language.
 
Now you have to test each port with both a USB2 and USB3 device while IORegistryExplorer is running.
After you do that, it will be evident which ports are actually used (you can keep notes on the correlation of logical ports in ioreg -> physical ports).
From that data, you create a custom SSDT that has just the ports you need, and with the correct UsbConnector value.

In other words, keep going through post #1.
Unfortunately, I can't help with your comprehension of the english language.
What do you mean to abandon the backward compatible with USB, the work he conveys to XHC unified management completely. If need to make sure EC01 is responsible for the port to better him to XHC delivery?
 
Back
Top