I have had a problem with my sound for a while now. Sound comes from my headphones, but not from my speakers. I am running Ubuntu 11.10 on a Compaq 320. I have searched around, but none of the threads have worked, some had made it worse (no sound at all, but I managed to get back to where I am now). Any help would on how to fix this would be great.
9 Answers
I found a post in this Ubuntu forums thread answer #2 with a weird solution that works for me.
Boot the system, log in, close the laptop screen, wait for a few seconds, and open it again. Log back into the system and problem solved!!!
- 72,312
- 109
try using these commands
sudo apt-get update
sudo apt-get upgrade
sudo apt-get purge linux-sound-base alsa-base alsa-utils
sudo apt-get install linux-sound-base alsa-base alsa-utils gdm ubuntu-desktop
Reboot.
if this not help trying running this script
- 36,890
- 56
- 97
- 151
- 5,934
You need to edit this file /etc/modprobe.d/alsa-base.conf and then add a line in its end. Use the following commands:
sudo gedit /etc/modprobe.d/alsa-base.conf
Now add the following line at its end:
options snd-hda-intel model=generic
Now reboot your computer. It should solve your problem.
Further information:
- hxxp://www.computerandyou.net/2011/06/how-to-solve-no-sound-through-laptop-integrated-speakers-in-ubuntu-11-04
The link that was posted here is no longer safe to use, and has had its actual link components stripped. The original link is left here for historical purposes, though the link is defused.
- 78,878
- 2,696
I have the same issue on an Aspire.
What's worse I convinced someone to use Ubuntu! Egg on my face!
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.24.
$ head -n 1 /proc/asound/card*/codec#*
==> /proc/asound/card0/codec#0 <==
Codec: Realtek ALC888
==> /proc/asound/card0/codec#1 <==
Codec: LSI ID 1040
==> /proc/asound/card0/codec#2 <==
Codec: Intel Cantiga HDMI
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC888 Analog [ALC888 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC888 Digital [ALC888 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
$ uname -a
Linux salvatore-Aspire-7730 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
The alsa-base.conf does not exist.
Ubuntu 12.04LTS 64bit
Tried this:
sudo apt-get remove --purge alsa-base
sudo apt-get remove --purge pulseaudio
sudo apt-get install alsa-base
sudo apt-get install pulseaudio
sudo alsa force-reload
Then:
sudo apt-get purge pulseaudio gstreamer0.10-pulseaudio
sudo apt-get install pulseaudio gstreamer0.10-pulseaudio indicator-sound
Now audio comes out of both headphone and speaker.
- 36,890
- 56
- 97
- 151
- 8,210
on my lenovo this works:
- shut down the laptop
- take off the battery
- press the power button, to empty the capacitors or wait for 30 seconds
- put the battery back
- power on and enjoy sound in headphones again
I had the same issue on a brand new laptop Asus R417B. I installed Ubuntu 18.04 over the windows disk. Windows had never been installed let alone run, so the speakers had not been used at all.
In pavucontrol the speakers and the headphones are listed, and the volume bar showed sound being played. The speaker test did not produce sound at the speakers. The headphones, when plugged in, worked perfectly.
My fix was trying to try audio over HDMI on the television. The laptop speakers started to work as soon as the laptop was connected over HDMI. Even after disconnecting the HDMI the speakers kept working. Even after a complete power shutdown and restart.
Then the HDMI sound seemed not to work, but that was easy to fix with fiddling with the profiles in pavucontrol.
My conclusion is that the problem was a bug (at least definitely not a feature) in initializing the hardware/software with the speakers.
- 216
I find that sometimes all I have to do is choose the correct output by just going to System Setting and then click on Sound on the output tab. Hope this helps.
- 746
I had the same issue. Go to "System Settings" select "Sound" and then select "Headphones" as the option in the the "Connector" drop down menu list.
You can adjust the sound settings for USB using:
- Go to sound settings from the volume options on the right.
- I you have plugged in USB speaker then it shows setting options as Analog Output Analog Audio.
- Click on it and adjust volume.
- 1