Codec: IDT 92HD71B7X - Mixer: Intel G45 DEVCTG - STAC92xx Analog audio device - Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03) - not working on HP Pavilion dv4-1125nr laptop in Ubuntu 9.04

Asked by Daniel P. Collins

I just installed ubuntu 9.4.0 64 bit on my computer. I notice when ubuntu loads and gives me the login page immediately I hear this annoying pinging sound coming from my speaker and that's the only sound I get outta it (it eventually dies out). When I play music, it won't play and the audio for video files won't run either. I am using an HP Pavilion dv4-1125nr notebook. Any help would be greatly appreciated.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Mark Rijckenberg
Solved:
Last query:
Last reply:
Revision history for this message
Daniel P. Collins (lordcornwallis999) said :
#1

Well, I unfortunately found out that there is not a driver for my sound card from ALSA. Is there any way that I can make a request for a driver for my sound card? Or is there another way to make my sound work?

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

Hi,

In order to gather essential troubleshooting information about your sound card, please first follow this procedure:

Step 1: Open Terminal from "Applications->Accessories->
Terminal"

Step 2: Run the following commands (copy/paste each command into the Terminal and then hit <enter>)

wget -O alsa-info.sh http://www.alsa-project.org/alsa-info.sh && bash alsa-info.sh

When the alsa-info.sh script asks "Do you want to run this script? [y/n]", press y and then hit <enter> to make sure the script actually runs. Please send us the full terminal output after the script has actually run.

Step 3: Run the following commands (copy/paste each command into the Terminal and then hit <enter>)

cat /proc/asound/cards
asoundconf list
sudo aptitude install gnome-alsamixer asoundconf-gtk
aplay -l
cat /dev/sndstat
lspci -nn
lsmod | grep snd

Step 4: Please post results (copy/paste terminal output from each command) on this thread

Step 5: Please also report on this thread if you cannot hear sound through the speakers, the headphones or cannot hear sound on both.

Step 6: If you are using a dual boot system (with Windows and Ubuntu installed on separate partitions),
then make sure to set the sound volume in Windows to a high level before booting into Ubuntu. Make sure to enable the loudspeakers using the functional keys in Windows before booting into Ubuntu. This step may be necessary for your HP Pavilion laptop.

Step 7: Experiment with the audio settings in gnome-alsamixer and asoundconf-gtk until you get sound (hopefully)

Step 8: In System/Administration/Users and Groups , make sure that your user and the root user are members of the following 5 groups:

 pulse
 pulse-access
 pulse-rt
 audio
 video

=======================================================================================

Please also read the following pages

http://www.ubuntugeek.com/sound-solutions-for-ubuntu-904-jaunty-users.html

http://doc.ubuntu-fr.org/audio_intel_hda (check for correct /etc/modprobe.d/alsa-base.conf options at bottom of this page)

https://help.ubuntu.com/community/SoundTroubleshooting

for some initial suggestions.

You should add the following string to the /etc/modprobe.d/alsa-base.conf file

options snd-hda-intel model=YOUR_MODEL

Valid model names (that replace YOUR_MODEL) depending on the codec chip, can be found at

http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-jaunty.git;a=blob_plain;f=Documentation/sound/alsa/ALSA-Configuration.txt

If you do not know your codec chip name, you can execute the following Terminal command to find out:

cat /proc/asound/card*/codec* | grep Codec

Make sure to set all channels to high volume levels in gnome-alsamixer.

Make sure all the different speakers (including 'Front', 'Master', and 'PCM") are NOT muted and NOT set to low volume levels.

Kind regards,

Mark

Revision history for this message
Daniel P. Collins (lordcornwallis999) said :
#3

Hi. Thanks for the quick response. Here is everything that came up in the terminal:

daniel@ubuntu:~$ wget -O alsa-info.sh http://www.alsa-project.org/alsa-info.sh && bash alsa-info.sh
--2009-05-20 03:28:05-- http://www.alsa-project.org/alsa-info.sh
Resolving www.alsa-project.org... 212.20.107.51
Connecting to www.alsa-project.org|212.20.107.51|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://git.alsa-project.org/?p=alsa-driver.git;a=blob_plain;f=utils/alsa-info.sh [following]
--2009-05-20 03:28:05-- http://git.alsa-project.org/?p=alsa-driver.git;a=blob_plain;f=utils/alsa-info.sh
Resolving git.alsa-project.org... 212.20.107.51
Reusing existing connection to www.alsa-project.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 26428 (26K) [text/plain]
Saving to: `alsa-info.sh'

100%[======================================>] 26,428 70.9K/s in 0.4s

2009-05-20 03:28:07 (70.9 KB/s) - `alsa-info.sh' saved [26428/26428]

ALSA Information Script v 0.4.56
--------------------------------

This script will collect information about your ALSA installation and sound related hardware, to help diagnose your problem.

By default, the collected information will be AUTOMATICALLY uploaded to a www.alsa-project.org site.
If you do not wish for this to occur, run the script with the --no-upload argument

Do you want to run this script? [y/n] : y
          Uploading information to www.alsa-project.org ... Done!

Your ALSA information is located at http://www.alsa-project.org/db/?f=34861052067a86578c77f782080f7a0aee4b9a4b

Please inform the person helping you.

Revision history for this message
Daniel P. Collins (lordcornwallis999) said :
#4

Sorry. Forgot to include everything from step 3. Here's everything that you'll need to know I think:
daniel@ubuntu:~$ wget -O alsa-info.sh http://www.alsa-project.org/alsa-info.sh && bash alsa-info.sh
--2009-05-20 03:28:05-- http://www.alsa-project.org/alsa-info.sh
Resolving www.alsa-project.org... 212.20.107.51
Connecting to www.alsa-project.org|212.20.107.51|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://git.alsa-project.org/?p=alsa-driver.git;a=blob_plain;f=utils/alsa-info.sh [following]
--2009-05-20 03:28:05-- http://git.alsa-project.org/?p=alsa-driver.git;a=blob_plain;f=utils/alsa-info.sh
Resolving git.alsa-project.org... 212.20.107.51
Reusing existing connection to www.alsa-project.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 26428 (26K) [text/plain]
Saving to: `alsa-info.sh'

100%[======================================>] 26,428 70.9K/s in 0.4s

2009-05-20 03:28:07 (70.9 KB/s) - `alsa-info.sh' saved [26428/26428]

ALSA Information Script v 0.4.56
--------------------------------

This script will collect information about your ALSA installation and sound related hardware, to help diagnose your problem.

By default, the collected information will be AUTOMATICALLY uploaded to a www.alsa-project.org site.
If you do not wish for this to occur, run the script with the --no-upload argument

Do you want to run this script? [y/n] : y
          Uploading information to www.alsa-project.org ... Done!

Your ALSA information is located at http://www.alsa-project.org/db/?f=34861052067a86578c77f782080f7a0aee4b9a4b

Please inform the person helping you.

daniel@ubuntu:~$ cat /proc/asound/cards
 0 [Intel ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xdc500000 irq 22
daniel@ubuntu:~$ asoundconf list
Names of available sound cards:
Intel
daniel@ubuntu:~$ sudo aptitude install gnome-alsamixer asoundconf-gtk
[sudo] password for daniel:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done

daniel@ubuntu:~$

Also, I tried using headphones and there is no sound coming from them either. Also, I do notice that sometimes I'll here a really loud obnoxious beep sound sometimes if I press a certain key. Again, thank you for your help!

Daniel.

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

Hi,

In System/Administration/Users and Groups , make sure that your user and the root user are members of the following groups:

 pulse
 pulse-access
 pulse-rt
 audio
 video

Then 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 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=hp-dv5
options snd-hda-intel enable_msi=1

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

4. reboot and retest sound

Regards,

Mark

Revision history for this message
Daniel P. Collins (lordcornwallis999) said :
#6

I think we are definitely getting somewhere. The annoying pinging sound has stopped when I rebooted. I'm still not getting any sound outta the speakers yet. Is there anything else that needs to be done?

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

Hi,

Please try this procedure instead:

In System/Administration/Users and Groups , make sure that your user and the root user are members of the following groups:

 pulse
 pulse-access
 pulse-rt
 audio
 video

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 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=3stack-dig
options snd-hda-intel enable_msi=1
options snd-hda-intel single_cmd=1

# So make sure to replace the hp-dv5 model option with model option 3stack-dig

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

4. reboot and retest sound

Regards,

Mark

Revision history for this message
Daniel P. Collins (lordcornwallis999) said :
#8

Hi. I tried that and I still am not getting any sound...is there something else that might be wrong. I can hear a beep sound when I press certain keys or right when I click restart the computer so I hope that means that my sound card is compatible. Is there anything else that I could be doing?

Revision history for this message
Rob Frerejean (hffrerejean) said :
#9

Hi,

I did Google for a while and found this for you. It might be of any help.

http://bbs.archlinux.org/viewtopic.php?pid=502741

Rob

Revision history for this message
Daniel P. Collins (lordcornwallis999) said :
#10

Hi,

I finally managed to get the sound to work! Thanks a lot for your help! Really appreciate it!

Revision history for this message
Daniel P. Collins (lordcornwallis999) said :
#11

Thanks Mark Rijckenberg, that solved my question.

Revision history for this message
komputes (komputes) said :
#12

@ Mark Rijckenberg - Thank you, this seems to work on a hp pavilion dv4t

Revision history for this message
sr.shrikant09 (sr-shrikant) said :
#13

@Mark Rijckenberg - Mark dude ....ur the man....ve searched all over the net for a solutipon to this problem. it works awsum. just so guys know in the future..its a bug wit all HP DV x notebooks and this fix works fine for DV4 1131 TX. Thanx Man. Really appreciate it