Skip to content

ucm2 USB-Audio: Add support for ASUS Xonar U7 - #622

Open
nutzeeer wants to merge 1 commit into
alsa-project:masterfrom
nutzeeer:add-asus-xonar-u7
Open

ucm2 USB-Audio: Add support for ASUS Xonar U7#622
nutzeeer wants to merge 1 commit into
alsa-project:masterfrom
nutzeeer:add-asus-xonar-u7

Conversation

@nutzeeer

@nutzeeer nutzeeer commented Oct 5, 2025

Copy link
Copy Markdown

Add UCM profile for ASUS Xonar U7 USB audio interface (1043:8586) to fix incorrect output mapping and enable hardware volume control.

Audio topology:
hw:1,0: S/PDIF PCM Output (rear panel)
hw:1,1: S/PDIF AC3 Passthrough (not exposed - compressed audio only)
hw:1,2: Analog Multi-Channel Output
-2ch: Front Headphone Jack
-4ch: Front + Rear outputs
-6ch: Front + Rear + Center/LFE outputs
-8ch: All outputs (Front + Rear + Center/LFE + Side)

Key changes:

  • Direct hardware PCM mixer control via PlaybackMixerElem
    • Avoids double volume control (software + hardware), preserves full dynamic range and bit depth (better sound quality)
  • All output modes exposed (stereo, 4.0, 5.1, 7.1, S/PDIF)
    • Surround output not tested due to lack of setup
  • Fixes incorrect generic UCM mapping of analog output to S/PDIF device

Without this UCM, the generic USB-Audio profile incorrectly maps analog output to hw:1,0 (S/PDIF), resulting in no audio output when plugging in headphones.

Add UCM profile for ASUS Xonar U7 USB audio interface (1043:8586).

Hardware provides:
- Analog multi-channel output (2/4/6/8ch) via hw:1,2
  - Front headphone jack (hardware-switched with rear analog)
  - Rear outputs for surround setups
- S/PDIF digital output via hw:1,0

Key improvements:
- Direct hardware mixer control via PlaybackMixerElem
  - Eliminates double volume control (software + hardware)
  - Preserves full dynamic range and bit depth
  - System volume slider directly controls hardware PCM mixer (numid=7)
- All output modes properly exposed (stereo, 4.0, 5.1, 7.1, S/PDIF)
- Fixes incorrect generic UCM mapping of analog output to S/PDIF device

Without this UCM, the generic USB-Audio profile incorrectly maps
analog output to hw:1,0 (S/PDIF), resulting in no audio output.
@perexg

perexg commented Oct 29, 2025

Copy link
Copy Markdown
Member

@perexg
perexg force-pushed the master branch 10 times, most recently from 90b4ed1 to 67998e1 Compare March 30, 2026 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants