sound not working

Asked by jason

I installed ubuntu 9.04 a few days ago on a compaq presario cq45-207tu laptop. When i start the system there was a continuous sound of drumbeats and there was no other sound from speakers. Speakers were not giving any sound other than those drum beat sounds. So, i reinstalled ubuntu 9.04. But now there is no sound at all from the speakers...not even the sound of drum beats. Everything else is working fine. Can someone help me with this??

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu alsa-driver Edit question
Assignee:
No assignee Edit question
Solved by:
Cristi Nistor
Solved:
Last query:
Last reply:
Revision history for this message
Cristi Nistor (cristi-nistor) said :
#1

Do you have ALSA or OSS installed for audio device?

Revision history for this message
Cristi Nistor (cristi-nistor) said :
#2

If you did not installed so far please install the gnome alsamixer package

apt-get install gnome-alsamixer (run command as root)

Using lspci command (http://manpages.ubuntu.com/manpages/jaunty/man8/lspci.8.html ) you can find out what type of audio device you have. Have you checked if the sound is not muted?

Revision history for this message
jason (nagendervss) said :
#3

hii....tnx for ur reply...here is the information that you asked for...

i am using ALSA for audio device...

i installed gnome-alsamixer but there is no effect...

here is the output of lspci...

nagender@nagender-laptop:~$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 03)
00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.3 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
03:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01)
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
05:00.0 System peripheral: JMicron Technologies, Inc. SD/MMC Host Controller
05:00.2 SD Host controller: JMicron Technologies, Inc. Standard SD Host Controller
05:00.3 System peripheral: JMicron Technologies, Inc. MS Host Controller
05:00.4 System peripheral: JMicron Technologies, Inc. xD Host Controller

still there is sound...any more suggestions??

Revision history for this message
Best Cristi Nistor (cristi-nistor) said :
#4

One solution might be to edit the etc/modprobe.d/alsa-base file and add the following line at the end of the file.

options snd-hda-intel enable_msi=1

reboot the system and test your audio configuration (in System --> Preferences --> Sound).

Good luck.

Revision history for this message
Cristi Nistor (cristi-nistor) said :
#5

The file is etc/modprobe.d/alsa-base.conf in Jaunty. My omission.

Read this http://ubuntuforums.org/showthread.php?t=1043568
and this https://help.ubuntu.com/community/HdaIntelSoundHowto

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#6

Hi,

Please try this procedure:

1. copy-paste the following command into the Terminal:

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

2. and add these lines to the end of the /etc/modprobe.d/alsa-base.conf file:

# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-hda-intel model=dell-m4-1
options snd-hda-intel enable_msi=1

3. Then navigate to System>Preferences>Sound and change everything to ALSA

4. copy-paste the following command into the Terminal:

gksudo gedit /etc/group

5. replace the following line (or something very similar to it):

audio:x:29:pulse

with this line:

audio:x:29:nagender,pulse

6. reboot and retest sound

7. In the Mixer control panel, make sure to unmute all channels and increase the volume on all channels

8. If the dell-m4-1 alsa-base.conf option does not work, please try one of the following, reboot your pc and retest sound:

 STAC92HD71B*
   ref Reference board
   dell-m4-1 Dell desktops
   dell-m4-2 Dell desktops

Regards,

Mark

Revision history for this message
jason (nagendervss) said :
#7

Thanks Cristi Nistor, that solved my question.

Revision history for this message
jason (nagendervss) said :
#8

thanks cristi and mark for responding...solution provided by cristi has solved my problem...thanks a lot.... :)

Revision history for this message
Cristi Nistor (cristi-nistor) said :
#9

you welcome. Let's hope that the new release of Ubuntu will come out with less problems.