STAC92xx analog sound codec not working on Ubuntu 8.10

Asked by rwb

no sound on hp dv4 1220 laptop running Ubuntu 8.10

There are two issues that seem similar to mine: #63235 and #61755. Unfortunately 61755 expired. 63235 requires input from the user regarding the result of running specific commands. I have visited the Ubuntu sound troubleshooting page with mixed results. I am new to Linux and there are some things that are not clear to me.

Following issue #63235, I went to: https://help.ubuntu.com/community/SoundTroubleshooting
First, I followed the instructions Mark gave to Silence28

lspci – v | less:
00:00.0 Host bridge: Advanced Micro Devices [AMD] RS780 Host Bridge
  Subsystem: Hewlett-Packard Company Device 30fb
  Flags: bus master, 66MHz, medium devsel, latency 0
  Capabilities: <access denied>

00:01.0 PCI bridge: Hewlett-Packard Company Device 9602
  Flags: bus master, 66MHz, medium devsel, latency 64
  Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
  I/O behind bridge: 00007000-00007fff
  Memory behind bridge: d2300000-d24fffff
  Prefetchable memory behind bridge: 00000000c0000000-00000000cfffffff
  Capabilities: <access denied>
  Kernel modules: shpchp

00:04.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 0)
  Flags: bus master, fast devsel, latency 0
  Bus: primary=00, secondary=02, subordinate=07, sec-latency=0
  I/O behind bridge: 00003000-00006fff
  Memory behind bridge: d1300000-d22fffff
  Prefetchable memory behind bridge: 00000000d0000000-00000000d0ffffff
  Capabilities: <access denied>
  Kernel driver in use: pcieport-driver

lsmod |grep snd:
snd_hda_intel 492336 3
snd_pcm_oss 52608 0
snd_mixer_oss 25088 1 snd_pcm_oss
snd_pcm 99208 2 snd_hda_intel,snd_pcm_oss
snd_seq_dummy 11524 0
snd_seq_oss 42368 0
snd_seq_midi 15872 0
snd_rawmidi 34176 1 snd_seq_midi
snd_seq_midi_event 16768 2 snd_seq_oss,snd_seq_midi
snd_seq 67168 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 34320 2 snd_pcm,snd_seq
snd_seq_device 16404 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd 79432 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 16800 1 snd
snd_page_alloc 17680 2 snd_hda_intel,snd_pcm

aplay -l:
**** List of playback hardware devices****
card0: SB [HDA ATI SB], device 0: STAC92xx analog [STAC92xx Analog]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card1: HDMI [HDA ATI HTMI], device 3: ATI HDMI [ATI HDMI]
 Subdevices: 1/1
 Subdevice #0: subdevice #0

find /lib/modules/`uname -r` | grep snd:
/lib/modules/2.6.27-11-generic/kernel/sound/soc/snd-soc-core.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pcmcia/vx/snd-vxpocket.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pcmcia/pdaudiocf/snd-pdaudiocf.ko

/lib/modules/2.6.27-11-generic/kernel/sound/isa/sb/snd-sb16-dsp.ko

/lib/modules/2.6.27-11-generic/kernel/sound/isa/sb/snd-sb-common.ko

/lib/modules/2.6.27-11-generic/kernel/sound/synth/snd-util-mem.ko

/lib/modules/2.6.27-11-generic/kernel/sound/synth/emux/snd-emux-synth.ko

/lib/modules/2.6.27-11-generic/kernel/sound/usb/caiaq/snd-usb-caiaq.ko

/lib/modules/2.6.27-11-generic/kernel/sound/usb/usx2y/snd-usb-usx2y.ko

/lib/modules/2.6.27-11-generic/kernel/sound/usb/snd-usb-lib.ko

/lib/modules/2.6.27-11-generic/kernel/sound/usb/snd-usb-audio.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/snd-fm801.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/hda/snd-hda-intel.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/snd-maestro3.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/vx222/snd-vx222.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/snd-rme32.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/rme9652/snd-hdspm.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/rme9652/snd-hdsp.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/rme9652/snd-rme9652.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/cs46xx/snd-cs46xx.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/ice1712/snd-ice1712.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/ice1712/snd-ice1724.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/ice1712/snd-ice17xx-ak4xxx.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/snd-via82xx.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/snd-es1968.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/snd-azt3328.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/echoaudio/snd-darla20.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/echoaudio/snd-indigodj.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/echoaudio/snd-darla24.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/echoaudio/snd-mona.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/echoaudio/snd-echo3g.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/echoaudio/snd-mia.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/echoaudio/snd-layla24.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/echoaudio/snd-gina24.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/echoaudio/snd-indigoio.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/echoaudio/snd-indigo.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/echoaudio/snd-gina20.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/echoaudio/snd-layla20.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/snd-atiixp-modem.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/snd-es1938.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/ac97/snd-ac97-codec.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/oxygen/snd-hifier.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/oxygen/snd-oxygen-lib.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/oxygen/snd-virtuoso.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/oxygen/snd-oxygen.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/snd-als300.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/emu10k1/snd-emu10k1-synth.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/emu10k1/snd-emu10k1.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/emu10k1/snd-emu10k1x.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/snd-intel8x0.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/riptide/snd-riptide.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/pcxhr/snd-pcxhr.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/ali5451/snd-ali5451.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/snd-cmipci.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/aw2/snd-aw2.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/snd-sonicvibes.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/snd-ens1371.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/snd-als4000.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/snd-atiixp.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/ca0106/snd-ca0106.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/nm256/snd-nm256.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/snd-cs5530.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/au88x0/snd-au8810.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/au88x0/snd-au8820.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/au88x0/snd-au8830.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/snd-rme96.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/snd-ens1370.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/snd-bt87x.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/korg1212/snd-korg1212.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/ymfpci/snd-ymfpci.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/mixart/snd-mixart.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/snd-cs4281.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/snd-intel8x0m.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/trident/snd-trident.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/snd-ad1889.ko

/lib/modules/2.6.27-11-generic/kernel/sound/pci/snd-via82xx-modem.ko

/lib/modules/2.6.27-11-generic/kernel/sound/drivers/snd-mts64.ko

/lib/modules/2.6.27-11-generic/kernel/sound/drivers/snd-dummy.ko

/lib/modules/2.6.27-11-generic/kernel/sound/drivers/vx/snd-vx-lib.ko

/lib/modules/2.6.27-11-generic/kernel/sound/drivers/mpu401/snd-mpu401.ko

/lib/modules/2.6.27-11-generic/kernel/sound/drivers/mpu401/snd-mpu401-uart.ko

/lib/modules/2.6.27-11-generic/kernel/sound/drivers/snd-portman2x4.ko

/lib/modules/2.6.27-11-generic/kernel/sound/drivers/snd-virmidi.ko

/lib/modules/2.6.27-11-generic/kernel/sound/drivers/opl3/snd-opl3-synth.ko

/lib/modules/2.6.27-11-generic/kernel/sound/drivers/opl3/snd-opl3-lib.ko

/lib/modules/2.6.27-11-generic/kernel/sound/drivers/pcsp/snd-pcsp.ko

/lib/modules/2.6.27-11-generic/kernel/sound/drivers/snd-serial-u16550.ko

/lib/modules/2.6.27-11-generic/kernel/sound/drivers/snd-mtpav.ko

/lib/modules/2.6.27-11-generic/kernel/sound/i2c/snd-cs8427.ko

/lib/modules/2.6.27-11-generic/kernel/sound/i2c/snd-i2c.ko

/lib/modules/2.6.27-11-generic/kernel/sound/i2c/other/snd-ak4117.ko

/lib/modules/2.6.27-11-generic/kernel/sound/i2c/other/snd-pt2258.ko

/lib/modules/2.6.27-11-generic/kernel/sound/i2c/other/snd-ak4114.ko

/lib/modules/2.6.27-11-generic/kernel/sound/i2c/other/snd-tea575x-tuner.ko

/lib/modules/2.6.27-11-generic/kernel/sound/i2c/other/snd-ak4xxx-adda.ko

/lib/modules/2.6.27-11-generic/kernel/sound/core/oss/snd-pcm-oss.ko

/lib/modules/2.6.27-11-generic/kernel/sound/core/oss/snd-mixer-oss.ko

/lib/modules/2.6.27-11-generic/kernel/sound/core/snd.ko

/lib/modules/2.6.27-11-generic/kernel/sound/core/snd-timer.ko

/lib/modules/2.6.27-11-generic/kernel/sound/core/snd-pcm.ko

/lib/modules/2.6.27-11-generic/kernel/sound/core/seq/oss/snd-seq-oss.ko

/lib/modules/2.6.27-11-generic/kernel/sound/core/seq/snd-seq-midi-event.ko

/lib/modules/2.6.27-11-generic/kernel/sound/core/seq/snd-seq-dummy.ko

/lib/modules/2.6.27-11-generic/kernel/sound/core/seq/snd-seq-virmidi.ko

/lib/modules/2.6.27-11-generic/kernel/sound/core/seq/snd-seq-midi.ko

/lib/modules/2.6.27-11-generic/kernel/sound/core/seq/snd-seq.ko

/lib/modules/2.6.27-11-generic/kernel/sound/core/seq/snd-seq-device.ko

/lib/modules/2.6.27-11-generic/kernel/sound/core/seq/snd-seq-midi-emul.ko

/lib/modules/2.6.27-11-generic/kernel/sound/core/snd-rawmidi.ko

/lib/modules/2.6.27-11-generic/kernel/sound/core/snd-hwdep.ko

/lib/modules/2.6.27-11-generic/kernel/sound/core/snd-page-alloc.ko

/lib/modules/2.6.27-11-generic/kernel/ubuntu/misc/media/snd-bt-sco.ko

uname -a
:
Linux hp-laptop 2.6.27-11-generic #1 SMP Thu Jan 29 19:28:32 UTC 2009 x86_64 GNU/Linux

cat /proc/asound/modules
:
0 snd_hda_intel

1 snd_hda_intel

grep options /etc/modprobe.d/alsa-base
:
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-usx2y index=-2

options snd-usb-caiaq index=-2

options snd-cmipci mpu_port=0x330 fm_port=0x388

options snd-pcsp index=-2

Additionally, following the Ubuntu sound troubleshooting page -

modinfo soundcore:
filename: /lib/modules/2.6.27-11-generic/kernel/sound/soundcore.ko
alias: char-major-14-*
licence: GPL
author: Alan Cox
description: Core sound module
srcversion: E4F49ED9C4CFD1A5A923330
depends:
vermagic: 2.6.27-11-geneeric SMP mod_unload modeversions

Finally
sudo modprobe snd-pcieport-driver:
FATAL: Module snd_pcieport_driver not found

can anyone help?

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,

Please see :

http://ubuntuforums.org/showpost.php?p=6194461&postcount=3

This procedure should solve your HP Pavilion dv4 sound problems:

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

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

2. and add this line to the end of the file:

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
Best Mark Rijckenberg (markrijckenberg) said :
#2

Hi,

If the previous procedure did not work, then try this one:

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

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

2. and add these lines to the end of the file:

# Keep snd-pcsp from beeing 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. reboot and retest sound

Regards,

Mark

Revision history for this message
rwb (rey-bulmer) said :
#3

unending thanks :-)

Revision history for this message
rwb (rey-bulmer) said :
#4

Thanks Mark Rijckenberg, that solved my question.

Revision history for this message
Iain Farrell (iain-farrell) said :
#5

This fix doesn't work for my DV2 1020, sadly. I notice when I go to edit alsa-base that the file is empty before I add anything to it. Is this normal?

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

Hi iainfarrell,

The provided solution was intended for Ubuntu 8.10. You are probably using Ubuntu 9.04

The naming convention changed in Ubuntu 9.04, where alsa-base is now replaced by alsa-base.conf

Regards,

Mark