# corpnewt/USBMap

Python script for mapping USB ports in macOS and creating a custom injector kext.

Repository: https://github.com/corpnewt/USBMap
Canonical: https://ross.abutalabs.com/products/usbmap
Language: Python
License: MIT
License Family: permissive
Last push: 2025-12-13T23:43:45+00:00

## Health v2 (maintenance only)
Score: 58/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 57, release rhythm 35, longevity 100
- inputs: {"age_days": 2852, "days_push": 263, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1249, forks 97 (observed 2026-08-28T04:04:07.889323+00:00)

## What it is
A Python script for macOS that discovers and maps USB ports on a system, working around macOS's 15-port-per-controller limit. It generates a custom injector kext so all physical USB ports function at their correct speeds.

## Use cases
- map usb ports on hackintosh
- fix usb 3 ports only running at usb 2 speeds in macos
- create custom usb injector kext without USBInjectAll
- work around macos 15 port limit
- generate USBMap.kext for my motherboard
- rename xhci controller via acpi for usb mapping

## When to choose
- you're building or maintaining a Hackintosh and need all USB ports working
- you want a USBInjectAll-free, system-specific USB mapping kext
- you need to map XHCI, EHCI, OHCI, or UHCI controllers including AMD chipsets

## When to avoid
- you're on Linux or Windows - the mapping process runs in macOS
- you need USB mapping for a real Mac, which typically doesn't require it
- you want an automated one-click solution - the process requires manually plugging devices into every port

## Facets
- artifact type: cli-tool
- maturity: active
- function: developer-tools, cli
- domain: operating-systems, hardware
- platform: python, cli
- tags: hackintosh, usb-mapping, kext-injector, opencore, xhci, port-limit-patch, usb, kexts, driver-development, macos

## Member repositories
- corpnewt/USBMap (main) score 58

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:07.889323+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T05:07:47.135959+00:00, confidence not recorded.
  - readme: https://github.com/corpnewt/USBMap (fetched 2026-08-28T04:04:07.889323+00:00, sha f573e32c3360)
- Data as of 2026-08-30T08:39:29.467469+00:00.
