Contribute
Register

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

RehabMan

Moderator
Joined
May 3, 2012
Messages
184,477
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Even after i remove “...” then
The only error remains 6126 syntax error “unexpected $end and premature End-of-file” in line 28

You would need the appropriate number of close braces.
You might want to learn a bit about ACPI before attempting to write AML code.

I tried imac 14.1 also, but no good..

iMac14,1 is also Haswell... (much newer than your hardware).

Is there anything close to my specs u can suggest..??

You should refer to everymac.com.

I suspect the problem of usb power coz

Unlikely... such problems with power usually manifest at the time of USB device insertion.

So acc to me when gt710 on pcie needs power to render graphics
The usb not having adequate power fluctuates..

May be hardware issue (inadequate power supply?)
Test same on Windows.

So should i go through ssdt-uiac or AppleLpc( if applelpc then please giude me through how to do it)

AppleLPC is important. And off-topic here. Search for solutions with search/google.
 
Joined
Jun 2, 2018
Messages
11
Motherboard
P5KPL-VM G31-Clover Legacy
CPU
Q8400
Graphics
GT 710
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
You would need the appropriate number of close braces.
You might want to learn a bit about ACPI before attempting to write AML code.



iMac14,1 is also Haswell... (much newer than your hardware).



You should refer to everymac.com.



Unlikely... such problems with power usually manifest at the time of USB device insertion.



May be hardware issue (inadequate power supply?)
Test same on Windows.



AppleLPC is important. And off-topic here. Search for solutions with search/google.



I have 400w power supply
N have windows 7 2nd Hdd , also tried with ubuntu live USB
Everything works fine even in Osx Yosemite works fine..

But the problem is in sierra only.




Or could it be just gt710 which is 2gb ddr5

Earlier in Yosemite it was gt610 which is ddr3

Ddr5 vs ddr3 can it be..???
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
184,477
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
I have 400w power supply
N have windows 7 2nd Hdd , also tried with ubuntu live USB
Everything works fine even in Osx Yosemite works fine..

But the problem is in sierra only.




Or could it be just gt710 which is 2gb ddr5

Earlier in Yosemite it was gt610 which is ddr3

Ddr5 vs ddr3 can it be..???

I don't think your problem is related to USB power property injection.
Your continued posts here are off-topic.
 
Joined
Jun 2, 2018
Messages
11
Motherboard
P5KPL-VM G31-Clover Legacy
CPU
Q8400
Graphics
GT 710
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
I don't think your problem is related to USB power property injection.
Your continued posts here are off-topic.
sorry, one last thing

Screen Shot 2017-05-18 at 18.48.40.png


this is voiletdragon's usb screen which after inserting usb device 'extra operating current remains 1600'





mine.jpeg

and this is my usb screen from system information which has 0 extra operating current
and same is with the usb hub I insert(which worked fine in Yosemite)
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
184,477
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
sorry, one last thing

View attachment 338578

this is voiletdragon's usb screen which after inserting usb device 'extra operating current remains 1600'





View attachment 338579
and this is my usb screen from system information which has 0 extra operating current
and same is with the usb hub I insert(which worked fine in Yosemite)

No idea without the ioreg that corresponds.
 
Joined
Jun 2, 2018
Messages
11
Motherboard
P5KPL-VM G31-Clover Legacy
CPU
Q8400
Graphics
GT 710
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
No idea without the ioreg that corresponds.


now this ioreg is with a usb flash drive and my usb audio interface scarlet 2i4
no extras operating current
and 2i4 needs extra operating current coz it has a 48v phantom supply switch mode which will not work without adequate USB power.

please find the ioreg file in attachments Sir.
 

Attachments

  • jagjeet’s iMac.ioreg.zip
    392.1 KB · Views: 38

RehabMan

Moderator
Joined
May 3, 2012
Messages
184,477
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS

RehabMan

Moderator
Joined
May 3, 2012
Messages
184,477
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
if all my USB ports are active

do I still need port injection..??

Your ports/controllers are not properly configured. Refer to the guide.
 
Joined
Jun 2, 2018
Messages
11
Motherboard
P5KPL-VM G31-Clover Legacy
CPU
Q8400
Graphics
GT 710
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Your ports/controllers are not properly configured. Refer to the guide.
hello @RehabMan

with the help of this guide (fake ec controller) n port injection in AppleUSBEHCIPCI.kext (6 ports)
so now the ports are loaded in EC (please have a look in ioreg in the archive)
through dsdt patches (through clover)


so please can u guide me as to which kext I should insert the power property manually (kusbportcurrent)
(as I have no plans for upgrading/updating the os in this built, hence no override issues .. please correct me if I am wrong)

thank you.
 

Attachments

  • Archive.zip
    2.4 MB · Views: 63
Top