Skip to content

Repository files navigation


Hardware Sniffer (Linux)

A Linux-only hardware inventory tool that produces JSON reports and ACPI dumps for use with OpCore Simplify and similar OpenCore-focused workflows. Derived from Hardware Sniffer by Hoang Hong Quan; this repository is maintained independently for machines running Linux.

AboutUpstreamFeaturesHow To UseCreditsMaintainerLicense

For a longer explanation of the Hackintosh / OpCore context and how this fork relates to the original project, see docs/background-and-lineage.md.

Table of Contents
  1. About / Why this fork
  2. Upstream projects
  3. Features
  4. How To Use
  5. Credits and lineage
  6. Maintainer
  7. License

About / Why this fork

People who install macOS on non-Apple hardware (“Hackintosh”) often use OpCore Simplify to turn a structured hardware report into an OpenCore-oriented configuration. The original Hardware Sniffer project was built around Windows (WMI) for that report.

This repository keeps the same goal—export Report.json and ACPI tables in a shape suitable for OpCore-oriented tooling—but implements collection only on Linux (sysfs, lspci, lsusb, etc.). That lets you generate a report from a Linux install or live environment without booting Windows. OpCore-oriented path sanitization (for example ACPI/PCI formats) is preserved where applicable in the Linux pipeline.


Upstream projects

Project Description
OpCore Simplify Automates OpenCore configuration from hardware data.
Hardware Sniffer (upstream) Original hardware reporter (Windows-focused); this fork’s lineage.

Features

  • OpCore-oriented output: Writes Report.json under your chosen output directory and can dump ACPI tables (.aml) for workflows that expect those artifacts.
  • Comprehensive hardware collection (Linux): Motherboard, CPU, GPU, monitors, network, audio, USB controllers, input, storage controllers, biometrics, Bluetooth, SD controllers, and system devices—via sysfs and related interfaces; lspci and lsusb where needed (e.g. pciutils, usbutils on Fedora: sudo dnf install pciutils usbutils).
  • Detection helpers: Chipset hints from PCI data, CPU codename from family/model/stepping heuristics, GPU codename from PCI IDs, input connection types (e.g. i2c, USB).

How To Use

Dependencies

  • Python 3, plus lspci and lsusb. On Fedora:
    sudo dnf install python3 python3-pip pciutils usbutils
  • Python deps: from the repo root, pip install -r requirements.txt (see requirements-linux.txt).

Run from source

  • Non-interactive (hardware collection → Report.json → ACPI copy; may prompt for sudo):
    python3 Hardware-Sniffer-CLI.py -e -o SysReport
  • Interactive menu:
    python3 HardwareSniffer.py

ACPI tables are copied from /sys/firmware/acpi/tables into <output>/ACPI/ using sudo where required.

Project layout


Credits and lineage

This Linux-focused fork is maintained separately; see Maintainer.

Contributions (issues, pull requests) are welcome in this repository for the Linux fork.


Maintainer

Owner / maintainer (this repository): Jameel Ahmad (jnzlab)

For questions about this fork (Linux reporting, issues, contributions), use this repository’s GitHub issues and the contacts above. For the original Hardware Sniffer or OpCore Simplify upstream behavior, refer to the upstream repositories.


License

Distributed under the BSD 3-Clause License — see LICENSE. This project derives from upstream Hardware Sniffer; respect upstream and third-party licenses when redistributing.


Disclaimer

Installing macOS on non-Apple hardware may conflict with Apple’s software license. This tool only helps collect hardware information on Linux; you are responsible for how you use that data and for complying with applicable laws and licenses.

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages