alsa-project/alsa-ucm-conf

No sound output from ALC4080 on MSI X670-P

Opened this issue · 4 comments

Hello. I have the MSI x670-P motherboard which has ALC4080 which is USB audio. I am provided with two USB audio devices, SPDIF and Speakers. There are 2.1, 5.1, and 7.1 profiles.

I updated alsa to what was in debian. My USB-Audio.conf file has an entry for my motherboard, but the ALC4080 conf file does not have a special case for my motherboard.

I do not know if my audio is supposed to be working or not. I am running Ubuntu which replaced pulseaudio with pipewire. I am not sure of where to start looking or how to troubleshoot this issue. Any help would be appreciated.

I do not hear anything when using aplay and sending the sample wav to the various usb audio devices. I hear the sample when sending to my HDMI monitor. I turned pipewire and pulseaudio off for this test. I hear nothing from these commands

colinn@colinn-ubuntu:$ aplay -D plughw:CARD=Audio,DEV=0 /usr/share/sounds/alsa/Front_Left.wav
Playing WAVE '/usr/share/sounds/alsa/Front_Left.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
colinn@colinn-ubuntu:
$ aplay -D plughw:CARD=Audio,DEV=1 /usr/share/sounds/alsa/Front_Left.wav
Playing WAVE '/usr/share/sounds/alsa/Front_Left.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
colinn@colinn-ubuntu:$ aplay -D plughw:CARD=Audio,DEV=2 /usr/share/sounds/alsa/Front_Left.wav
Playing WAVE '/usr/share/sounds/alsa/Front_Left.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
colinn@colinn-ubuntu:
$ aplay -D plughw:CARD=Audio,DEV=3 /usr/share/sounds/alsa/Front_Left.wav
Playing WAVE '/usr/share/sounds/alsa/Front_Left.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono

I have an error of "no codecs found" on boot, but not sure if it matters or not

colinn@colinn-ubuntu:~$ sudo dmesg | grep snd_hda
[sudo] password for colinn:
[ 26.393502] snd_hda_intel 0000:03:00.1: enabling device (0000 -> 0002)
[ 26.393613] snd_hda_intel 0000:03:00.1: Force to non-snoop mode
[ 26.393765] snd_hda_intel 0000:19:00.6: enabling device (0000 -> 0002)
[ 26.398013] snd_hda_intel 0000:19:00.6: no codecs found!
[ 29.527553] snd_hda_intel 0000:03:00.1: bound 0000:03:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[ 7950.096688] snd_hda_intel 0000:03:00.1: IRQ timing workaround is activated for card #2. Suggest a bigger bdl_pos_adj.

UPDATE: I decided to update my BIOS to latest and now I have audio. I am not sure if it was a coincidence or not because I did restart my computer. But I did restart multiple times when upgrading ALSA to what was in debian testing.

I cannot see much change in my system output, but before, I always had the speaker output device in my gnome sound settings. Now I only have them when there is something plugged in.

My old BIOS was from November 2022, the new one is from August 2023. If you want me to check my system for anything I can, as audio definitely was not working before but is now after the BIOS update.

Front Panel audio isn't working though, which seems common with ALC4080, so I will try to implement exisitng solutions and report back

Did you try this? #172 (comment)

lngr commented

You need to run lsusb and add the relevant USB device id to USB-Audio.conf. On my MSI board (but differen model number) it says

Bus 001 Device 003: ID 0db0:70d3 Micro Star International USB Audio

Here's a PR for my MSI B650 board with a similar chipset: #392
If you look at the changes you might be able to easily add your device.