Contribute
Register

A Beginner's Guide to Creating a Custom USB SSDT

Joined
Aug 17, 2011
Messages
300
Motherboard
GA-Z170MX-Gaming 5
CPU
i5 7400
Graphics
HD630
Classic Mac
Classic, LC, Power Mac
Mobile Phone
iOS
Let us know which USB kexts you have installed and where ... :thumbup:
FakePCIID_XHCIMux.kext, GenericUSBXHCI.kext, USBInjectAll.kext in Library/extensions

IOUSBAttachedSCSI.kext, IOUSBFamily.kext, IOUSBHostFamily.kext, IOUSBMassStorageClass.kext, IOUSBMassStorageDriver.kext in System/Library/Extensions

This is all I can find,
 

UtterDisbelief

Moderator
Joined
Feb 13, 2012
Messages
2,169
Motherboard
Gigabyte Z370M D3H
CPU
i3-8350K
Graphics
RX 560
Mac
iMac, Mac mini
Classic Mac
eMac, iBook
Mobile Phone
iOS
Okay. That looks good :thumbup:

So what about the kexts you are using?
FakePCIID_XHCIMux.kext, GenericUSBXHCI.kext, USBInjectAll.kext in Library/extensions

IOUSBAttachedSCSI.kext, IOUSBFamily.kext, IOUSBHostFamily.kext, IOUSBMassStorageClass.kext, IOUSBMassStorageDriver.kext in System/Library/Extensions

This is all I can find,
That's fine.

Try without - FakePCIID_XHCIMux.kext and GenericUSBXHCI.kext - you still need USBInjectAll.

(Doing so should restore your ports correctly. HOWEVER please back things up. There is no reason this might stop your PC booting or make it go belly-up, but for safety ensure you have a working UniBeast flash-drive installer handy to boot from in emergencies etc.)

Never touch anything in S/L/E unless you put it there. That's your system.

Also I re-edited post #170 while you were replying, so check it again :thumbup:
 
Last edited:
Joined
Aug 17, 2011
Messages
300
Motherboard
GA-Z170MX-Gaming 5
CPU
i5 7400
Graphics
HD630
Classic Mac
Classic, LC, Power Mac
Mobile Phone
iOS
A far as the damaged ports go, I had a power suppiy go out. Right before it went it was powering those ports erratically. Sometimes they would be powered up even after I turned off the machine. Then one time I turned the switch off on the p/s after the computer shut down and I saw the lights in the room flicker and then she was dead. I installed a new p/s and those ports were dead. They are dead when I boot Linux straight from the bios too. I am assuming you saw my post re the kexts.
 
Joined
Aug 17, 2011
Messages
300
Motherboard
GA-Z170MX-Gaming 5
CPU
i5 7400
Graphics
HD630
Classic Mac
Classic, LC, Power Mac
Mobile Phone
iOS
So I did a bit more testing and found that all the USB three ports and the single USB 3.1 type C port all work under Linux, even in the yellow ports. However, my USB 2 Flash drive does not work in any of the USB three ports, but works fine in the yellow ports. I forgot to check devices other than drives, so I'll go and try to plug in a printer and USBDAC audio converter and see what happens and update this soon as I find out.
 
Joined
Aug 17, 2011
Messages
300
Motherboard
GA-Z170MX-Gaming 5
CPU
i5 7400
Graphics
HD630
Classic Mac
Classic, LC, Power Mac
Mobile Phone
iOS
I take back what I said about all the ports working under Linux. Actually, only USB 3 devices work on the USB 3 ports. They do not appear to be backwards compatible to USB two. USB two devices are only working in the two yellow USB ports at the top of the stack next to the PS two port. Perhaps it's related to the damaged ports. However, it seems that I should be able to get USB three ports working under the Mac OS. The disk that my operating system is on is getting long in the tooth and is undersized. Perhaps a new SSD and a clean install of the operating system is in order.
 

UtterDisbelief

Moderator
Joined
Feb 13, 2012
Messages
2,169
Motherboard
Gigabyte Z370M D3H
CPU
i3-8350K
Graphics
RX 560
Mac
iMac, Mac mini
Classic Mac
eMac, iBook
Mobile Phone
iOS
I take back what I said about all the ports working under Linux. Actually, only USB 3 devices work on the USB 3 ports. They do not appear to be backwards compatible to USB two. USB two devices are only working in the two yellow USB ports at the top of the stack next to the PS two port. Perhaps it's related to the damaged ports. However, it seems that I should be able to get USB three ports working under the Mac OS. The disk that my operating system is on is getting long in the tooth and is undersized. Perhaps a new SSD and a clean install of the operating system is in order.
Did you try removing the FakePCIID_XHCIMux.kext I mentioned in post #172 ?

The fact that a bunch of USB2/3 ports have been moved away from the XHC controller to RP is an indicator this might be involved.

(Sounds like you know what you are doing, but perhaps keep a working copy of the entire EFI folder somewhere safe in case needed).

The other kext - GenericUSBXHCI - is for external controllers and might not be needed. For the main ports it isn't.

As your Linux install also has problems with the ports I guess it could well be that hardware damage causing issues.
 
Last edited:
Joined
Aug 17, 2011
Messages
300
Motherboard
GA-Z170MX-Gaming 5
CPU
i5 7400
Graphics
HD630
Classic Mac
Classic, LC, Power Mac
Mobile Phone
iOS
It remains a puzzle to me. USB 3 drives are seen, but their volumes will not mount. I searched for a replacement motherboard, thinking that I might upgrade from a 100 series board to a 200 series board, however, the prices of last generation boards are crazy. I ordered a new SSD. When it arrives I am going to try a clean install of the os. Thanks for working with me on this.
 
Top