It looks like that frame has those connectors pipe values set to 10 by default. If we knew exactly what the pipe value meant I could probably tell you but we don't. Maybe @RehabMan can help you?
Looks like I was examining the codec VID's of the wrong AppleHDAController entry. I've uploaded a new version of FB-Patcher (1.5.4) can you please give it a try?
The bug in FB-Patcher was because I was looking at the first instance of AppleHDAController which was under HDAU and (as you mention being nVidia audio) did not match any VID's in AppleALC. Now I specifically look at the HDEF (or HDAS if it doesn't exist) entries. Thanks for clarifying that.
No. That would only grab ports on XHC. It won't get ports on EH01/EH02 or ports on the hubs typically connected to EH01.PR11, EH01.PR21.
PRxx on EH0x are of type AppleUSBEHCIPort.
HPxx on the hubs are of type AppleUSB20InternalIntelHubPort. But that's only if the PRxx it is attached to is marked internal (UsbConnector=255). Non internal hub ports would be AppleUSB20IntelHubPort.
Maybe you could match against AppleUSBHostPort, as all have that in their inheritance tree.
Thanks to this post I've added support for EHxx ports by using an AppleUSBHostPort search.
So I have a user who has an EH01 USB controller and tried USBPorts.kext generated by FB-Patcher.
I don't really understand why but once he installed USBPorts.kext his EH01 port that has the "Microsoft Nano Transceiver v2.0" plugged into it changed from HP13 to PR13. Also the "portType" / "UsbConnector" entries have gone from the EH01 ports even though I'm injecting them in USBPorts.kext.
I've attached ioreg_before.txt and ioreg_after.txt as well as the USBPorts.kext. Any chance you could take a look?
Hub ports require a different IOKitPersonalities section, different matching criteria (they match on location). Refer to examples that Apple provided in /System/Library/Extensions/IOUSBHostFamily.kext/Contents/PlugIns/AppleUSBHub.kext/Contents/Info.plist or look at the matching criteria used for hub ports in USBInjectAll/Contents/Info.plist.
Thanks RehabMan. Can you please take a look at this version. Is it correct now?
What about usb 2 ports ?
On my Haswell laptop HPxx ports are not recognised by this tool.
default 16:22:02.177505 +0100 launchservicesd CHECKIN:0x0-0x44044 2930 com.Headsoft.FBPatcher
error 16:22:02.337459 +0100 FBPatcher AEGetDescData of non-desc type 'reco' not a good idea
default 16:22:02.340217 +0100 FBPatcher Initializing General
default 16:22:02.340323 +0100 FBPatcher Model Identifier: iMac14,2
default 16:22:02.340422 +0100 FBPatcher IntelGen: Haswell
default 16:22:02.340544 +0100 FBPatcher PlatformId: 0x04120004
default 16:22:02.341252 +0100 FBPatcher GPU: Intel HD Graphics 4600 (0x0412, 0x8086)
default 16:22:02.341428 +0100 FBPatcher Quartz Extreme Supported: Yes
default 16:22:02.341458 +0100 FBPatcher Metal Supported: Yes
default 16:22:02.341484 +0100 FBPatcher Metal Device Name: NVIDIA GeForce GTX 980 Ti
default 16:22:02.341506 +0100 FBPatcher Metal Low Power: No
default 16:22:02.341525 +0100 FBPatcher Metal Headless: No
default 16:22:02.341545 +0100 FBPatcher Total VRAM available: 1536 MB
default 16:22:02.341565 +0100 FBPatcher Free VRAM available: 4379 MB (4592214016 Bytes)
default 16:22:02.341627 +0100 FBPatcher Initializing Bundle Data
default 16:22:02.342709 +0100 FBPatcher Initializing Settings
default 16:22:02.346741 +0100 FBPatcher Initializing Audio
default 16:22:02.347308 +0100 FBPatcher Success Getting Codec VID Array
default 16:22:02.347340 +0100 FBPatcher Found Audio Codec VID: 0x0900
default 16:22:02.368715 +0100 FBPatcher Initializing Menus
default 16:22:02.368889 +0100 FBPatcher Initializing USB
default 16:22:02.401554 +0100 FBPatcher Initializing Installed
default 16:22:02.402252 +0100 FBPatcher Initialization Done
default 16:22:12.192048 +0100 FBPatcher LSExceptions shared instance invalidated for timeout.