Contribute
Register

[Release] Hackintool v3.x.x

Hi @headkaze

got some troubles in USB patching because - for a strange reason I cannot point out - the SS ports are not visible (in the 2ns seed of your guide) so there is no way to map them correctly. And - at last - your kext has being generated without them. I don't know how to solve it!

TIA!
 

Attachments

  • z370I_ioreg.zip
    5.8 MB · Views: 71
  • Screenshot 2018-12-20 at 13.02.35.png
    Screenshot 2018-12-20 at 13.02.35.png
    101.5 KB · Views: 121
  • Screenshot 2018-12-20 at 12.25.13.png
    Screenshot 2018-12-20 at 12.25.13.png
    138.6 KB · Views: 153
  • USBPorts.kext.zip
    1.1 KB · Views: 66
I doubt you need all the advanced patches you have enabled there.
yes.. you're right. actually i just choose what's patch where i need like actual port hdmi i used & setup usb 2/3 port. in the pict i just make sure everything going work like it should when check list configuration. awesome tools for latest hackintosh. thx
 
Hi @headkaze

got some troubles in USB patching because - for a strange reason I cannot point out - the SS ports are not visible (in the 2ns seed of your guide) so there is no way to map them correctly. And - at last - your kext has being generated without them. I don't know how to solve it!

TIA!

Can you please run "ioreg -l >ioreg.txt" from Terminal and post your ioreg.txt here.
 

Attachments

  • debug_29247.zip
    4.9 MB · Views: 68
Is this for desktops only or laptops as well ?
 
Started on USB Port Patching

Generated USBPorts.kext, installed it in EFI/CLOVER/kexts/Other (via copy/paste)
Removed USBInjectAll.kext, XHCI-unsupported.kext from EFI/CLOVER/kexts/Other and placed on desktop (drag and drop)
Removed Clover Renames (XHC, EH01, EH02)

***Deleted USBInjectAll.kext from L/E from initial Multibeast installation

These are the connectors on my IO Panel

upload_2018-12-21_10-28-48.png

This is the behavior...

Connectors A
HS09/10 - can accept USB2.0 and USB3.0 devices, though they are limited to 480Mb/sec (expected)

Connectors E
HS05/06 | SS05/06 - can accept USB2.0 at 480Mb/sec, does not acknowledge USB3.0 devices
HS07/08 | SS07/08 - can accept USB2.0 at 480Mb/sec, does not acknowledge USB3.0 devices

Connector G
HS01 | SS01 - can accept USB2.0 at 480Mb/sec, can accept USB3.0 at 5Gb/sec (expected)

Ports on Top of Case
HS03/04 | SS03/04 - can accept USB2.0 at 480Mb/sec, does not acknowledge USB3.0 devices
This should be connected to a USB3.0 Header on the motherboard
 

Attachments

  • USBPorts.kext.zip
    1.1 KB · Views: 86
Last edited:
Can you please run "ioreg -l >ioreg.txt" from Terminal and post your ioreg.txt here.
Solved! My mistake was not to consider the SSxx ports not physically present on the motherboard but logically present on the I/O tree.
 
Interesting Guide. I'm currently running a almost fully working i7 8700k, AMD RX580 Nitro+ 8GB. While I still need to try out the Framebuffer fixes to see if they improve anything with Graphic Acceleration this post is about the USB port mapping, and creating a USB kext.

With this board, it appears as if it can't go above the 15 port limit. which means I needed to disable 3 ports that are active. Currently I've used the SSDT technique by @RehabMan https://www.tonymacx86.com/threads/guide-creating-a-custom-ssdt-for-usbinjectall-kext.211311/ to successfully disable HS07,HS08 (USB 2.0) and HS12 (aura internal LED controller) to have SS04-06 working fully as USB 3.0 ports.

So when I came across this thread I thought I give this technique a go...

So I've disabled my SSDT-UIAC.aml and went through the list of ports in the FB patcher app. I can see two device id's for USB controllers:

One is a XHC 200-series Vendor: 0x8086 Device: 0xA2AF controlling the main USB port
The other is PXSX Unknown Vendor: 0x1B21 Device: 0x2142

But what's interesting is in regards to the USB 3.1 C front port and possible LocationID conflictions. Which may explain the issues I'm having with any drives that are plugged into the 3.1 gen2 ports ejecting when the computer wants to go to sleep. (current workaround is using the App Jettison)

And just a side note, the Gen 2 speeds definitely work with the ASMEDIA controller, but it's the eject issues which is still a problem.

So here's what I found:

There are 3 x USB 3.1g2 ports from the ASMEDIA controller on a Asus Maximus X Code.

In ioreg the front C-type port is on:
RP07@1C,6/IOPP/PXSX@0/PXSX@01000000

The back 3.0 Red A and C type ports are on:
RP05@1C,4/IOPP/PXSX@0/PXSX@01000000

The 2.0 controllers for the back USB gen2 ports are on:
PRT3@01300000 (type C)
PRT4@01400000 (type A)


The 3.0 controllers for the back USB gen 2 ports are on:
PRT1@01100000 (type C)
PRT2@01200000 (type A)


I can see these populating as well in Intel FB Patcher app, no issues here...


NOW for the front Type C port.
In ioreg:
USB 2.0 is port:
HS01@00300000

USB 3.0 is port:
SS02@00200000

Now when I plug it a USB device FB patcher it sharing the same port as the XHC controller for USB 2.0 HS01 (Front Left USB port) and USB 3.0 SS02 (front right USB port). And I can confirm 2 x USB 3.0 devices will not register if plugged simultaneously into the front right USB port and the front USB C port.


I don't believe they would be sharing bandwidth as they are on completely different controller boards.


In ioreg the complete Port Location ID for the Front Left HS 2.0 port is:
HS01@14100000 (vs HS01@00300000 of the C port)

the Front Right SS 3.0 is:
SS02@14500000 (vs SS02@00200000 of the C port)

Is there a way to rename the USB 2/USB 3 LocationId's for this front USB C port so that there is no confliction?

Either rename the front USB C location ID's to something similar as the Back ports using a PRTX preface instead of a HSXX/SSXX preface?


Am I on to something here with the eject issues with the ASMEDIA 3.1 controller on these boards?
 

Attachments

  • Value’s iMac.ioreg
    5.3 MB · Views: 122
  • config.plist
    24.6 KB · Views: 152
I am working on a new mac mini 8,1 symbios for my daughter with Gig H310n mobo, Sapphire 560, i3-8100, BCM m2.wifi card. I attempted to create a USB kext. There are two USB 3.1 ports and two USB 2 ports on the back of the mobo. The internal connection for the front panel is two USB 3.1 ports. I identified, renamed and removed USB ports as set forth in the guide. Exported and installed the USB kext and performed clean up. IOreg properly reports only the 7 potential USB ports I am using. Sorry for the long winded explanation, but the question I have is when I look at the USB tab in about this mac, system report, devices currently connected to USB ports (BCM m.2 wifi (renamed internal) and wireless keyboard and mouse (renamed USB2)) still show up under USB 3.1 devices. Is this expected behavior even though renamed in intel framebuffer app prior to exporting and installing kext?
 

Attachments

  • Mac mini.ioreg
    5.1 MB · Views: 158
Back
Top