Skip to content
benjf.com
benjf.com

  • Home
  • About
  • ✞ Faith
  • Opinion
    • Politics
    • Health
    • Movies
    • Music
    • ☺ For Fun
    • Random Awesomeness
  • Technology
    • Desktop
    • Android
    • ✉ Email
    • Privacy
    • Programming
      • HTML
      • CSS
      • Javascript
        • jQuery
      • PHP
      • SQL
        • SQL Server
      • Powershell
      • MS Access
      • WordPress
  • Productivity
benjf.com

Fixing Sound Problems With Behringer UMC204HD On Linux

Writer #1, 2025-03-222025-03-22

Background

Linux Distro: Kubuntu
Distributor ID: Ubuntu
Description:    Ubuntu 24.10
Release:        24.10
Codename:       oracular
PlasmaShell Version: plasmashell 6.1.5

This is a bit of an edge-case, I imagine, but I can’t be the only one so here’s how to handle this.

The Problem

When using a Behringer UMC204HD USB interface with Kubuntu (specifics above), the USB interface works until the screen locks and the system suspends. When it wakes up and you log back in, the sound won’t work anymore. Rebooting always brings it back to life but that’s not a solution.

Instant Fix (not a long term solution, but this will get you up and running)

To get it back pronto, rebooting works, or you can unplug the USB interface and plug it back in. This should trigger the system to start recognizing the device again.

If you are currently having a sound emergency then do this and you’ll get your sound back.

For a real fix, keep reading.

Long Term Solution

To verify that you’re making the right fix, your current situation should look like this:

  1. Sound works after a fresh reboot but stops working after the computer locks and suspends
  2. Unplugging and plugging in the USB device revives it

If that isn’t your scenario then you probably have some other issue. Assuming that matches your situation, here’s how you can fix it.

 

(1 of 6) Get Your Device ID

First, you’ll need your USB device ID. You can get this by opening a terminal window and running:

lsusb

You’ll see output for each device plugged into a USB port. The one you’re interested in will look similar to this:

Bus 001 Device 002: ID 1397:0508 BEHRINGER International GmbH UMC204HD 192k

In the above example, “1397” is the vendor ID and “0508” is the product ID. That is important for the scripts we are creating, so make sure you get that first.

 

(2 of 6) Create Directory For Shell Script

You should make a directory that will hold the .sh file. This directory begins with a . so it will be hidden in the file explorer unless you choose to show hidden files and folders.

mkdir ~/.tweaks-kubuntu

CD to that directory

cd ~/.tweaks-kubuntu

 

(3 of 6) Create The Shell Script

From your newly created .tweaks-kubuntu folder, create an sh file using vi or nano or whatever text editor you prefer. We’ll call it reset-umc204hd.sh.

vi reset-umc204hd.sh

In that file, add this code:

#!/bin/bash
/usr/bin/usbreset 1397:0508

 

BE SURE THAT THE ID’S MATCH YOUR DEVICE ID’S.

 

(4 of 6) Create a Rules File

vi /etc/udev/rules.d/99-behringer-umc204hd.rules

Set the content to:

ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="1397", ATTR{idProduct}=="0508", ATTR{power/autosuspend}="-1"

Again, update the vendor ID and the product ID to match your setup.

 

(5 of 6) Create A Sleep Reset File

This is the script that will fire when your system wakes up. It will run the .sh script made in the previous step.

vi /lib/systemd/system-sleep/reset-umc204hd

Set the content to:

#!/bin/bash
if [ "$1" = "post" ]; then
sleep 5 # Waits 5 seconds, otherwise it fires too soon
~/.tweaks-kubuntu/reset-umc204hd.sh
fi

(6 of 6) Tell GRUB Not To Suspend USB Devices

This step may not be necessary, but I did it as part of my troubleshooting process and it may help. If you’re on a laptop you might be concerned with battery life and not want to do this unless you have to.

Edit the grub file:

vi /etc/default/grub

Find the line with GRUB_CMDLINE_LINUX_DEFAULT

The original text looks like this but your UUID will differ:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=UUID=fc33025d-bb3f-4d5c-bb41-27c4d36830ca"

 

Add usbcore.autosuspend=-1 to the end of the value so it looks similar to this:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=UUID=fc33025d-bb3f-4d5c-bb41-27c4d36830ca usbcore.autosuspend=-1"

 

Make sure it’s within the quotes, not after.

 

Done!

That’s all there is to it! So, now you have a script that resets your USB device when your computer wakes up from being suspended.

You can test-suspend your system by running this in a terminal:

systemctl suspend

That will immediately suspend and lock your system so you log back in and confirm that it’s all working.

Credits

This was the result of hours of troubleshooting with X’s Grok. Grok was indispensable in this process. I hope this helps someone else.

 

 

Linux Technology behringer UMC204HDkubuntulinuxusb audio device

Post navigation

Previous post
Next post

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • Love Never Fails
  • FIXED! Left Audio Only on OBS with Behringer U-Phoria UMC204HD
  • Gnome Alt+Tab Window Switching; How to ungroup the windows
  • Pay or else
  • 1Password App Integration With Browser Extension on Kubuntu (or Debian Linux)

Recent Comments

  1. LOL on Major Federal Budget Cuts – do the math
  2. Writer #1 on Online Privacy In The United States
  3. More About Sortable Dates; Plus AutoHotKey Scripts! – benjf.com on Date/Time Formatting Can Unite The World
  4. AutoHotKey Tips – benjf.com on Date/Time Formatting Can Unite The World
  5. Kevin on Moving FDLAUNCHERLOG in SQL Server

Archives

  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • June 2024
  • April 2024
  • March 2024
  • November 2023
  • October 2023
  • September 2023
  • July 2023
  • June 2023
  • May 2023
  • October 2022
  • September 2022
  • August 2022
  • May 2022
  • December 2021
  • November 2021
  • September 2021
  • July 2021
  • June 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • October 2019
  • July 2019
  • May 2019
  • April 2019
  • January 2019
  • December 2018
  • November 2018
  • May 2018
  • April 2018
  • February 2018
  • December 2017
  • September 2017
  • June 2017
  • May 2017
  • February 2017
  • January 2017
  • December 2016
  • August 2016
  • July 2016
  • May 2016
  • April 2016
  • March 2016
  • February 2016
  • December 2015
  • September 2015
  • August 2015
  • July 2015
  • June 2015
  • October 2013
  • September 2013
  • August 2013
  • June 2013
  • May 2013
  • April 2013
  • March 2013
  • February 2013
  • January 2013
  • December 2012
  • October 2012
  • September 2012
  • July 2012
  • April 2012
  • March 2012
  • February 2012
  • January 2012
  • December 2011
  • November 2011
  • October 2011
  • September 2011
  • August 2011
  • July 2011
  • June 2011
  • May 2011
  • April 2011
  • February 2011
  • January 2011
  • December 2010
  • November 2010
  • September 2010
  • August 2010
  • July 2010
  • June 2010
  • May 2010
  • April 2010
  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009

Categories

  • Ai
  • Android
  • C#
  • CSS
  • Desktop
  • EMail
  • Faith
  • For Fun
  • Health
  • HTML
  • Javascript
  • jQuery
  • Just Info
  • Linux
  • Movies
  • MS Access
  • Music
  • Opinion
  • PHP
  • Politics
  • Powershell
  • Privacy
  • Productivity
  • Programming
  • Random Awesomeness
  • Self Hosting
  • SQL
  • SQL Server
  • Technology
  • Uncategorized
  • WordPress
©2025 benjf.com | WordPress Theme by SuperbThemes