I'm stuck in a loop! No Sound, won't recognize motherboard jacks

I’m new to using Manjaro Linux with an onboard Realtek audio device. Despite having 3.5mm jacks for surround sound, only USB audio devices are recognized. I’ve tried reloading ALSA, reconfiguring audio settings, and reinstalling alsa-utils, but the system doesn’t detect the motherboard’s audio jacks. Additionally, the alsa service isn’t available to restart, and there are errors regarding asound.conf and missing firmware. How can I get the system to recognize my onboard audio jacks and configure surround sound properly?

Hi and welcome,

In general system info may be helpful

inxi -Farz

What errors?

Do you have alsa-firmware and/or sof-firmware installed ?

System:  
  Kernel: 6.12.1-4-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 14.2.1  
    Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.43 wm: xfwm4 v: 4.18.0  
Machine:  
  Type: Desktop System: Micro-Star product: MS-7D53 v: 1.0  
  Mobo: Micro-Star model: MPG X570S EDGE MAX WIFI (MS-7D53) v: 1.0  
    UEFI: American Megatrends LLC. v: 1.80 date: 11/01/2023  
CPU:  
  Info: model: AMD Ryzen 7 2700X bits: 64 type: MT MCP arch: Zen+ gen: 1+  
  Speed (MHz): avg: 3874 high: 4150 min/max: N/A cores: 16 tpc: 2  
Graphics:  
  Device-1: NVIDIA GeForce RTX 4070 Ti driver: nvidia v: 550.135  
Audio:  
  Device-1: NVIDIA AD104 High Definition Audio driver: snd_hda_intel  
  Device-2: Logitech C922 Webcam driver: snd-usb-audio  
  API: ALSA v: k6.12.1-4-MANJARO tools: alsactl, alsamixer  
Network:  
  Device-1: Realtek RTL8125 2.5GbE driver: r8169  
  Device-2: Intel Wi-Fi 6E AX210 driver: iwlwifi  
Bluetooth:  
  Device-1: Intel AX210 Bluetooth driver: btusb  
Drives:  
  Local Storage: total: 6.84 TiB used: 27.98 GiB (0.4%)  
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 980 500GB size: 465.76 GiB  
Partition:  
  ID-1: / raw-size: 465.47 GiB size: 457.09 GiB fs: ext4  
Sensors:  
  System Temperatures: cpu: 46.4 C gpu: nvidia temp: 49 C  
  Fan Speeds (rpm): N/A gpu: nvidia fan: 0%  
Info:  
  Memory: total: 16 GiB available: 15.54 GiB used: 4.01 GiB (25.8%)  
  Processes: 365 Init: systemd v: 256 Shell: Bash v: 5.2.37  

With kindness and respect, I’ve had to use gpt to clean this up so it is postable to forum due to issues with “links”.
Mod edit: gpt did this job worse than any beginner :wink: : How to format
I have ran the install for both alsa and sof.

While certain anti-spam rules disallow new users from posting links,

The forum does not stop even apparent links from being posted if enclosed in code tags or tics.

The output is incomplete, and possibly due to these changes.

Make sure to use the code button </> when sharing output.

A comprehensive guide including formatting etc is here:

Have you tried other kernels, such as 6.6 LTS?

My quick perusal seems to indicate this is not the latest available BIOS.

This motherboard has Realtek ALC4080 codec for onboard audio that is recognised as a USB device in ALSA

No sound from optical port (S/PDIF out - Realtek ALC 4080) with MSI MAG X570S Edge Max Wifi Mother Board - #13 by euler216

Looks like someone fixed this issue. At MPG X570S EDGE MAX WIFI compatibility · Issue #172 · alsa-project/alsa-ucm-conf · GitHub , perexg posted a fix. I went into my USB-Audio.conf file and made the same changes and I was able to get audio from the Optical output.

so i would basically paste this into my USB-Audio.conf file, removing the “#” to allow it to not be a comment, save it. Give the pc a good ol’ reboot for good measure. Then have a look at it from there? I’ll give that a try. I’ll let you know if it works for me. And thank you to all kindly for the responses, i’ve been up and down all night hoping to see some answers.

alsa-ucm-conf was patched to include ID for this motherboard in Feb 2023

$ grep 151f /usr/share/alsa/ucm2/USB-Audio/USB-Audio.conf
		# 0db0:151f MSI X570S EDGE MAX WIFI
		Regex "USB((0414:a0(0e|1[0124]))|(0b05:(19(84|9[69])|1a(16|2[07]|5[23c]|97|f1)))|(0db0:(005a|0b58|124b|151f|1feb|3130|36e7|4(19c|22d|240|88c)|543d|62a4|6c[0c]9|70d3|7696|82c7|8af7|961e|a(073|228|47c|74b)|b202|cd0e|d1d7|d6e7))|(26ce:0a0[68b]))"

The comment should not be uncommented

Use Case Manager configuration provides 3 HiFi profiles for PulseAudio/PipeWire

$ cat /usr/share/alsa/ucm2/USB-Audio/Realtek/ALC4080.conf
Comment "USB-audio on Realtek ALC4080"
SectionUseCase."HiFi" {
	File "/USB-Audio/Realtek/ALC4080-HiFi.conf"
	Variant."HiFi" {
		Comment "HiFi 2.0 channels"
	}
	Variant."HiFi 5+1" {
		Comment "HiFi 5.1 channels"
	}
	Variant."HiFi 7+1" {
		Comment "HiFi 7.1 channels"
	}
}

HiFi profile configurations – /usr/share/alsa/ucm2/USB-Audio/Realtek/ALC4080-HiFi.conf

Package alsa-utils includes alsaucm CLI tool

alsaucm — Arch manual pages
alsaucm (ALSA Use Case Manager) is a program to use the ALSA Use Case Interface ALSA project - the C library reference: Use Case Interface from the command line

My apologies, but can you break this down a bit? I’ve been staring at it like a math problem for a great while.

The HiFi profiles should be shown as PulseAudio or PipeWire profiles in

pactl list cards

command should also show if the output ports (jack sockets) are available

Card #52
	Name: alsa_card.usb-16042020V2_JLAB_TALK_MICROPHONE-00
	Driver: alsa
	Owner Module: n/a
	Properties:
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "0"
		api.alsa.card.longname = "16042020V2 JLAB TALK MICROPHONE at usb-0000:2a:00.1-6, full speed"
		api.alsa.card.name = "JLAB TALK MICROPHONE"
		api.alsa.path = "hw:0"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio0"
		api.dbus.ReserveDevice1.Priority = "-20"
		device.api = "alsa"
		device.bus = "usb"
		device.bus-id = "usb-16042020V2_JLAB_TALK_MICROPHONE-00"
		device.bus_path = "pci-0000:2a:00.1-usb-0:6:1.0"
		device.description = "JLAB TALK MICROPHONE"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-usb"
		device.name = "alsa_card.usb-16042020V2_JLAB_TALK_MICROPHONE-00"
		device.nick = "JLAB TALK MICROPHONE"
		device.plugged.usec = "5778590"
		device.product.id = "0x1004"
		device.product.name = "JLAB TALK MICROPHONE"
		device.serial = "16042020V2_JLAB_TALK_MICROPHONE"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:01.2/0000:20:00.0/0000:21:08.0/0000:2a:00.1/usb1/1-6/1-6:1.0/sound/card0"
		device.vendor.id = "0x0d8c"
		device.vendor.name = "C-Media Electronics, Inc."
		media.class = "Audio/Device"
		factory.id = "15"
		client.id = "47"
		object.id = "52"
		object.serial = "52"
		object.path = "alsa:acp:MICROPHONE"
		alsa.card = "0"
		alsa.card_name = "JLAB TALK MICROPHONE"
		alsa.long_card_name = "16042020V2 JLAB TALK MICROPHONE at usb-0000:2a:00.1-6, full speed"
		alsa.driver_name = "snd_usb_audio"
		alsa.mixer_name = "USB Mixer"
		alsa.components = "USB0d8c:1004"
		alsa.id = "MICROPHONE"
		device.string = "0"
	Profiles:
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6565, available: yes)
		output:analog-stereo+input:iec958-stereo: Analog Stereo Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 6555, available: yes)
		output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6500, available: yes)
		output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5565, available: yes)
		output:iec958-stereo+input:iec958-stereo: Digital Stereo Duplex (IEC958) (sinks: 1, sources: 1, priority: 5555, available: yes)
		output:iec958-stereo: Digital Stereo (IEC958) Output (sinks: 1, sources: 0, priority: 5500, available: yes)
		output:iec958-ac3-surround-51+input:analog-stereo: Digital Surround 5.1 (IEC958/AC3) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 365, available: yes)
		output:iec958-ac3-surround-51+input:iec958-stereo: Digital Surround 5.1 (IEC958/AC3) Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 355, available: yes)
		output:iec958-ac3-surround-51: Digital Surround 5.1 (IEC958/AC3) Output (sinks: 1, sources: 0, priority: 300, available: yes)
		input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 65, available: yes)
		input:iec958-stereo: Digital Stereo (IEC958) Input (sinks: 0, sources: 1, priority: 55, available: yes)
		pro-audio: Pro Audio (sinks: 1, sources: 1, priority: 1, available: yes)
	Active Profile: off
	Ports:
		analog-input-mic: Microphone (type: Mic, priority: 8700, latency offset: 0 usec, availability unknown)
			Properties:
				port.type = "mic"
				device.icon_name = "audio-input-microphone"
				card.profile.port = "0"
			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:iec958-stereo+input:analog-stereo, output:iec958-ac3-surround-51+input:analog-stereo
		iec958-stereo-input: Digital Input (S/PDIF) (type: SPDIF, priority: 0, latency offset: 0 usec, availability unknown)
			Properties:
				port.type = "spdif"
				card.profile.port = "1"
			Part of profile(s): input:iec958-stereo, output:analog-stereo+input:iec958-stereo, output:iec958-stereo+input:iec958-stereo, output:iec958-ac3-surround-51+input:iec958-stereo
		analog-output-speaker: Speakers (type: Speaker, priority: 10000, latency offset: 0 usec, availability unknown)
			Properties:
				port.type = "speaker"
				device.icon_name = "audio-speakers"
				card.profile.port = "2"
			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-stereo+input:iec958-stereo
		iec958-stereo-output: Digital Output (S/PDIF) (type: SPDIF, priority: 0, latency offset: 0 usec, availability unknown)
			Properties:
				port.type = "spdif"
				card.profile.port = "3"
			Part of profile(s): output:iec958-stereo, output:iec958-stereo+input:analog-stereo, output:iec958-stereo+input:iec958-stereo
Card #53
	Name: alsa_card.pci-0000_2d_00.1
	Driver: alsa
	Owner Module: n/a
	Properties:
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "1"
		api.alsa.card.longname = "HDA NVidia at 0xfc080000 irq 126"
		api.alsa.card.name = "HDA NVidia"
		api.alsa.path = "hw:1"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio1"
		api.dbus.ReserveDevice1.Priority = "-20"
		device.api = "alsa"
		device.bus = "pci"
		device.bus_path = "pci-0000:2d:00.1"
		device.description = "AD104 High Definition Audio Controller"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_2d_00.1"
		device.nick = "HDA NVidia"
		device.plugged.usec = "5413588"
		device.product.id = "0x22bc"
		device.product.name = "AD104 High Definition Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:03.1/0000:2d:00.1/sound/card1"
		device.vendor.id = "0x10de"
		device.vendor.name = "NVIDIA Corporation"
		media.class = "Audio/Device"
		factory.id = "15"
		client.id = "47"
		object.id = "53"
		object.serial = "53"
		object.path = "alsa:acp:NVidia"
		alsa.card = "1"
		alsa.card_name = "HDA NVidia"
		alsa.long_card_name = "HDA NVidia at 0xfc080000 irq 126"
		alsa.driver_name = "snd_hda_intel"
		alsa.mixer_name = "Nvidia GPU a5 HDMI/DP"
		alsa.components = "HDA:10de00a5,145840c6,00100100"
		alsa.id = "NVidia"
		device.string = "1"
	Profiles:
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5900, available: no)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
		output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
		output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (sinks: 1, sources: 0, priority: 600, available: no)
		pro-audio: Pro Audio (sinks: 4, sources: 0, priority: 1, available: yes)
	Active Profile: off
	Ports:
		hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, availability group: Legacy 1, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 1"
				device.icon_name = "video-display"
				card.profile.port = "0"
			Part of profile(s): output:hdmi-stereo, output:hdmi-surround, output:hdmi-surround71
		hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, latency offset: 0 usec, availability group: Legacy 2, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 2"
				device.icon_name = "video-display"
				card.profile.port = "1"
			Part of profile(s): output:hdmi-stereo-extra1, output:hdmi-surround-extra1, output:hdmi-surround71-extra1
		hdmi-output-2: HDMI / DisplayPort 3 (type: HDMI, priority: 5700, latency offset: 0 usec, availability group: Legacy 3, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 3"
				device.icon_name = "video-display"
				card.profile.port = "2"
			Part of profile(s): output:hdmi-stereo-extra2, output:hdmi-surround-extra2, output:hdmi-surround71-extra2
		hdmi-output-3: HDMI / DisplayPort 4 (type: HDMI, priority: 5600, latency offset: 0 usec, availability group: Legacy 4, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 4"
				device.icon_name = "video-display"
				card.profile.port = "3"
			Part of profile(s): output:hdmi-stereo-extra3, output:hdmi-surround-extra3, output:hdmi-surround71-extra3

to be fair I have not updated my bios yet, (although i’ve done it once prior to 2024) but i plan on doing that today.

Mod Note: Edited to include code tags.

pactl data shows NVidia device is turned off
Data shows USB microphone is also turned off, but there are profiles available for analog audio outputs and inputs

Card #52
Name: alsa_card.usb-16042020V2_JLAB_TALK_MICROPHONE-00
 
device.description = “JLAB TALK MICROPHONE”
 
alsa.card = “0”
alsa.card_name = “JLAB TALK MICROPHONE”

alsa.id = “MICROPHONE”

Profiles:
off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6565, available: yes)
output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6500, available: yes)
input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 65, available: yes)
Active Profile: off

It should be possible to play audio to the 3.5mm jack on the USB microphone by changing the profile to Analog Stereo Duplex

pactl set-card-profile alsa_card.usb-16042020V2_JLAB_TALK_MICROPHONE-00 output:analog-stereo+input:analog-stereo

Data does not show a built-in/onboard audio card with analog outputs to motherboard jacks

I suggest update motherboard BIOS to latest version 0706 ROG STRIX X870E-E GAMING WIFI | ROG Global
and check built-in audio device and front panel audio jacks are configured correctly in UEFI settings

how to check the uefi settings? 870e-e isn’t my mobo, but do you still want me to do that?

1 Like

870e-e isn’t my mobo

msi.com - MPG-X570S-EDGE-MAX-WIFI - BIOS

how to check the uefi settings?

See motherboard user manual for more information about BIOS settings

I wanted to report back. Earlier I had tried all the things mentioned, the code, and other things. I believe what has ultimately done it, was updating my motherboard. So as you guys have mentioned, was to do that… I didn’t have much faith in it at first, but seeing the link that provided the schematic for the mobo and the audio. (surely they may call it something else, but that word is lost to me at the moment.)

Admittedly, I had fouled up on doing the update correctly. Which led to the pc going into linux’s “emergency mode”. (sorry if i’m using the incorrect terms) Poked around using gpt to kind of help me a bit, but of course, I didn’t really get anywhere. It seems that once you’ve gone into flash mode, you had better have things ready and fixed just right, otherwise you foul up things. Then pc didn’t wanna boot into the OS.

Anyhow, got fed up with it and decided to put a fresh copy of manjaro on a usb drive. I thought I had pulled gnome from the website. Guess not, cause when I do “echo $XDG_CURRENT_DESKTOP” i get xfce. I was aiming for gnome, thought I’d try that out in the middle of my frustration. Either way it goes, I’m back on my trusty ol’ pc setup.

I want to thank the both of you. Thank you for your patience. Thank you for all the information. I feel I came out learning a thing or two along the way. Maybe one day I’ll learn enough about LInux and Manjaro to one day come back here to the forums and contribute. Or who knows… I may get stuck again and learn something more. I wish you all a wonderful christmas/holiday and a excellent new year.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.