[USB-Audio - ALC4080] Front panel: Headphone output not working

Bug #1954628 reported by Gijs Peskens
40
This bug affects 8 people
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I have a MSI MAG X570s Torpedo MAX motherboard, which has an onboard 'Starship/Matisse HD Audio Controller' (-> ALC4080 USB based audio chip) controller that has a weird mapping via USB audio (see bug: https://bugzilla.kernel.org/show_bug.cgi?id=206873 for a similar configuration).

Sound via line-out works fine without any interventions.

Headphone output however does not, while Ubuntu correctly detects the headphones as being plugged in when selected sound is still output via line-out, instead of via the front panel headphone jack-out.

After some debugging I figured the headphones are connected to a seperate Alsa device on the same card as the line-out.
Running 'pacmd load-module module-alsa-sink device=hw:2,1' gives me a working audio output that plays just via the headphone out.

I guess a quirk needs to be written for the configuration.

ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: alsa-base 1.0.25+dfsg-0ubuntu7
ProcVersionSignature: Ubuntu 5.13.0-22.22-generic 5.13.19
Uname: Linux 5.13.0-22-generic x86_64
ApportVersion: 2.20.11-0ubuntu71
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC2: gijs 2129 F.... pulseaudio
 /dev/snd/pcmC2D1p: gijs 2129 F...m pulseaudio
 /dev/snd/controlC0: gijs 2129 F.... pulseaudio
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Mon Dec 13 09:28:19 2021
InstallationDate: Installed on 2020-12-06 (371 days ago)
InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Release amd64 (20201022)
PackageArchitecture: all
SourcePackage: alsa-driver
Symptom: audio
Symptom_AlsaPlaybackTest: ALSA playback test through plughw:Audio successful
Symptom_Card: USB Audio - USB Audio
Symptom_PulsePlaybackTest: PulseAudio playback test successful
Symptom_Type: Only some of outputs are working
Title: [USB-Audio - USB Audio, playback] Playback problem
UpgradeStatus: Upgraded to impish on 2021-09-28 (75 days ago)
dmi.bios.date: 07/09/2021
dmi.bios.release: 5.17
dmi.bios.vendor: American Megatrends International, LLC.
dmi.bios.version: A.00
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: MAG X570S TORPEDO MAX (MS-7D54)
dmi.board.vendor: Micro-Star International Co., Ltd.
dmi.board.version: 1.0
dmi.chassis.asset.tag: To be filled by O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: Micro-Star International Co., Ltd.
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInternational,LLC.:bvrA.00:bd07/09/2021:br5.17:svnMicro-StarInternationalCo.,Ltd.:pnMS-7D54:pvr1.0:rvnMicro-StarInternationalCo.,Ltd.:rnMAGX570STORPEDOMAX(MS-7D54):rvr1.0:cvnMicro-StarInternationalCo.,Ltd.:ct3:cvr1.0:skuTobefilledbyO.E.M.:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: MS-7D54
dmi.product.sku: To be filled by O.E.M.
dmi.product.version: 1.0
dmi.sys.vendor: Micro-Star International Co., Ltd.

Revision history for this message
Gijs Peskens (gijspeskens) wrote :
summary: - [USB-Audio - USB Audio, playback] Headphone output mapped incorrectly
+ [USB-Audio - ALC4080] Front panel: Headphone output not working
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in alsa-driver (Ubuntu):
status: New → Confirmed
Revision history for this message
Patrick Beckmann (patrickbeckmann23) wrote (last edit ):

I have a "MAG X570S TOMAHAWK MAX WIFI (MS-7D54)", which seems to be nearly identical except of WiFi and a M.2 cooler. On Ubuntu 22.04 the same problem exists. The above mentioned "pacmd" call works with that as well and allows front panel headphone audio, while running a similar command,
  pacmd load-module module-alsa-sink device=hw:2,3
allows me to use the SPDIF. Thanks a lot for hint!

Revision history for this message
bricobrac (bricobrac) wrote :

I also have a MAG X570S TOMAHAWK MAX WIFI motherboard and am having the same problem.

For me, the card number seems to vary whenever I reboot, so I have to use a command like this

pacmd load-module module-alsa-sink device=hw:`aplay -l | grep "USB Audio" | head -n 1 | cut -d " " -f 2 | cut -d ":" -f 1`,1

I have to run thie manually and running it automatically doesn't work. For example, it doesn't work properly in /etc/crontab or /etc/profile.d because pulse audio isn't loaded in time.

Revision history for this message
Gijs Peskens (gijspeskens) wrote :

Also affects Jammy. Unfortunately my work around script doesn't work anymore due to the Audio plumbing having been changed.

Revision history for this message
chris freeman (clfreeman) wrote :

I'm having this issue with an MPG x570s Carbon Max Wifi board. I am also using ubuntu 22.04 and know future versions of ubuntu will use pipewire. Is there a way to apply this workaround using pipewire/wireplumber?

Revision history for this message
Guillermo Céspedes Tabárez (dertin) wrote :

Hello, I have the same problem with Z690 AORUS ULTRA (rev. 1.x)

test it works
$ aplay -D plughw:`aplay -l | grep "USB Audio" | head -n 1 | cut -d " " -f 2 | cut -d ":" -f 1`,1 /usr/share/sounds/alsa/Front_Center.wav

$ pacmd load-module module-alsa-sink device=hw:`aplay -l | grep "USB Audio" | head -n 1 | cut -d " " -f 2 | cut -d ":" -f 1`,1

Is it possible to do some configuration so that this is fixed permanently?

Revision history for this message
Gijs Peskens (gijspeskens) wrote :

This is still affecting me @23.04 Lunar Lobster

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.