bugtracker icon indicating copy to clipboard operation
bugtracker copied to clipboard

UsbMapping has more work than needed

Open vit9696 opened this issue 4 years ago • 0 comments

Guide: OpenCore Post Install Guide (link)

The suggested path looks weird and overcomplicated.

  • IOProviderClass is unused, as it is not the property you match on but the property you expose. Therefore it can be pretty much anything. Making the user find it is unnecessary, just hardcode to e.g. AppleUSBXHCIPCI, but really whatever value will do.
  • IOPathMatch can be used, but in most cases it is enough to just use IONameMatch and the device name (as long the device name is unique), which is a lot shorter. E.g. I use IONameMatchXHCI.

vit9696 avatar Apr 28 '21 23:04 vit9696