Codec: IDT 92HD73C1X5 - Mixer: Nvidia MCP7A HDMI - NVidia [HDA NVidia], device 0: STAC92xx Analog [STAC92xx Analog] Audio device: nVidia Corporation MCP79 High Definition Audio (rev b1) - no sound on Dell Studio XPS 1340 in Ubuntu 9.10 - using ALSA driver 1.0.20

Asked by PJ

Hi!
I just installed ubuntu 9.10 karmic, sound doesn't work.
When I enter Hardware Drivers, in the list there is only information about my graphic card.
When I enter the sound dialog, by clicking sound icon at top right in GNOME, it has found a device named internal input device and apparently it works but it doesn't.
before that I was using debian and it worked, but recently I noticed in the sound dialog in debian I had to check the check box related to headphones(I don't exactly remember the text but I think it said use headphones as input devices) to hear sounds.

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
actionparsnip (andrew-woodhead666) said :
#1

Can you give the output of:

sudo lshw -C sound

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

Please send us the full terminal output from step 3 and step 4 from this procedure:

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

Please make sure to test sound both via speakers and headphones.

Revision history for this message
PJ (pjsofts) said :
#3

porya@porya-laptop:~$ sudo -i
[sudo] password for porya:
root@porya-laptop:~# lshw -C sound
  *-multimedia
       description: Audio device
       product: MCP79 High Definition Audio
       vendor: nVidia Corporation
       physical id: 8
       bus info: pci@0000:00:08.0
       version: b1
       width: 32 bits
       clock: 66MHz
       capabilities: pm bus_master cap_list
       configuration: driver=HDA Intel latency=0 maxlatency=5 mingnt=2
       resources: irq:17 memory:f0880000-f0883fff

root@porya-laptop:~# lspci -v
...
00:08.0 Audio device: nVidia Corporation MCP79 High Definition Audio (rev b1)
 Subsystem: Dell Device 0271
 Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 17
 Memory at f0880000 (32-bit, non-prefetchable) [size=16K]
 Capabilities: [44] Power Management version 2
 Kernel driver in use: HDA Intel
 Kernel modules: snd-hda-intel
...
root@porya-laptop:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: STAC92xx Analog [STAC92xx Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

root@porya-laptop:~# cat /etc/modprobe.d/alsa-base.conf
# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7

# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
#
# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; }
#
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
options snd-usb-caiaq index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
# Power down HDA controllers after 10 idle seconds

Revision history for this message
PJ (pjsofts) said :
#4

I uploaded terminal output of step3 and step4 here:
http://pjsoft.persiangig.com/step3.txt
http://pjsoft.persiangig.com/step4.txt

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

Hi,

Please try this procedure:

1. First upgrade ALSA using this procedure:

http://monespaceperso.org/blog-en/2009/12/17/upgrade-alsa-1-0-22-on-ubuntu-karmic-koala-9-10/

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

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

3. In the gedit editor, please 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-m6
options snd-hda-intel enable_msi=1

4. reboot and retest sound using both headphones and speakers

5. If the dell-m6 alsa-base.conf option does not work, please try one of the following model options (ref, no-jd, dell-m6-amic, etc...) , reboot your pc and retest sound:
Make sure to only use 1 model option at a time in the alsa-base.conf file (between reboots)

 STAC92HD73*
   ref Reference board
   no-jd BIOS setup but without jack-detection
   dell-m6-amic Dell desktops/laptops with analog mics
   dell-m6-dmic Dell desktops/laptops with digital mics
   dell-m6 Dell desktops/laptops with both type of mics

6. Also try connecting the external speakers to a different audio port on the sound card and retest sound

Regards,

Mark

Revision history for this message
PJ (pjsofts) said :
#6

I tried all of them, no-jd worked.
Thanks Mark, Thanks a lot.
You guys are legends.

PJ

Revision history for this message
PJ (pjsofts) said :
#7

Thanks Mark Rijckenberg, that solved my question.