Codec + Mixer: IDT 92HD71B7X - STAC92xx Analog sound device not working on Dell Inspiron 15 laptop in Ubuntu 9.04

Asked by surya

Binary package hint: nautilus

I am receiving no sound output in mu UBUNTU 9.04. I am running ubuntu in Dell Inspiron laptop. While testing for the sound output, there is no sound heard.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/bin/nautilus
Package: nautilus 1:2.26.2-0ubuntu1
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_IN
 SHELL=/bin/bash
SourcePackage: nautilus
Uname: Linux 2.6.28-11-generic i686

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu nautilus Edit question
Assignee:
No assignee Edit question
Solved by:
Mark Rijckenberg
Solved:
Last query:
Last reply:
Revision history for this message
surya (surya-ncmrwf) said :
#1
Revision history for this message
A. Walton (awalton) said :
#2

Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker. We appreciate the difficulties you are facing, but it would make more sense to raise problems you are having in the support tracker at https://answers.launchpad.net/ubuntu if you are uncertain if they are bugs. For help on reporting bugs, see https://help.ubuntu.com/community/ReportingBugs .

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

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: Please also specify the exact model and make of your PC (if possible) on this thread

Step 7: 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 8: Experiment with the audio settings in gnome-alsamixer and asoundconf-gtk until you get sound (hopefully)

Step 9: 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
surya (surya-ncmrwf) said :
#4

Respected Sir,
               I first of all thank you for your prompt reply and help. I am having
problem with sound output in both speakers and headphone. I am having dual boot Dell
Inspiron 15 laptop with core 2 duo T6400 processors. I am having Windows Vista and
Ubuntu installed in separate partition. I am attaching the terminal outputs as an
attachment with this mail for your easy viewing.

Hope to receive reply from you soon.

With Regards

Surya Kanti Dutta

------------------------------------------------------
Rsearch Scholar
National Centre for Medium Range Weather Forecasting
A-50, Institutional Area, Phase-II
Sector-62, Noida-201307
Uttar Pradesh, India
------------------------------------------------------

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

Hi,

Attachments are unfortunately not possible in this thread. Can you copy-paste the contents here, please?

Regards,

Mark

Revision history for this message
surya (surya-ncmrwf) said :
#6

Respected Sir,
               I am sorry for my mistake. I am once again writing the details and
attaching the required information asked, inline with the text.

I am having problem with sound output in both speakers and headphone. I am having dual
boot Dell Inspiron 15 laptop with core 2 duo T6400 processors. I am having Windows Vista
and Ubuntu installed in separate partition.

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

--2009-05-22 11:06:46-- 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-22 11:06:47--
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,428 19.4K/s in 1.3s

2009-05-22 11:06:49 (19.4 KB/s) - `alsa-info.sh' saved [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

y
           Uploading information to www.alsa-project.org ... Done!

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

2. cat /proc/asound/cards
 0 [Intel ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xf6afc000 irq 21

3. asoundconf list
Names of available sound cards:
Intel

4. sudo aptitude install gnome-alsamixer asoundconf-gtk
[sudo] password for surya:
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 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, 11 newly installed, 0 to remove and 0 not upgraded.
Need to get 405kB of archives. After unpacking 2716kB will be used.
Do you want to continue? [Y/n/?] Y
Writing extended state information... Done
Get:1 http://in.archive.ubuntu.com jaunty/universe asoundconf-gtk 1.6-0ubuntu1 [6444B]
Get:2 http://in.archive.ubuntu.com jaunty/universe gnome-alsamixer
0.9.7~cvs.20060916.ds.1-2 [53.7kB]
Get:3 http://in.archive.ubuntu.com jaunty/main libgconfmm-2.6-1c2 2.24.0-0ubuntu1 [31.1kB]
Get:4 http://in.archive.ubuntu.com jaunty/main libglademm-2.4-1c2a 2.6.7-1 [21.4kB]

Get:5 http://in.archive.ubuntu.com jaunty/main libpulse-mainloop-glib0
1:0.9.14-0ubuntu20 [30.9kB]

Get:6 http://in.archive.ubuntu.com jaunty/universe pavumeter 0.9.3-1ubuntu1 [29.2kB]

Get:7 http://in.archive.ubuntu.com jaunty/universe pavucontrol 0.9.7-1ubuntu3 [66.0kB]

Get:8 http://in.archive.ubuntu.com jaunty/universe paman 0.9.4-1ubuntu2 [92.2kB]

Get:9 http://in.archive.ubuntu.com jaunty/main pulseaudio-module-zeroconf
1:0.9.14-0ubuntu20 [18.4kB]

Get:10 http://in.archive.ubuntu.com jaunty/universe paprefs 0.9.7-0ubuntu1 [35.2kB]

Get:11 http://in.archive.ubuntu.com jaunty/universe padevchooser 0.9.3-2ubuntu4 [20.2kB]

Fetched 405kB in 32s (12.3kB/s)

Selecting previously deselected package asoundconf-gtk.
(Reading database ... 102455 files and directories currently installed.)
Unpacking asoundconf-gtk (from .../asoundconf-gtk_1.6-0ubuntu1_all.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 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

5. aplay -l
**** 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

6. cat /dev/sndstat
Sound Driver:3.8.1a-980706 (ALSA v1.0.18rc3 emulation code)
Kernel: Linux thunder 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 0xf6afc000 irq 21
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

7. lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Mobile 4 Series Chipset Memory Controller
Hub [8086:2a40] (rev 07)
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 4 Series Chipset
Integrated Graphics Controller [8086:2a42] (rev 07)
00:02.1 Display controller [0380]: Intel Corporation Mobile 4 Series Chipset Integrated
Graphics Controller [8086:2a43] (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.2 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI
Controller #6 [8086:2939] (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.2 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3
[8086:2944] (rev 03)
00:1c.4 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5
[8086:2948] (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.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)
09:00.0 Ethernet controller [0200]: Marvell Technology Group Ltd. 88E8040 PCI-E Fast
Ethernet Controller [11ab:4354] (rev 13)
0c:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g [14e4:4315]
(rev 01)

8. lsmod | grep snd
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

The help extended by your team is really adorable. Thanking you once again.

With Regards

Surya Kanti Dutta

------------------------------------------------------
Rsearch Scholar
National Centre for Medium Range Weather Forecasting
A-50, Institutional Area, Phase-II
Sector-62, Noida-201307
Uttar Pradesh, India
------------------------------------------------------

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

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

5. If sound still does not work after rebooting, then replace the model option hp-dv5 with one of the following. After saving the change to the alsa-base.conf file, make sure to reboot and retest sound again with each different model option, until sound works.

STAC92HD71B* model options
==================
  dell-m4-1 Dell desktops
  hp-m4 HP dv laptops
  ref Reference board
  dell-m4-2 Dell desktops
  dell-m4-3 Dell desktops
  hp-dv5 HP laptops

Regards,

Mark

Revision history for this message
surya (surya-ncmrwf) said :
#8

Respected Sir,
               I really thank you for your help. The problem is resolved. Putting
model=dell-m4-3, resolved the problem. I tried with only hp-dv5 and dell-m4-3. It is
working fine with dell-m4-3. I didn't tried with other model names. But I have two
queries.

1. The maximum sound volume in Linux is quiet lower than that in Windows Vista. Why? I
tried to adjust the volume controllers. But, the result is same.

2. In System/Administration/Users and Groups, I didn't find any group of audio and
video. I created it separately. Is it proper to create audio and video groups manually?

Thanking you and your full team for all your efforts.

With Regards

Surya Kanti Dutta

------------------------------------------------------
Rsearch Scholar
National Centre for Medium Range Weather Forecasting
A-50, Institutional Area, Phase-II
Sector-62, Noida-201307
Uttar Pradesh, India
------------------------------------------------------

On Sat, 23 May 2009 09:10:08 -0000, Mark Rijckenberg wrote
> Your question #71853 on nautilus in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/nautilus/+question/71853
>
> Status: Open => Answered
>
> Mark Rijckenberg proposed the following answer:
> 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
>
> 5. If sound still does not work after rebooting, then replace the model
> option hp-dv5 with one of the following. After saving the change to the
> alsa-base.conf file, make sure to reboot and retest sound again with
> each different model option, until sound works.
>
> STAC92HD71B* model options
> ==================
> dell-m4-1 Dell desktops
> hp-m4 HP dv laptops
> ref Reference board
> dell-m4-2 Dell desktops
> dell-m4-3 Dell desktops
> hp-dv5 HP laptops
>
> Regards,
>
> Mark
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+source/nautilus/+question/71853/+confirm?
answer_id=6
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/nautilus/+question/71853
>
> You received this question notification because you are a direct
> subscriber of the question.

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

Hi Surya,

Happy to see that my advice solved your issue.

1. Have you tried increasing the volume with all the following programs as well?

gnome-alsamixer (this is probably the best volume control manager in Gnome)
alsamixer
aumix (which is part of the package aumix-gtk)
gnome-volume-control (which is part of the package gnome-volume-control-pulse)

Maybe you just need to deactivate the switch called "headphone" in the gnome-volume-control mixer.

2. Don't worry about the audio and video groups. If audio and video output is correct, then there is no need to create the audio and video groups.

Please set this thread to status "solved" if all your questions are now fully answered.

Kind regards,

Mark

Revision history for this message
surya (surya-ncmrwf) said :
#10

Respected Sir,
                      My problem is solved. Thank You.

With Regards

Surya

Revision history for this message
surya (surya-ncmrwf) said :
#11

Thanks Mark Rijckenberg, that solved my question.