Repository navigation
Conversation
mbalous
force-pushed
the
feature/usb-direct-audio
branch
from
November 28, 2026 11:02
357bc13 to
5062ea5
Compare
Add direct USB playback, native route ownership, and Bluetooth fallback. The candidate audio routes require verification on the target head unit. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
mbalous
force-pushed
the
feature/usb-direct-audio
branch
from
December 3, 2026 00:14
cf1663a to
ab6daac
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Status and limitations
Draft; incomplete and not verified on the target car. A previous deployment of this branch produced no audio. The code still attempts ALSA
entertainment/connection0x315andcarplay_alt/0x31awithout firmware detection. Jiraiya43/EntryNav2-Android-Auto#143 reports that pairing audible on an X1 F48, but it does not establish compatibility with the target EntryNav2. A table response, route grant or PCM open does not prove audible output. Supra's QNX0x1d0and A2I endpoint cannot be assumed to map to those Linux interfaces.Remaining implementation work: verify and gate the target profile; support simultaneous media/navigation focus and native navigation-volume semantics; validate and correct long-term drift; handle audio-triggered HMI transitions; establish mic/focus compatibility. The current prompt path switches between routes and is not equivalent to upstream's simultaneous routing. This PR must not be considered full Supra audio parity.
Verification
CI passed on
cf1663a: style and PC tests, PC sanitizers, and the ARM link-only SDK build. The latest fixes were not built or tested locally at the user's request. Added tests cover system discovery, ACK progress/timeout/restarts, bounded queues and trimming, short prompts, missing prompt PCM, route cleanup and refusal without fallback. Parked-car results are pending.Checking the ALSA devices and vMOST route IDs on the car
With the car parked, SSH into the head unit. Run the matching ARM
evo-checkfrom the directory where you copied it; it is a development tool and is not installed with the service../evo-check --context. Record the firmware (/etc/version) and inspect/etc/asound.confand/proc/asound/pcm. The branch expectsentertainment(48 kHz S16LE stereo) for music/system audio andcarplay_alt(48 kHz S16LE mono) for guidance. Check the ALSA configuration, including any files it loads, for those PCM names;/proc/asound/pcmlists kernel devices, not necessarily the configured ALSA aliases../evo-check --audio-routeswith Android Auto stopped to capture a baseline. Start wired Android Auto and run it while playing music (look forroute 0x0315 status 0), then repeat during a navigation prompt (look forroute 0x031a status 0; a short prompt may be too brief to sample). Repeat after Stop/unplug and check that any route claimed by the service was released. The command only reads the ConnectionMaster table. An ID missing from the idle table does not mean the head unit cannot build it./var/local/data/AA/service.log. Look for[AudioRoute]grant/release messages,[AudioOutput]open/configuration/write errors, andaudio media(ch9)/audio guidance(ch8)messages. If the read-only probe misses a brief prompt or cannot run during playback, use the service log for route timing. Verify music and guidance are actually audible through the speakers; neither a route grant nor an ALSA open proves that. Redact network details and vehicle identifiers before sharing diagnostic output.Before hardware acceptance