Contribute
Register

[Guide] USB power property injection for Sierra (and later)

You would need to find an iMac17,3 ioreg or ACPI set if you were curious about what values it uses.

Please note that iMac17,3 may be fictional (something you imagined?). everymac.com has no mention of it.
Yes, edited my post; I had meant to say iMac18,3. Actually realized I had access to a legit iMac18,3 from which I could dump an IOReg; it reveals that its values are the same as those for the iMac17,1.

So, for my machine (which has no EC to rename), I need to: create a fake EC, then provide the USBX section with the iMac17,1 values (same as iMac18,3). Correct?
 
Yes, edited my post; I had meant to say iMac18,3. Actually realized I had access to a legit iMac18,3 from which I could dump an IOReg; it reveals that its values are the same as those for the iMac17,1.

So, for my machine (which has no EC to rename), I need to: create a fake EC, then provide the USBX section with the iMac17,1 values (same as iMac18,3). Correct?

Correct.
 
So after mistakenly attempting to put the dummy EH creation and USBX patches together in the SSDT-UIAC file, I broke each out into separate SSDT patches (SSDT-EC and SSDT-USBX). However, now that I re-read your post 1, it seems I can put the USBX part in as a section of UIAC. I’m guessing that means EC needs to remain as its own .aml patch file?

EDIT: Re-read post 1 and it seems that is the case.
 
Last edited:
Hi, Rehabman.
Since you have said "In Sierra, these appear to be replaced by new properties that are injected on the AppleBusPowerControllerUSB object in ioreg.", does that mean we don't need SSDT-XHC any more if a SSDT-USBX.aml is loaded in Serra.
 
So after mistakenly attempting to put the dummy EH creation and USBX patches together in the SSDT-UIAC file, I broke each out into separate SSDT patches (SSDT-EC and SSDT-USBX). However, now that I re-read your post 1, it seems I can put the USBX part in as a section of UIAC. I’m guessing that means EC needs to remain as its own .aml patch file?

EDIT: Re-read post 1 and it seems that is the case.

It is always possible to combine any SSDT content that was in separate files into a single file.
 
Hi, Rehabman.
Since you have said "In Sierra, these appear to be replaced by new properties that are injected on the AppleBusPowerControllerUSB object in ioreg.", does that mean we don't need SSDT-XHC any more if a SSDT-USBX.aml is loaded in Serra.

It seems that legacy properties are still used, so you should have both (just as a real Mac).
 
Hi friends...!!!
I have a strange issue with USB3.0.
I have two USB3.0 ports and separately these work fine, but if I use them at the same time, the second port, generates a alimentation issue. Only if I use an USB3.0 device, If use an USB2.0 device work fine...
I use USBIjectAllkext.kext, renames patch in DSDT and disabled pots limits in clover...
 

Attachments

  • Captura de pantalla 2018-06-15 a las 10.38.58.png
    Captura de pantalla 2018-06-15 a las 10.38.58.png
    63 KB · Views: 107
  • Captura de pantalla 2018-06-15 a las 10.41.40.png
    Captura de pantalla 2018-06-15 a las 10.41.40.png
    76.7 KB · Views: 114
  • Captura de pantalla 2018-06-15 a las 10.41.59.png
    Captura de pantalla 2018-06-15 a las 10.41.59.png
    16.9 KB · Views: 106
  • Captura de pantalla 2018-06-15 a las 10.44.17.png
    Captura de pantalla 2018-06-15 a las 10.44.17.png
    75.3 KB · Views: 111
  • MacBook Pro de Kali.ioreg
    9.1 MB · Views: 101
  • DSDT.aml
    86.4 KB · Views: 130
Last edited:
Hi friends...!!!
I have a strange issue with USB3.0.
I have two USB3.0 ports and separately these work fine, but if I use them at the same time, the second port, generates a alimentation issue. Only if I use an USB3.0 device, If use an USB2.0 device work fine...
I use USBIjectAllkext.kext, renames patch in DSDT and disabled pots limits in clover...

"Problem Reporting" files are incomplete.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
Use the gen_debug.sh tool mentioned in the FAQ, that way it is less likely you'll omit something.
 

Attachments

  • debug_14547.zip
    2 MB · Views: 93
Hi experts,

I don't have USBX in the IOReg.
Could you take a look if the implementation seems ok or needs any improvement?

Thanks
 

Attachments

  • Clover.zip
    2.1 MB · Views: 81
  • Patchmatic.zip
    66.4 KB · Views: 72
  • IOReg.ioreg
    18.2 MB · Views: 114
Back
Top