bugtracker icon indicating copy to clipboard operation
bugtracker copied to clipboard

USBmap clean up

Open khronokernel opened this issue 4 years ago • 3 comments

At the moment, a few sections are confusing for the end user or needs better clarification:

  • [ ] Expand on Fixing USB Power
    • Mention power tunning and using an Injector Kext for older SMBIOS
    • Mention USBX devices cause sleep issues on AMD: https://github.com/dortania/bugtracker/issues/15
  • [ ] Expand on Instant Wake Patch section
    • Properly explain what those renames and SSDTs do
  • [ ] USBX requires EC only on 10.14 and older
    • USBX devices cause sleep issues on AMD
  • [ ] USBInjectAll can help resolve missing ACPI ports
    • Would like to outright remove USBInjectAll in the future with USBToolBox
  • [ ] Mention mapping issues with USBMergeNub on Catalina with AMD
    • See here: https://github.com/dortania/bugtracker/issues/15
  • [ ] Mention mapping via IOService pathing(avoids controller renames for AMD)
    • ie:
IOPathMatch | String | IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/GP13@8,1/IOPP/XHC@0,3/XHC@60000000

khronokernel avatar Jun 17 '20 20:06 khronokernel

USBInjectAll can help resolve missing ACPI ports

for Intel, need to do other stuff for AMD - maybe check if RHUB _STA method pans out?

dhinakg avatar Jun 17 '20 20:06 dhinakg

Hi, may I add one more point? Not even sure if its right, but after creating the USBMap.kext and disabling the XhciPortLimit quirk and deleting USBInejctAll, can RHUB also be removed? I did remove RHUB and my USB seems to work fine on my MSI Z490 Tomahawk, ports are being displayed in Hackintool.

I actually wonder how I know that I need RHUB at all ... From the RHUB/Fixing USB page it says "issues when booting" and I don't seem to have issues booting. (Still takes some time booting but am currently re-doing those ACPI things manually)

matis-schotte avatar Oct 02 '20 11:10 matis-schotte

FWIW, see here for an example of the correct simple way (that works under Catalina and an AMD matisse chipset USB controller) to do port mapping and USB power settings all in the same kext, without SSDT-EC or SSDT-USBX.

  • https://www.tonymacx86.com/threads/applebuspowercontroller-usb-power-using-usbports-kext-and-device-ssdts.293581/post-2086358
  • https://github.com/corpnewt/USBMap/issues/20

johncolby avatar Dec 19 '20 00:12 johncolby