Ubuntu 9.04 sound not working.

Asked by r0gZ

roger@Desktop:~$ bash alsa-info.sh --pastebin
ALSA Information Script v 0.4.58
--------------------------------

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.

Automatically upload ALSA information to pastebin? [y/N] : y
Uploading information to www.pastebin.ca ... Done!

Your ALSA information is located at http://pastebin.ca/1690580

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu alsa-driver Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
r0gZ (roger-hi) said :
#1

cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.21.
Compiled on Nov 28 2009 for kernel 2.6.28-16-generic (SMP).

Revision history for this message
Omer Akram (om26er) said :
#2

sound worked before? or just not working from the start. tried karmic?

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

Your ALSA output shows the following issues:

1)

# ALSA Version
# ------------
#
# Driver version: 1.0.18rc3
# Library version: 1.0.21a
# Utilities version: 1.0.21

Your ALSA driver is NOT the same version as your ALSA library version. You will need to redo the following procedure in order to upgrade the ALSA driver to version 1.0.21:

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

2) Mixer settings:

# Amixer output
# -------------
#
# -------Mixer controls for card 0 [Intel]
#
# Card hw:0 'Intel'/'HDA Intel at 0xe04c0000 irq 21'
# Mixer name : 'Realtek ALC260'
# Components : 'HDA:10ec0260,103c3012,00100400'
# Controls : 17
# Simple ctrls : 11
# Simple mixer control 'Master',0
# Capabilities: pvolume pswitch pswitch-joined
# Playback channels: Front Left - Front Right
# Limits: Playback 0 - 64
# Mono:
# Front Left: Playback 0 [0%] [-64.00dB] [off]
# Front Right: Playback 0 [0%] [-64.00dB] [off]
# Simple mixer control 'Headphone',0
# Capabilities: pswitch
# Playback channels: Front Left - Front Right
# Mono:
# Front Left: Playback [off]
# Front Right: Playback [off]
# Simple mixer control 'Speaker',0
# Capabilities: pswitch
# Playback channels: Front Left - Front Right
# Mono:
# Front Left: Playback [off]
# Front Right: Playback [off]
# Simple mixer control 'PCM',0
# Capabilities: pvolume
# Playback channels: Front Left - Front Right
# Limits: Playback 0 - 255
# Mono:
# Front Left: Playback 0 [0%] [-51.00dB]
# Front Right: Playback 0 [0%] [-51.00dB]

As you can see above, your volume channels are muted. Please unmute and increase volume to 100% on your Master, PCM, Headphone and speaker channels.

3) After fixing the previous 2 issues, please 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 /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=hp-dc7600
options snd-hda-intel enable_msi=1

3. Then navigate to System>Preferences>Sound and change everything to ALSA

4. reboot and retest sound on the speakers

5. If sound still does not work, then replace hp-dc7600 with one of the following model options:

 ALC260
   hp HP machines
   hp-3013 HP machines (3013-variant)
   hp-dc7600 HP DC7600
   fujitsu Fujitsu S7020
   acer Acer TravelMate
   will Will laptops (PB V7900)
   replacer Replacer 672V
   basic fixed pin assignment (old default model)
   test for testing/debugging purpose, almost all controls can
   adjusted. Appearing only when compiled with
   $CONFIG_SND_DEBUG=y
   auto auto-config reading BIOS (default)

6. You will have to reboot and retest sound after every model option change to the alsa-base.conf file

Can you help with this problem?

Provide an answer of your own, or ask r0gZ for more information if necessary.

To post a message you must log in.