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.
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
if this not help trying running this script
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!!!
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.
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.
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
alsa-base.conf does not exist.
Ubuntu 12.04LTS 64bit
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
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.
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.