Contributing

How to Contribute

Open Apollo is a community-driven project. We need help from Apollo owners to test on different models, capture device data from working systems, and contribute code improvements.


Tier 1: Test on Linux (easiest)

If you have an Apollo connected to a Linux machine, this is the most straightforward way to help.

What to do

  1. Clone the repo and check dependencies (common to both connection types):

    git clone https://github.com/rolotrealanis98/open-apollo.git
    cd open-apollo
    ./scripts/check-deps.sh
    

    If you are not sure which connection type your Apollo uses, see the Installation guide.

  2. Install the driver for your connection type:

    • Thunderbolt Apollo (x-series, Twin/Arrow Thunderbolt) — Apollo powered off when you start; power on when the installer prompts:
      sudo bash ./scripts/install.sh
      
    • USB Apollo (Solo USB, Twin X USB) — Apollo plugged into a USB 3.0 port and powered on before running:
      sudo bash ./scripts/install-usb.sh
      
      The USB installer writes /tmp/open-apollo-usb-install-report.json and offers to upload it.
  3. Generate the report to submit:

    • Thunderbolt Apollo: from the repo root, run the device probe script:
      sudo ./tools/contribute/device-probe.sh
      
      The probe expects the Thunderbolt ua_apollo kernel module and uses lspci, so it does not work on USB Apollos.
    • USB Apollo: use /tmp/open-apollo-usb-install-report.json from step 2. Do not run device-probe.sh.
  4. Test basic functionality and note what happens:

    • Does aplay -l show your Apollo?
    • Does audio playback work?
    • Does recording work?
    • Do preamp controls respond?
  5. Submit a device report with your probe/install report and test notes.

What we learn

Even a simple "driver loaded, audio plays" report on a model we haven't tested is enormously helpful. It lets us mark that model as verified and gives other users confidence.


Tier 2: Capture device data (advanced)

The most valuable contribution is capturing device configuration data from a working system (macOS). This data tells us exactly how each Apollo model configures its audio routing, which is essential for supporting models we don't have physical access to.

macOS capture

Requires temporarily disabling System Integrity Protection (SIP) to use DTrace. The capture script is read-only — it observes driver behavior without modifying anything.

See the full guide: Device Capture (macOS)

After capturing

See Submitting Your Data for how to review and submit your capture.


Tier 2b: Run the install matrix

The repository includes Docker-based install matrix tests that validate the driver builds and all configs deploy correctly across supported distros. Running these helps catch regressions:

bash tests/test-install-matrix.sh

This runs Dockerfiles in tests/docker/ for Ubuntu, Fedora, Arch, Debian, openSUSE, Mint, Pop!_OS, and Manjaro. Requires Docker installed locally.


Tier 2c: Add a device descriptor

Each supported model has a descriptor at devices/apollo-<model>.json. The mixer daemon reads these to map a driver device_type to a model name and its control map, and they double as the record of what has actually been confirmed on that hardware. Adding one for your model is a small, self-contained pull request.

FieldMeaningWhere to get it
modelDisplay name, e.g. Apollo x8pdmesg banner
device_typeDriver type constant, e.g. "0x20"Daemon startup line, or driver/ua_apollo.h
subsystem_idPCI subsystem ID, e.g. "0x0014"dmesg banner, or lspci -nn
serial_prefixModel group — serial digits 5–8Serial (see below)
serial_leadingSerial digits 1–4Serial (see below)
channelsplay / rec counts at 48 kHzdriver/ua_audio.c channel table
preamps / hizAnalog preamp count, and how many support Hi-ZDevice spec
featuresDigital I/O present, e.g. ["spdif", "adat"]Device spec — mark unconfirmed in notes
statusenumerates (driver binds) or verified (audio confirmed)Your testing
contributorYour GitHub handle
notesWhat you confirmed, and what you did not

Read the identifiers from the kernel log with the device connected:

sudo dmesg | grep -iE 'ua_apollo.*(FPGA rev|serial)'

The banner line gives the model name, FPGA revision, subsys, DSP count, and firmware version. The serial: line gives the full 16-character serial. On macOS or Windows, the UAD System Profile report lists the same serial as Serial number.

Split the serial at the right place. The driver matches digits 5–8, not the leading four — ua_read_serial_type() compares at serial + 4. For a serial reading 2019 2005 01xxxx, serial_prefix is 2005 and serial_leading is 2019.

Putting the leading digits in serial_prefix will misidentify hardware. That exact 2019 belongs to the x8p in the driver's serial table, so an Apollo x4 filled in the wrong way claims to be an x8p.

Some models cannot be resolved by serial at all: the x8p's own model group is 2017, which collides with the x8 entry, which is why it is pinned by PCI subsystem ID instead. If your model's serial_prefix matches a different model's table entry in driver/ua_apollo.h, say so in notes — that collision is useful, not an error to hide.

If you take the serial from a UAD System Profile report, submit only the serial. Do not include the Hardware ID line — that identifies your plug-in authorizations, not your device. Redacting the tail of the serial (2019 2005 01xxxx) is fine and preferred; only the first eight digits are meaningful here.


Tier 3: Code contributions

We welcome pull requests for bug fixes, new features, and documentation improvements.

Getting started

  1. Fork the repository on GitHub
  2. Create a feature branch:
    git checkout -b feat/your-feature-name
    
  3. Make your changes
  4. Test your changes (build the driver, run the daemon)
  5. Commit using conventional commits:
    git commit -m "feat: add support for Apollo Twin X preamp routing"
    
  6. Push and open a pull request

Commit message format

We use conventional commit prefixes:

PrefixUse for
feat:New features
fix:Bug fixes
docs:Documentation changes
refactor:Code restructuring without behavior change
test:Adding or updating tests
chore:Build, CI, or tooling changes

What we need most

  • USB device testing — People with Apollo Twin USB or Twin X USB willing to test install-usb.sh and report results
  • Thunderbolt device testing — People with non-x4 Apollo models willing to test and report
  • Routing table captures — DTrace or BAR0 captures from untested Thunderbolt models
  • Mixer daemon improvements — Protocol edge cases, error handling
  • Kernel patch — Submit the snd-usb-audio GET_RANGE quirk for VID 0x2B5A to alsa-devel
  • Documentation — Corrections, clarifications, additional examples

Reporting issues

If something doesn't work, please open an issue with:

  • Your Apollo model
  • Linux distribution and kernel version (uname -r)
  • Output of dmesg | grep ua_apollo
  • What you expected vs. what happened
  • Steps to reproduce

Code of conduct

Be respectful, constructive, and patient. This is a reverse-engineering project — things break, behavior is surprising, and progress is incremental. Every contribution, no matter how small, moves the project forward.

Previous
Configuration