Hi
@RehabMan and everyone else,
I am trying to implement proper USB power property injection for my desktop but for some reason, when I change EC0 -> EC and the AppleBusPowerController loads, only the USB bluetooth and sometimes the keyboard work since when I try to plug in something else like a usb memory stick, macOS says that the device needs more power. If I disable the rename patch and the power properties are not injected, the USBs work just fine (second attached file). I just wanted to implement it so I can be sure that everything is implemented as it should be (like a real mac) so I don't encounter sleep issues or other issues (which I don't currently experience).
As you will notice in the attached file (the first file - debug_5071 - this is the one with EC renamed and the power properties injected), a current of 2100 and power of 5100 is injected and that should be more than enough however, i also noticed that the 'kUSBBusCurrentAllocation' is only 150 (when you select the usb port in IOReg - in this case 'SSP1'). I think that this is where the problem lies but I am unsure how to fix this and if it is possible to override, what value to override it with. I also noticed that the USB memory stick called 'Ultra Fit' connected to SSP1 (in the IOReg) has a property called 'KUSBFailedRequestedPower'. So my deduction is that the memory stick request the power but it gets refused by the OS.
I also tried to override the values from those of iMac14,2 and that caused the keyboard to not work at all.
I don't know why I am facing this issue of lack of power and would really appreciate it if you could please help me. Thank you in advance!