Unable to get analog audio working no matter what

I have an ASUS ROG STRIX B650-A board and unfortunately no matter what I do, the analog audio cannot be detected.Things I have tried to do

❯ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 7: HDMI 1 [Odyssey G5]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: Satellite [Samson Satellite], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 3: Audio [USB Audio], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 3: Audio [USB Audio], device 1: USB Audio [USB Audio #1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 3: Audio [USB Audio], device 2: USB Audio [USB Audio #2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 3: Audio [USB Audio], device 3: USB Audio [USB Audio #3]
Subdevices: 1/1
Subdevice #0: subdevice #0

Things I have tried:
unmuting following these steps:
$ amixer sset Master unmute $ amixer sset Speaker unmute $ amixer sset Headphone unmute

Only the master command works:
❯ amixer sset Master unmute
Simple mixer control ‘Master’,0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right - Rear Left - Rear Right - Front Center - Woofer - Side Left - Side Right
Limits: Playback 0 - 65536
Mono:
Front Left: Playback 65536 [100%] [on]
Front Right: Playback 65536 [100%] [on]
Rear Left: Playback 65536 [100%] [on]
Rear Right: Playback 65536 [100%] [on]
Front Center: Playback 65536 [100%] [on]
Woofer: Playback 65536 [100%] [on]
Side Left: Playback 65536 [100%] [on]
Side Right: Playback 65536 [100%] [on]

I also tried manually setting the motherboard NB Azalia to Enabled and the Audio IOs to a manual setting (both were auto before).

Here is my audio configuration:

# Switches to Pipewire
pulseaudio.enable = false;
udev.packages = [ pkgs.alsa-utils ];
pipewire = {
  enable = true;
  alsa.enable = true;
  alsa.support32Bit = true;
  pulse.enable = true;
  #jack.enable = true;
  wireplumber = {
    enable = true;
    extraConfig."11-bluetooth-policy" = {
      "wireplumber.settings" = {
        "bluetooth.autoswitch-to-headset-profile" = false;
      };
    };
  };
  extraConfig.pipewire = {
    "92-low-latency" = {
      # Increase quant value until no more crackles (underruns)
      "context.properties" = {
        "default.clock.rate" = 48000;
        "default.clock.allowed-rates" = [
          32000
          44100
          48000
        ];
        "default.clock.quantum" = 64;
        "default.clock.min-quantum" = 32;
        "default.clock.max-quantum" = 64;
        "default.clock.quantum-limit" = 64;
      };
    };
  };
};
kernelModules = [
  "snd_hda_intel"
  "snd_pcm_oss"
];

extraModprobeConfig = ''
  options snd slots=snd-hda-intel
'';

At this point I am sadly at a loss at what to do, any help would be greatly appreciated :woman_bowing:

Can you get the output of lspci -v, lsmod and dmesg?

Sure! @TLATER

Sadly the output doesn’t fit here so I put it here, let me know if another place is better for you.

Thanks again for offering to help ^^

I have a similar motherboard and I didn’t have to do anything special with sound. Fire up pavucontrol and check if output is not set to HDMI or something similar.

That did it!!!

USB Audio was set to Pro Audio, swapping it to HiFi 7.1 fixed it!!

Thank you!

1 Like