You are not logged in.

#26 2022-07-19 16:09:59

tekstryder
Member
Registered: 2013-02-14
Posts: 118

Re: Front Panel Audio Jack Working But No Sound MSI Z690 Motherboard

As this thread was never marked [SOLVED], I'm just popping by to let any other ALC4080 users know that this USB Audio chip is now fully supported out-of-the-box with an updated Arch install.

The issue was fixed in kernel 5.17.x and Alsa UCM:
https://github.com/alsa-project/alsa-ucm-conf/pull/143

No changes to Pulseaudio nor Pipewire code or configuration were necessary. A few of us who were active on the bug reports provided our various motherboard's USB IDs for our respective ALC4080 chips in the afore-linked Alsa PR. In addition to functionality, clearly-named output/input mapping was also implemented.

Offline

#27 2022-07-30 08:30:13

sergey
Member
Registered: 2022-07-30
Posts: 4

Re: Front Panel Audio Jack Working But No Sound MSI Z690 Motherboard

Just installed arch. Wtih GIGABYTE B560M AORUS PRO motherboard (alc4080 codec) front panel and microphone still not working.

Offline

#28 2022-07-30 13:03:58

linucas
Member
Registered: 2022-07-29
Posts: 2

Re: Front Panel Audio Jack Working But No Sound MSI Z690 Motherboard

I have this problem too
My motherboard is a ASROCK G31M-VS2 (Via VT1705 codec)
They do work if I use kernel 5.4 LTS or after resume from suspension on newer kernels, but I really want to find an actual solution.

Offline

#29 2022-07-30 15:35:19

tekstryder
Member
Registered: 2013-02-14
Posts: 118

Re: Front Panel Audio Jack Working But No Sound MSI Z690 Motherboard

sergey wrote:

Just installed arch. Wtih GIGABYTE B560M AORUS PRO motherboard (alc4080 codec) front panel and microphone still not working.

Do you have alsa-ucm-conf installed?

What is your output from

lsusb

...in regard to your ALC4080 chip?

Does it match any of the below USB IDs in the regex?

/usr/share/alsa/ucm2/USB-Audio/USB-Audio.conf wrote:
If.realtek-alc4080 {

	Condition {
		Type RegexMatch
		String "${CardComponents}"
		# 0b05:1996 ASUS on multiple boards (including ASUS ROG Maximus XIII)
		# 0b05:1a27 ALC4082 on ASUS ROG Maximus Z690 Hero
		# 0b05:1a20 ASUS ROG STRIX Z690-I Gaming Wifi
		# 0db0:1feb MSI Edge Wifi Z690
		# 0db0:419c MSI MPG X570S Carbon Max Wifi
		# 0db0:a073 MSI MAG X570S Torpedo Max
		Regex "USB((0b05:(1996|1a2[07]))|(0db0:(1feb|419c|a073)))"
	}
	True.Define.ProfileName "Realtek/ALC4080"
}

Mine for instance:

Bus 001 Device 003: ID 0db0:1feb Micro Star International USB Audio

Offline

#30 2022-08-02 18:30:28

sergey
Member
Registered: 2022-07-30
Posts: 4

Re: Front Panel Audio Jack Working But No Sound MSI Z690 Motherboard

Thanks for answer!
Downloaded alsa-ucm-conf from https://github.com/alsa-project/alsa-uc … g/v1.2.7.2. Unziped and copied ucm and ucm2 to /usr/share/alsa/.

/usr/share/alsa
drwxr-xr-x  11 root root  4096 авг  2 19:41 .
drwxr-xr-x 270 root root 12288 июл 29 15:12 ..
-rw-r--r--   1 root root 10119 июл  9 13:01 alsa.conf
drwxr-xr-x   2 root root  4096 июл 29 15:11 alsa.conf.d
drwxr-xr-x   2 root root  4096 июл 29 15:11 cards
drwxr-xr-x   2 root root  4096 июл 29 15:11 ctl
drwxr-xr-x   7 root root  4096 июл 29 15:11 firmware
drwxr-xr-x   2 root root  4096 июл 29 15:11 init
drwxr-xr-x   2 root root  4096 июл 29 15:11 pcm
drwxr-xr-x   6 root root  4096 июл 29 15:11 topology
drwxr-xr-x   2 root root  4096 авг  2 19:41 ucm
drwxr-xr-x  20 root root  4096 июл 29 15:11 ucm2

lsusb

Bus 002 Device 003: ID 0bda:0411 Realtek Semiconductor Corp. Hub
Bus 002 Device 002: ID 0bda:0411 Realtek Semiconductor Corp. Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 007: ID 0414:a010 Giga-Byte Technology Co., Ltd USB Audio
Bus 001 Device 006: ID 09da:7638 A4Tech Co., Ltd. USB Device
Bus 001 Device 005: ID 046d:c31c Logitech, Inc. Keyboard K120
Bus 001 Device 003: ID 0bda:5411 Realtek Semiconductor Corp. RTS5411 Hub
Bus 001 Device 004: ID 8564:1000 Transcend Information, Inc. JetFlash
Bus 001 Device 002: ID 0bda:5411 Realtek Semiconductor Corp. RTS5411 Hub
Bus 001 Device 010: ID 8087:0029 Intel Corp. AX200 Bluetooth
Bus 001 Device 009: ID 048d:5702 Integrated Technology Express, Inc. ITE Device
Bus 001 Device 008: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

It didn't match. What should i do?

Last edited by sergey (2022-08-02 18:30:52)

Offline

#31 2022-08-05 13:06:04

sergey
Member
Registered: 2022-07-30
Posts: 4

Re: Front Panel Audio Jack Working But No Sound MSI Z690 Motherboard

Should i create a bug report?

Offline

#32 2022-08-05 16:10:27

tekstryder
Member
Registered: 2013-02-14
Posts: 118

Re: Front Panel Audio Jack Working But No Sound MSI Z690 Motherboard

sergey wrote:

Should i create a bug report?

I would file a bug with alsa. When doing so you should reference the PR which added several various ALC4080 USB IDs to the UCM:
https://github.com/alsa-project/alsa-ucm-conf/pull/143

It would also be prudent to remove the files you unzipped to /usr/share/alsa/ and simply install the alsa-ucm-conf package so the package manager (pacman) can handle updates/changes.

One thing you can try in the meantime is to add your USB ID to the regex found in /usr/share/alsa/ucm2/USB-Audio/USB-Audio.conf thusly:

Regex "USB((0b05:(1996|1a2[07]))|(0db0:(1feb|419c|a073))|0414:a010)"

Last edited by tekstryder (2022-08-05 16:11:40)

Offline

#33 2022-08-08 13:57:42

sergey
Member
Registered: 2022-07-30
Posts: 4

Re: Front Panel Audio Jack Working But No Sound MSI Z690 Motherboard

Thank you very much for your answers. It's finally working.

Offline

#34 2022-08-28 15:49:52

brunojcm
Member
Registered: 2022-02-27
Posts: 3

Re: Front Panel Audio Jack Working But No Sound MSI Z690 Motherboard

Linux audio noob here, but this much smaller fix in ALSA UCM fixed the problem for me:
https://github.com/alsa-project/alsa-uc … issues/189

Offline

#35 2022-08-28 15:58:39

tekstryder
Member
Registered: 2013-02-14
Posts: 118

Re: Front Panel Audio Jack Working But No Sound MSI Z690 Motherboard

brunojcm wrote:

...this much smaller fix in ALSA UCM fixed the problem for me

It's... the same fix as described in #32. Adding your USB ID to the regex.

The PR mentioned additionally includes input/output mapping, which you would already have applied given you're using UCM.

Last edited by tekstryder (2022-08-28 16:03:28)

Offline

Board footer

Powered by FluxBB