No sound device linux

How To Fix “No Sound” in Ubuntu Desktop

Ubuntu no sound output device; Through this tutorial, we will fix the no sound 🔊 issue in Linux ubuntu desktop.

If our ubuntu system doesn’t have an audio driver or our audio driver is having an issue then we can never get a “no sound” or “mute sound” problem in the ubuntu desktop when trying to play your favorite music playlist, video or movie had to face.

How To Fix “No Sound” in Ubuntu Desktop

  • Step 1 – Update System Packages
  • Step 2 – Install Pulse and Alsa Audio Drivers
  • Step 3 – Reload the Alsa Driver
  • Step 4 – Reboot System

Step 1 – Update System Packages

First of all, open the terminal or command line and execute the following command on the command line to update system packages:

Step 2 – Install Pulse and Alsa Audio Drivers

Then execute the following command on the command line or terminal to install pulse and alsa audio drivers into linux ubuntu system:

sudo apt-get -y install alsa-base pulseaudio

Step 3 – Reload the Alsa Driver

Then execute the following command on the command line to reload the alsa driver:

Step 4 – Reboot System

If the reload doesn’t fix the issue, use the following reboot command on the command line:

Conclusion

Ubuntu no sound output device; Through this tutorial, we have fixed the no sound 🔊 issue in Linux ubuntu desktop.

Источник

How To Fix No Sound in Ubuntu And Linux Mint

As it happens with every Ubuntu release, you install or upgrade to a newer Ubuntu version and run in to a number of problems. But then, there is always a way to overcome these big little problems.

One of the most common problems faced is no sound after installing Ubuntu. While there could be several reasons for no sound in Ubuntu, I will share the tricks that worked for me.

Читайте также:  Iptables on linux commands

Let’s see in steps how I fixed and how you can fix it.

Various methods to fix no audio in Ubuntu

There could be various reasons why there is no sound in Ubuntu. The fix depends on the kind of problem you have. Before you take the steps to fix it, I suggest get some information about your system, specially about the audio related hardware.

Now check the system, machine and audio information with this command:

You should see some information like this:

[email protected]:~$ inxi -SMA System: Host: itsfoss Kernel: 5.4.0-18-generic x86_64 bits: 64 Desktop: Gnome 3.35.91 Distro: Ubuntu 20.04 LTS (Focal Fossa) Machine: Type: Laptop System: Dell product: XPS 13 9360 v: N/A serial: Mobo: Dell model: 05JK94 v: A00 serial: UEFI: Dell v: 2.13.0 date: 11/14/2019 Audio: Device-1: Intel Sunrise Point-LP HD Audio driver: snd_hda_intel Sound Server: ALSA v: k5.4.0-18-generic

Look closely in the audio section of the above output. It tells that it is Intel Sunrise Point-LP HD Audio and it has the Linux driver snd_hda_intel and the sound is served with Alsa. This information maybe useful in some stages of your audio troubleshooting.

Fixing dummy output in sound settings

First step, just to verify, check if the sound is not muted. Once you verify this, go to Sound Settings:

Fix No SOund In Ubuntu 13.04

In the Sound Settings, you’ll find that you have practically nothing here except a dummy output. Quite frustrating. It means that your sound card is not even recognized. Puff!

Fix No Audio after installing Ubuntu 13.04

No worries. The one shot solution which fixed the sound problem for me on my Intel powered Dell Inspiron is to force reload Alsa. To do that, use the following command in terminal (Ctrl+Alt+T):

The output will be like this.

No sound in Ubuntu 13.04

You may think that it is hanged or still in processing but it takes only couple of seconds. You can simply close it afterwards by using Ctrl+C.

Now, you need to reboot your computer. Either play some music/video files or check in the system settings to see if it worked for you.

No-Sound-in-Ubuntu-Fixed

First Alternate method to fix no sound in Ubuntu

If the above problem did not fix it for you, try reinstalling Alsa and Pulse audio in the following manner:

sudo apt-get install --reinstall alsa-base pulseaudio

And force reload Alsa again:

Restart and check if sound is back or not.

Second alternate method to fix no sound in Ubuntu

Try starting Pulseaudio and see if it works:

Third alternate method: remove old Pulseaudio config

Go to your home directory and then go to the hidden config directory. Rename the directory named pulse here:

mv ~/.config/pulse ~/.config/old_pulse

Now reboot your system. The pulse directory should be created afresh and you should have sound.

Читайте также:  Посмотреть тип оперативной памяти linux

Third alternate method: Try alsamixer

Open a terminal and use the following command to open alsamixer:

You should see a screen like this:

alsamixer in Ubuntu Linux

Check if the speakers or your desired audio output is muted here. MM means mute and OO means unmute. If your desired audio output (mostly it’s speakers) or the Master is muted, unmute it.

You can exit the screen using Esc key.

Note that if alsamixer command returns error, it’s probably because you have more than one sound card. In that case, you need to specify the sound card number (refer to the inxi output I mentioned in the beginning) like this:

Fourth alternate method to fix no audio in Ubuntu

Speed dispatcher is the feature that allows your system to convert text to speech. Sometimes, it conflicts with other audio settings. If you do not need this feature, you may try disabling it as it may bring your audio back.

Open the terminal and edit speech-dispatcher file by using the following command:

sudo gedit /etc/default/speech-dispatcher

In here, change RUN=yes to RUN=no . Reboot and enjoy the sound.

Fifth alternate method (specially for Lenovo Carbon X1)

A few of It’s FOSS readers mentioned that none of the above methods worked for their Lenovo Thinkpad Carbon X1 7th Gen laptop.

I looked into various places and found that this newer model has issues with Linux. While Linux kernel 5.5 and above versions has improved support for this model, it is still tricky for Ubuntu 18.04 and Mint 19 users because the kernel in use is still 5.3.

Check your Linux kernel version and if it is 5.4 or lower, try this possible workaround that is suggested by Arch Linux and Ubuntu developers.

Open the alsa configuration file (command might be different for Mint because Gedit text editor is not used in Mint):

sudo gedit /etc/modprobe.d/alsa-base.conf

Add the following line to the end of this file:

options snd-hda-intel dmic_detect=0

Save and close the file and reboot your system. You should have the audio back.

If it fixed your sound problem, you may want to fix brightness issue as well. Fixing the sound problem is definitely one of the must do things after installing Ubuntu.

Donate Itsfoss

If one of the above mentioned methods worked for you, please leave a comment below specifying the method that saved your day. Any other suggestions and feedback is also welcomed.

Источник

No sound device detected

enter image description here

I just installed Ubuntu 16.04 LTE on a new Lenovo E470 machine. No sound device is detected, I mean: And similarly, no input device is detected. Some information that may be helpful: aplay -l returns

**** List of PLAYBACK Hardware Devices **** card 0: Intel [HDA Intel], device 3: HDMI 0 [HDMI 0] Subdevices: 0/1 Subdevice #0: subdevice #0 card 0: Intel [HDA Intel], device 7: HDMI 1 [HDMI 1] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: Intel [HDA Intel], device 8: HDMI 2 [HDMI 2] Subdevices: 1/1 Subdevice #0: subdevice #0 
00:1f.3 Audio device: Intel Corporation Device 9d71 (rev 21) Subsystem: Lenovo Device 505b Flags: bus master, fast devsel, latency 64, IRQ 16 Memory at f4420000 (64-bit, non-prefetchable) [size=16K] Memory at f4410000 (64-bit, non-prefetchable) [size=64K] Capabilities: [50] Power Management version 3 Capabilities: [60] MSI: Enable- Count=1/1 Maskable- 64bit+ Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel 
Terminating processes: 10509 (failed: processes still using sound devices: 30977(pulseaudio)). Unloading ALSA sound driver modules: snd-seq-midi snd-seq-midi-event snd-seq snd-rawmidi snd-seq-device snd-hda-codec-hdmi snd-hda-intel snd-hda-codec snd-hda-core snd-hwdep snd-pcm snd-timer (failed: modules still loaded: snd-hda-codec-hdmi snd-hda-intel snd-hda-codec snd-hda-core snd-hwdep snd-pcm snd-timer). Loading ALSA sound driver modules: snd-seq-midi snd-seq-midi-event snd-seq snd-rawmidi snd-seq-device snd-hda-codec-hdmi snd-hda-intel snd-hda-codec snd-hda-core snd-hwdep snd-pcm snd-timer. 
Welcome to PulseAudio 8.0! Use "help" for usage information. >>> list-sinks 1 sink(s) available. * index: 0 name: driver: flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY state: IDLE suspend cause: priority: 9950 volume: front-left: 53740 / 82% / -5.17 dB, front-right: 53740 / 82% / -5.17 dB balance 0.00 base volume: 65536 / 100% / 0.00 dB volume steps: 65537 muted: no current latency: 370.83 ms max request: 64 KiB max rewind: 64 KiB monitor source: 0 sample spec: s16le 2ch 44100Hz channel map: front-left,front-right Stereo used by: 0 linked by: 0 configured latency: 371.52 ms; range is 0.50 .. 371.52 ms card: 0 module: 6 properties: alsa.resolution_bits = "16" device.api = "alsa" device.class = "sound" alsa.class = "generic" alsa.subclass = "generic-mix" alsa.name = "HDMI 0" alsa.id = "HDMI 0" alsa.subdevice = "0" alsa.subdevice_name = "subdevice #0" alsa.device = "3" alsa.card = "0" alsa.card_name = "HDA Intel" alsa.long_card_name = "HDA Intel at 0xf4420000 irq 126" alsa.driver_name = "snd_hda_intel" device.bus_path = "pci-0000:00:1f.3" sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0" device.bus = "pci" device.vendor.id = "8086" device.vendor.name = "Intel Corporation" device.product.id = "9d71" device.form_factor = "internal" device.string = "hdmi:0" device.buffering.buffer_size = "65536" device.buffering.fragment_size = "32768" device.access_mode = "mmap+timer" device.profile.name = "hdmi-stereo" device.profile.description = "Digital Stereo (HDMI)" device.description = "Built-in Audio Digital Stereo (HDMI)" alsa.mixer_name = "Intel Kabylake HDMI" alsa.components = "HDA:8086280b,17aa505b,00100000" module-udev-detect.discovered = "1" device.icon_name = "audio-card-pci" ports: hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no) properties: device.icon_name = "video-display" active port:

I should mention that I haven’t been able to produce any sound on this machine beforehand. Thank you in advance for your time, and please let me know if I can give some more useful information.

Читайте также:  Linux checking kernel version

Источник

Оцените статью
Adblock
detector