LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Sound not working under 9.04, where it has worked in previous versions (https://www.linuxquestions.org/questions/ubuntu-63/sound-not-working-under-9-04-where-it-has-worked-in-previous-versions-721420/)

vital_101 04-24-2009 10:29 AM

Sound not working under 9.04, where it has worked in previous versions
 
Hey everyone,

I've been trying (unsuccessfully) for the past 3 days to try and get 9.04 to play sound on my laptop. It's newer model (HP HDX 16), but sound had worked on it with 8.10, so I fail to see why it should all of a sudden not work with 9.04.

Here's some info that might be helpful with troubleshooting.

Code:

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: STAC92xx Digital [STAC92xx Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Code:

find /lib/modules/`uname -r` | grep snd
/lib/modules/2.6.28-11-generic/kernel/sound/i2c/snd-i2c.ko
/lib/modules/2.6.28-11-generic/kernel/sound/i2c/other/snd-ak4xxx-adda.ko
/lib/modules/2.6.28-11-generic/kernel/sound/i2c/other/snd-ak4114.ko
/lib/modules/2.6.28-11-generic/kernel/sound/i2c/other/snd-pt2258.ko
/lib/modules/2.6.28-11-generic/kernel/sound/i2c/other/snd-tea575x-tuner.ko
/lib/modules/2.6.28-11-generic/kernel/sound/i2c/other/snd-ak4117.ko
/lib/modules/2.6.28-11-generic/kernel/sound/i2c/snd-cs8427.ko
/lib/modules/2.6.28-11-generic/kernel/sound/usb/snd-usb-lib.ko
/lib/modules/2.6.28-11-generic/kernel/sound/usb/snd-usb-audio.ko
/lib/modules/2.6.28-11-generic/kernel/sound/usb/caiaq/snd-usb-caiaq.ko
/lib/modules/2.6.28-11-generic/kernel/sound/usb/usx2y/snd-usb-us122l.ko
/lib/modules/2.6.28-11-generic/kernel/sound/usb/usx2y/snd-usb-usx2y.ko
/lib/modules/2.6.28-11-generic/kernel/sound/soc/snd-soc-core.ko
/lib/modules/2.6.28-11-generic/kernel/sound/soc/codecs/snd-soc-wm8731.ko
/lib/modules/2.6.28-11-generic/kernel/sound/soc/codecs/snd-soc-wm8903.ko
/lib/modules/2.6.28-11-generic/kernel/sound/soc/codecs/snd-soc-wm8580.ko
/lib/modules/2.6.28-11-generic/kernel/sound/soc/codecs/snd-soc-uda1380.ko
/lib/modules/2.6.28-11-generic/kernel/sound/soc/codecs/snd-soc-tlv320aic26.ko
/lib/modules/2.6.28-11-generic/kernel/sound/soc/codecs/snd-soc-wm8990.ko
/lib/modules/2.6.28-11-generic/kernel/sound/soc/codecs/snd-soc-wm8510.ko
/lib/modules/2.6.28-11-generic/kernel/sound/soc/codecs/snd-soc-tlv320aic3x.ko
/lib/modules/2.6.28-11-generic/kernel/sound/soc/codecs/snd-soc-ssm2602.ko
/lib/modules/2.6.28-11-generic/kernel/sound/soc/codecs/snd-soc-wm8753.ko
/lib/modules/2.6.28-11-generic/kernel/sound/soc/codecs/snd-soc-wm8971.ko
/lib/modules/2.6.28-11-generic/kernel/sound/soc/codecs/snd-soc-wm8900.ko
/lib/modules/2.6.28-11-generic/kernel/sound/soc/codecs/snd-soc-tlv320aic23.ko
/lib/modules/2.6.28-11-generic/kernel/sound/soc/codecs/snd-soc-ad73311.ko
/lib/modules/2.6.28-11-generic/kernel/sound/soc/codecs/snd-soc-wm8750.ko
/lib/modules/2.6.28-11-generic/kernel/sound/soc/codecs/snd-soc-ak4535.ko
/lib/modules/2.6.28-11-generic/kernel/sound/soc/codecs/snd-soc-cs4270.ko
/lib/modules/2.6.28-11-generic/kernel/sound/isa/sb/snd-sb16-dsp.ko
/lib/modules/2.6.28-11-generic/kernel/sound/isa/sb/snd-sb-common.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pcmcia/vx/snd-vxpocket.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pcmcia/pdaudiocf/snd-pdaudiocf.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/au88x0/snd-au8820.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/au88x0/snd-au8810.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/au88x0/snd-au8830.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/snd-intel8x0.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/trident/snd-trident.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/ymfpci/snd-ymfpci.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/snd-rme96.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/mixart/snd-mixart.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/snd-fm801.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/snd-es1938.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/snd-rme32.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/snd-als300.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/rme9652/snd-hdspm.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/rme9652/snd-hdsp.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/rme9652/snd-rme9652.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/ca0106/snd-ca0106.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/snd-azt3328.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/cs46xx/snd-cs46xx.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/snd-bt87x.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/snd-sonicvibes.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/snd-via82xx-modem.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/echoaudio/snd-layla24.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/echoaudio/snd-gina24.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/echoaudio/snd-darla24.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/echoaudio/snd-echo3g.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/echoaudio/snd-layla20.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/echoaudio/snd-indigoio.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/echoaudio/snd-gina20.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/echoaudio/snd-darla20.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/echoaudio/snd-mona.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/echoaudio/snd-indigo.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/echoaudio/snd-indigodj.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/echoaudio/snd-mia.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/snd-atiixp.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/ac97/snd-ac97-codec.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/korg1212/snd-korg1212.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/snd-cs4281.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/pcxhr/snd-pcxhr.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/snd-maestro3.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/snd-es1968.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/vx222/snd-vx222.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/nm256/snd-nm256.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/snd-atiixp-modem.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/aw2/snd-aw2.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/snd-ens1370.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/hda/snd-hda-intel.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/snd-via82xx.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/snd-cmipci.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/emu10k1/snd-emu10k1x.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/emu10k1/snd-emu10k1.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/emu10k1/snd-emu10k1-synth.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/ice1712/snd-ice1724.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/ice1712/snd-ice1712.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/ice1712/snd-ice17xx-ak4xxx.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/snd-als4000.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/riptide/snd-riptide.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/snd-ens1371.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/snd-cs5530.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/oxygen/snd-oxygen.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/oxygen/snd-hifier.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/oxygen/snd-oxygen-lib.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/oxygen/snd-virtuoso.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/snd-ad1889.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/snd-intel8x0m.ko
/lib/modules/2.6.28-11-generic/kernel/sound/pci/ali5451/snd-ali5451.ko
/lib/modules/2.6.28-11-generic/kernel/sound/core/snd.ko
/lib/modules/2.6.28-11-generic/kernel/sound/core/snd-pcm.ko
/lib/modules/2.6.28-11-generic/kernel/sound/core/oss/snd-pcm-oss.ko
/lib/modules/2.6.28-11-generic/kernel/sound/core/oss/snd-mixer-oss.ko
/lib/modules/2.6.28-11-generic/kernel/sound/core/snd-timer.ko
/lib/modules/2.6.28-11-generic/kernel/sound/core/seq/snd-seq-dummy.ko
/lib/modules/2.6.28-11-generic/kernel/sound/core/seq/snd-seq-virmidi.ko
/lib/modules/2.6.28-11-generic/kernel/sound/core/seq/snd-seq-midi-event.ko
/lib/modules/2.6.28-11-generic/kernel/sound/core/seq/oss/snd-seq-oss.ko
/lib/modules/2.6.28-11-generic/kernel/sound/core/seq/snd-seq-device.ko
/lib/modules/2.6.28-11-generic/kernel/sound/core/seq/snd-seq-midi-emul.ko
/lib/modules/2.6.28-11-generic/kernel/sound/core/seq/snd-seq-midi.ko
/lib/modules/2.6.28-11-generic/kernel/sound/core/seq/snd-seq.ko
/lib/modules/2.6.28-11-generic/kernel/sound/core/snd-rawmidi.ko
/lib/modules/2.6.28-11-generic/kernel/sound/core/snd-page-alloc.ko
/lib/modules/2.6.28-11-generic/kernel/sound/core/snd-hwdep.ko
/lib/modules/2.6.28-11-generic/kernel/sound/drivers/snd-dummy.ko
/lib/modules/2.6.28-11-generic/kernel/sound/drivers/pcsp/snd-pcsp.ko
/lib/modules/2.6.28-11-generic/kernel/sound/drivers/snd-portman2x4.ko
/lib/modules/2.6.28-11-generic/kernel/sound/drivers/snd-virmidi.ko
/lib/modules/2.6.28-11-generic/kernel/sound/drivers/snd-serial-u16550.ko
/lib/modules/2.6.28-11-generic/kernel/sound/drivers/opl3/snd-opl3-synth.ko
/lib/modules/2.6.28-11-generic/kernel/sound/drivers/opl3/snd-opl3-lib.ko
/lib/modules/2.6.28-11-generic/kernel/sound/drivers/snd-mtpav.ko
/lib/modules/2.6.28-11-generic/kernel/sound/drivers/vx/snd-vx-lib.ko
/lib/modules/2.6.28-11-generic/kernel/sound/drivers/mpu401/snd-mpu401.ko
/lib/modules/2.6.28-11-generic/kernel/sound/drivers/mpu401/snd-mpu401-uart.ko
/lib/modules/2.6.28-11-generic/kernel/sound/drivers/snd-mts64.ko
/lib/modules/2.6.28-11-generic/kernel/sound/synth/snd-util-mem.ko
/lib/modules/2.6.28-11-generic/kernel/sound/synth/emux/snd-emux-synth.ko

Code:

lspci -v | less
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
        Subsystem: Hewlett-Packard Company Device 361b
        Flags: bus master, fast devsel, latency 0, IRQ 22
        Memory at dd000000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: HDA Intel
        Kernel modules: snd-hda-intel

I noticed here that under "Capabilities" it says "<access denied>". Could that have something to do with it?

Help would be greatly appreciated with this. It's getting kind of boring doing work without any music in the background.

/vital_101

tommcd 04-24-2009 09:56 PM

Was this a clean install of 9.04, or a dist-upgrade?

In any case, there is a bug report about this at launchpad:
https://bugs.launchpad.net/ubuntu/+s...ux/+bug/332479
There are some possible solutions posted there which involve patching and recompiling the kernel.
A more simple possible fix is posted further down on that page:
Quote:

For the record: This is the workaround till official fix:
_________________

Add the following line to /etc/modprobe.d/alsa-base.conf :

options snd-hda-intel model=model=hp-m4

then reboot/reload
_________________
Sound works, but microphone settings are wrong.
That fix is confirmed on this page at launchpad:
https://answers.launchpad.net/ubuntu...question/61514
EDIT: I think the model=model=hp-m4 may be a typo. On the second link it is only listed as model=hp-m4. So try it both ways and see which one works.

TigerLinux 04-25-2009 09:36 AM

Any special improvement in ubuntu 9.04 compared to 8.10?

tommcd 04-25-2009 03:01 PM

Quote:

Originally Posted by TigerLinux (Post 3520515)
Any special improvement in ubuntu 9.04 compared to 8.10?

Are you talking about sound, or just in general? Ubuntu 9.04 continues with pulse audio, which seems to work a bit better than in 8.10.

Here are the release notes for known issues in 9.04:
http://www.ubuntu.com/getubuntu/releasenotes/904
And here are the articles on Phoronix which track the development of 9.04:
http://www.phoronix.com/scan.php?pag...&q=Ubuntu+9.04
One thing I can say is that 9.04 boots a bit faster than 8.10. The new gdm login screen is a nice improvement also.
As with any new version, 9.04 will have a newer kernel, xorg, drivers, and packages, etc.

vital_101 04-25-2009 08:44 PM

This fixed the problem.

Thanks.

piedrita 04-26-2009 08:52 PM

I have the same problem!!!
 
Hello, I have a hdx 16 and kubuntu 9.04 installed on it, can you please post what you did?

I managed to get the sound work, but not my mic...

Thnks!

tommcd 04-26-2009 09:14 PM

Quote:

Originally Posted by piedrita (Post 3521902)
Hello, I have a hdx 16 and kubuntu 9.04 installed on it, can you please post what you did?
I managed to get the sound work, but not my mic...

Try running alsamixer from the terminal. Use the arrow keys to move around and to raise and lower the volume levels. There should be an entry in alsamixer for the mic. Hit the "m" key to unmute the mic if it is muted, then use the arrow keys to raise the volume on the mic. Hit the Esc key twice to exit alsamixer.

And welcome to the LQ forums!

piedrita 04-26-2009 09:43 PM

mic is not in alsamixer
 
Well, I already tried that! But mic is not on alsamixer... I just wanted to know how vital_101 patched the kernel from that thread on launchpad... I've been using linux a long time but not feel sure about doing it by my-self...

Thanks!

PD: What I already did is set up my model = hp-m4, so I have sound and some multimedia buttons working... but not the mic...

TigerLinux 04-26-2009 10:08 PM

Quote:

Originally Posted by tommcd (Post 3520729)
Are you talking about sound, or just in general? Ubuntu 9.04 continues with pulse audio, which seems to work a bit better than in 8.10.

Here are the release notes for known issues in 9.04:
http://www.ubuntu.com/getubuntu/releasenotes/904
And here are the articles on Phoronix which track the development of 9.04:
http://www.phoronix.com/scan.php?pag...&q=Ubuntu+9.04
One thing I can say is that 9.04 boots a bit faster than 8.10. The new gdm login screen is a nice improvement also.
As with any new version, 9.04 will have a newer kernel, xorg, drivers, and packages, etc.

I am downloading its CD image, will try to install.

vital_101 04-26-2009 10:33 PM

Hey, I never got the mic to work either. Using the said fix (post #2) was all I did. Sorry I couldn't help more!

/vital_101

piedrita 04-26-2009 10:46 PM

thanks anyway vital_101; I guess we'll have to wait for that kernel version. I want to ask something else... what do you have on your /../modprobe.d/alsa-base.conf file?

here's mine... I guess it's too short...
Quote:

alias sound-card0 snd-hda-intel
options snd-hda-intel index=0
options snd-hda-intel model=hp-m4

vital_101 04-27-2009 11:15 PM

Piedrita,

Here is the contents of my /etc/modprobe/alsa-base.conf

Quote:

# 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 beeing loaded as first soundcard
options snd-pcsp index=-2

#Fix for sound not working.
options snd-hda-intel model=hp-m4
Let me know if there is anything else you need.

TigerLinux 04-30-2009 07:09 AM

i am using ubuntu 9.04, may i know where to download more ubuntu desktop pictures?

vital_101 04-30-2009 08:34 AM

Gnome Look.
 
http://www.gnome-look.org/

TigerLinux 04-30-2009 05:55 PM

ubuntu 9.04 boots up very fast.
firefox is 3.08.
may i know how to add thunderbird? other than using the tar ball file?


All times are GMT -5. The time now is 01:45 AM.