Codec + Mixer: IDT 92HD71B7X - STAC92xx Analog (DUPLEX) Audio device [0403]: Intel Corporation 82801I (ICH9 Family) HD Audio Controller [8086:293e] (rev 03) not working on HP pavilion dv3000 in Ubuntu 9.04

Asked by rad900

I installed ubuntu 9.04 on my laptop(HP pavilion dv3000) But I cant hear any sound when I play video or audio file .

Question information

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

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 2 commands (copy/paste each command into the Terminal and then hit <enter> after each command)

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 command. The command STARTS with the word cat and ENDS with the word snd. So please copy-paste the ENTIRE command below into a Terminal, press enter, then enter password when sudo asks for password, then press enter again.

cat /proc/asound/cards; sudo aptitude install gnome-alsamixer asoundconf-gtk alsa-utils flashplugin-nonfree-extrasound ; asoundconf list; aplay -l; sudo lshw -C sound; ls -lart /dev/snd; cat /dev/sndstat; lspci -nn ; lsmod | grep snd

Step 4: Please post results (copy/paste terminal output) 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.
Also make sure to use the special function keys in Windows to make sure the loudspeakers are physically switched ON and working properly in Windows before installing and testing Ubuntu. This step is necessary with certain Toshiba Tecra laptops.

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

Step 9: Run the command gnome-volume-control and set the Sound Theme to "No sounds" (Sound Theme is also accessible via System > Preferences > Sound)

Step 10: Try connecting headphones to different audio jacks/ports on the backpanel of the sound card until you hopefully hear sound

Step 11: If you happen to have two soundcards installed in your pc, one integrated into the motherboard and one inserted into a PCI slot, then try removing the PCI audio card, reboot your pc and retest sound using only the motherboard's soundchip.

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

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

http://ubuntuforums.org/showthread.php?t=789578&highlight=audacity

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

Each combination of audio codec, audio mixer and audio device name requires a very specific configuration in the alsa-base.conf file, if the audio chipset does not work out-of-the-box.

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 in gnome-alsamixer.

If sound still does not work, try upgrading ALSA to the newest version, reboot and retest sound.

ALSA upgrade procedure is here:

http://monespaceperso.org/blog-en/2009/05/09/upgrade-alsa-1020-on-ubuntu-jaunty-904/

Kind regards,

Mark

Revision history for this message
rad900 (rad900) said :
#2

ebrahim@Ebrahim-laptop:~$ wget -O alsa-info.sh http://www.alsa-project.org/alsa-info.sh
--2009-08-06 18:34:43-- 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-08-06 18:34:43-- 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: unspecified [text/plain]
Saving to: `alsa-info.sh'

    [ <=> ] 26,185 35.2K/s in 0.7s

2009-08-06 18:34:44 (35.2 KB/s) - `alsa-info.sh' saved [26185]

ebrahim@Ebrahim-laptop:~$ bash alsa-info.sh
WARNING: All config files need .conf: /etc/modprobe.d/alsa-base, it will be ignored in a future release.
ALSA Information Script v 0.4.57
--------------------------------

This script visits the following commands/files to collect diagnostic
information about your ALSA installation and sound related hardware.

  dmesg
  lspci
  lsmod
  aplay
  amixer
  alsactl
  /proc/asound/
  /sys/class/sound/
  ~/.asoundrc (etc.)

See 'alsa-info.sh --help' for command line options.

WARNING: All config files need .conf: /etc/modprobe.d/alsa-base, it will be ignored in a future release.
Automatically upload ALSA information to www.alsa-project.org? [y/N] : y
Uploading information to www.alsa-project.org ... Done!

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

Please inform the person helping you.

ebrahim@Ebrahim-laptop:~$

Revision history for this message
Arnaudus (a-lerouzic) said :
#3

Hi,

This looks like bug #393523 , marked as "Fix commited". It probably means that this'll may be fixed at the next update. You can follow the workarounds proposed there of you want to fix it immediately.

Revision history for this message
rad900 (rad900) said :
#4

Step 4:
ebrahim@Ebrahim-laptop:~$ cat /proc/asound/cards; sudo aptitude install gnome-alsamixer asoundconf-gtk alsa-utils flashplugin-nonfree-extrasound ; asoundconf list; aplay -l; sudo lshw -C sound; ls -lart /dev/snd; cat /dev/sndstat; lspci -nn ; lsmod | grep snd
 0 [Intel ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xd9300000 irq 22
[sudo] password for ebrahim:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Initializing package states... Done
Writing extended state information... Done
The following NEW packages will be installed:
  asoundconf-gtk flashplugin-nonfree-extrasound gnome-alsamixer
  libgconfmm-2.6-1c2{a} libglademm-2.4-1c2a{a} libpulse-mainloop-glib0{a}
  padevchooser{a} paman{a} paprefs{a} pavucontrol{a} pavumeter{a}
  pulseaudio-module-zeroconf{a}
0 packages upgraded, 12 newly installed, 0 to remove and 2 not upgraded.
Need to get 413kB of archives. After unpacking 2781kB will be used.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
Get:1 http://ae.archive.ubuntu.com jaunty/universe asoundconf-gtk 1.6-0ubuntu1 [6444B]
Get:2 http://ae.archive.ubuntu.com jaunty/multiverse flashplugin-nonfree-extrasound 0.0.svn2431-3 [8160B]
Get:3 http://ae.archive.ubuntu.com jaunty/universe gnome-alsamixer 0.9.7~cvs.20060916.ds.1-2 [53.7kB]
Get:4 http://ae.archive.ubuntu.com jaunty/main libgconfmm-2.6-1c2 2.24.0-0ubuntu1 [31.1kB]
Get:5 http://ae.archive.ubuntu.com jaunty/main libglademm-2.4-1c2a 2.6.7-1 [21.4kB]
Get:6 http://ae.archive.ubuntu.com jaunty/main libpulse-mainloop-glib0 1:0.9.14-0ubuntu20 [30.9kB]
Get:7 http://ae.archive.ubuntu.com jaunty/universe pavumeter 0.9.3-1ubuntu1 [29.2kB]
Get:8 http://ae.archive.ubuntu.com jaunty/universe pavucontrol 0.9.7-1ubuntu3 [66.0kB]
Get:9 http://ae.archive.ubuntu.com jaunty/universe paman 0.9.4-1ubuntu2 [92.2kB]
Get:10 http://ae.archive.ubuntu.com jaunty/main pulseaudio-module-zeroconf 1:0.9.14-0ubuntu20 [18.4kB]
Get:11 http://ae.archive.ubuntu.com jaunty/universe paprefs 0.9.7-0ubuntu1 [35.2kB]
Get:12 http://ae.archive.ubuntu.com jaunty/universe padevchooser 0.9.3-2ubuntu4 [20.2kB]
Fetched 413kB in 12s (32.2kB/s)
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
Selecting previously deselected package asoundconf-gtk.
(Reading database ... 114094 files and directories currently installed.)
Unpacking asoundconf-gtk (from .../asoundconf-gtk_1.6-0ubuntu1_all.deb) ...
Selecting previously deselected package flashplugin-nonfree-extrasound.
Unpacking flashplugin-nonfree-extrasound (from .../flashplugin-nonfree-extrasound_0.0.svn2431-3_i386.deb) ...
Selecting previously deselected package gnome-alsamixer.
Unpacking gnome-alsamixer (from .../gnome-alsamixer_0.9.7~cvs.20060916.ds.1-2_i386.deb) ...
Selecting previously deselected package libgconfmm-2.6-1c2.
Unpacking libgconfmm-2.6-1c2 (from .../libgconfmm-2.6-1c2_2.24.0-0ubuntu1_i386.deb) ...
Selecting previously deselected package libglademm-2.4-1c2a.
Unpacking libglademm-2.4-1c2a (from .../libglademm-2.4-1c2a_2.6.7-1_i386.deb) ...
Selecting previously deselected package libpulse-mainloop-glib0.
Unpacking libpulse-mainloop-glib0 (from .../libpulse-mainloop-glib0_1%3a0.9.14-0ubuntu20_i386.deb) ...
Selecting previously deselected package pavumeter.
Unpacking pavumeter (from .../pavumeter_0.9.3-1ubuntu1_i386.deb) ...
Selecting previously deselected package pavucontrol.
Unpacking pavucontrol (from .../pavucontrol_0.9.7-1ubuntu3_i386.deb) ...
Selecting previously deselected package paman.
Unpacking paman (from .../paman_0.9.4-1ubuntu2_i386.deb) ...
Selecting previously deselected package pulseaudio-module-zeroconf.
Unpacking pulseaudio-module-zeroconf (from .../pulseaudio-module-zeroconf_1%3a0.9.14-0ubuntu20_i386.deb) ...
Selecting previously deselected package paprefs.
Unpacking paprefs (from .../paprefs_0.9.7-0ubuntu1_i386.deb) ...
Selecting previously deselected package padevchooser.
Unpacking padevchooser (from .../padevchooser_0.9.3-2ubuntu4_i386.deb) ...
Processing triggers for man-db ...
Setting up asoundconf-gtk (1.6-0ubuntu1) ...
Setting up flashplugin-nonfree-extrasound (0.0.svn2431-3) ...
Setting up gnome-alsamixer (0.9.7~cvs.20060916.ds.1-2) ...

Setting up libgconfmm-2.6-1c2 (2.24.0-0ubuntu1) ...

Setting up libglademm-2.4-1c2a (2.6.7-1) ...

Setting up libpulse-mainloop-glib0 (1:0.9.14-0ubuntu20) ...

Setting up pavumeter (0.9.3-1ubuntu1) ...

Setting up pavucontrol (0.9.7-1ubuntu3) ...

Setting up paman (0.9.4-1ubuntu2) ...

Setting up pulseaudio-module-zeroconf (1:0.9.14-0ubuntu20) ...
Setting up paprefs (0.9.7-0ubuntu1) ...

Setting up padevchooser (0.9.3-2ubuntu4) ...

Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done

Names of available sound cards:
Intel
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: STAC92xx Digital [STAC92xx Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
  *-multimedia
       description: Audio device
       product: 82801I (ICH9 Family) HD Audio Controller
       vendor: Intel Corporation
       physical id: 1b
       bus info: pci@0000:00:1b.0
       version: 03
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: driver=HDA Intel latency=0 module=snd_hda_intel
total 0
crw-rw----+ 1 root audio 116, 2 2009-08-06 15:45 timer
crw-rw----+ 1 root audio 116, 3 2009-08-06 15:45 seq
crw-rw----+ 1 root audio 116, 4 2009-08-06 15:45 pcmC0D1p
crw-rw----+ 1 root audio 116, 7 2009-08-06 15:45 controlC0
drwxr-xr-x 2 root root 160 2009-08-06 15:45 .
crw-rw----+ 1 root audio 116, 6 2009-08-06 16:33 pcmC0D0c
crw-rw----+ 1 root audio 116, 5 2009-08-06 18:34 pcmC0D0p
drwxr-xr-x 17 root root 4580 2009-08-06 18:41 ..
Sound Driver:3.8.1a-980706 (ALSA v1.0.18rc3 emulation code)
Kernel: Linux Ebrahim-laptop 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686
Config options: 0

Installed drivers:
Type 10: ALSA emulation

Card config:
HDA Intel at 0xd9300000 irq 22

Audio devices:
0: STAC92xx Analog (DUPLEX)

Synth devices: NOT ENABLED IN CONFIG

Midi devices: NOT ENABLED IN CONFIG

Timers:
31: system timer

Mixers:
0: IDT 92HD71B7X
00:00.0 Host bridge [0600]: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub [8086:2a40] (rev 07)
00:01.0 PCI bridge [0604]: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port [8086:2a41] (rev 07)
00:1a.0 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 [8086:2937] (rev 03)
00:1a.1 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 [8086:2938] (rev 03)
00:1a.7 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 [8086:293c] (rev 03)
00:1b.0 Audio device [0403]: Intel Corporation 82801I (ICH9 Family) HD Audio Controller [8086:293e] (rev 03)
00:1c.0 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 [8086:2940] (rev 03)
00:1c.1 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 [8086:2942] (rev 03)
00:1c.5 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 [8086:294a] (rev 03)
00:1d.0 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 [8086:2934] (rev 03)
00:1d.1 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 [8086:2935] (rev 03)
00:1d.2 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 [8086:2936] (rev 03)
00:1d.3 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 [8086:2939] (rev 03)
00:1d.7 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 [8086:293a] (rev 03)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev 93)
00:1f.0 ISA bridge [0601]: Intel Corporation ICH9M LPC Interface Controller [8086:2919] (rev 03)
00:1f.2 SATA controller [0106]: Intel Corporation ICH9M/M-E SATA AHCI Controller [8086:2929] (rev 03)
00:1f.3 SMBus [0c05]: Intel Corporation 82801I (ICH9 Family) SMBus Controller [8086:2930] (rev 03)
01:00.0 VGA compatible controller [0300]: nVidia Corporation GeForce 9300M GS [10de:06e9] (rev a1)
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 02)
03:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection [8086:4237]
snd_hda_intel 435636 3
snd_pcm_oss 46336 0
snd_mixer_oss 22656 1 snd_pcm_oss
snd_pcm 82948 2 snd_hda_intel,snd_pcm_oss
snd_seq_dummy 10756 0
snd_seq_oss 37760 0
snd_seq_midi 14336 0
snd_rawmidi 29696 1 snd_seq_midi
snd_seq_midi_event 15104 2 snd_seq_oss,snd_seq_midi
snd_seq 56880 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 29704 2 snd_pcm,snd_seq
snd_seq_device 14988 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd 62628 15 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 15200 1 snd
snd_page_alloc 16904 2 snd_hda_intel,snd_pcm
ebrahim@Ebrahim-laptop:~$

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

Thanks Mark Rijckenberg, that solved my question.