jannesi

u/jannesi@lemmy.ca
0 posts · 1 comments

Recent posts

No posts.

Recent comments

Hey, I found a fix to this issue that worked for me! Here is what I did:

First find your audio device name with:

# -b so you can copy the device names from the output
pw-top -b

Then create wireplumber conf directory if needed:

mkdir -p ~/.config/wireplumber/wireplumber.conf.d

and create config:

# Create config file
touch ~/.config/wireplumber/wireplumber.conf.d/51-disable-alsa-suspend.conf

# Paste this into the config file (replace node.name value with your own audio device name)
monitor.alsa.rules = [
  {
    matches = [
      { node.name = "~alsa_output.pci-0000_01_00.1.*" }
      # Add another node.name if you need to fix multiple devices
      { node.name = "~alsa_output.usb-Logitech_PRO_X_Wireless_Gaming_Headset-00.*" }
    ]
    actions = {
      update-props = {
        session.suspend-timeout-seconds = 0
        node.pause-on-idle = false
      }
    }
  }
]

And finally restart audio frameworks:

systemctl --user restart wireplumber pipewire pipewire-pulse

This fixed the problem completely for me, hope this helps you too :)