Sound problems on Ubuntu 18.04 LTS

stan stanb at panix.com
Tue Jan 21 16:19:06 UTC 2020


On Tue, Jan 21, 2020 at 01:23:34PM +0900, ian wrote:
> Hi folks
> 
> I'm having problems getting sound on my Ubuntu 18.04 LTS box.
> 
I am SO looking forward to 20.04 :-)

I have had problems since upgrading to  18.04. At the moment i have in my
$HOME/bin a little script that looks like this:


#!/bin/ksh

# run this script to "fix" audio after it gets "broken" Perhaps by installing

# software

 sudo aptitude --purge reinstall linux-sound-base alsa-base alsa-utils linux-image-`uname -r` linux-ubuntu-modules-`uname -r` libasound2
  sudo alsa force-reload aplay /usr/share/sounds/alsa/Front_Center.wav

 Every time i reboot the machine I have to run this. 9 times out of 10 this
 gets me working sound. Booting from a newer (non LTS) version gives me
 working sound every time, so it is an issue that has been addressed.

 My thinking is that something in the magical systemd startup sequence
 grabs sound before I get to trying to use it, but I have not been able to
 figure out what.

-- 
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
						-- Benjamin Franklin




More information about the ubuntu-users mailing list