Codec: VIA VIA VT1708 - Audio device: VIA Technologies, Inc. VT1708/A [Azalia HDAC] (VIA High Definition Audio Controller) (rev 10) - booted incorrect (old) kernel -> ALSA driver and library are different versions -> aplay: device_list:223: no soundcards found... -> No sound on Fujitsu Siemens Amilo Li1705 in Ubuntu 9.10

Asked by David Poulter

david@david-laptop:~$ wget -O alsa-info.sh http://212.20.107.51/alsa-info.sh
--2009-11-01 13:54:30-- http://212.20.107.51/alsa-info.sh
Connecting to 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-11-01 13:54:31-- 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 212.20.107.51:80.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/plain]
Saving to: `alsa-info.sh'

    [ <=> ] 26,584 109K/s in 0.2s

2009-11-01 13:54:36 (109 KB/s) - `alsa-info.sh' saved [26584]

david@david-laptop:~$ 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.

/sbin/alsactl: save_state:1502: No soundcards found...
cat: /tmp/alsa-info.c25wG22tSL/alsactl.tmp: No such file or directory
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/1651527

Please inform the person helping you.

david@david-laptop:~$

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

The issue seems to be this:

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

Your ALSA driver and libraries are not the same version.

Please open a Terminal and copy-paste the following 2 commands into the Terminal::

sudo aptitude update

sudo aptitude install linux-backports-modules-alsa-karmic-generic

Then reboot and retest sound

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

Also make sure to choose the most recent Ubuntu kernel (something like kernel version 2.6.31-14-generic) in the grub boot menu. It is possible that you are still using the old kernel from Ubuntu 9.04...

After booting, you can open a terminal and execute the following command to see if the kernel version is set to 2.6.31-14:

uname -a

Revision history for this message
David Poulter (dapoulter) said :
#3

Hi Mark,

first of all thanks for taking the time to answer my question. It does appear that I still have the kernel set to 2.6.28-11. Having checked the options in GRUB I see that Ubuntu 9.10 does not appear so I'm a bit stuck. All the new Karmic features (apart from sound) are present when I boot from the previous kernel version and when I tried the solution in your first answer I got the following;

david@david-laptop:~$ sudo aptitude update
[sudo] password for david:
Writing extended state information... Done
Hit http://archive.canonical.com karmic Release.gpg
Ign http://archive.canonical.com karmic/partner Translation-en_GB
Hit http://security.ubuntu.com karmic-security Release.gpg
Ign http://security.ubuntu.com karmic-security/main Translation-en_GB
Hit http://ppa.launchpad.net karmic Release.gpg
Ign http://ppa.launchpad.net karmic/main Translation-en_GB
Hit http://archive.canonical.com karmic Release
Ign http://security.ubuntu.com karmic-security/restricted Translation-en_GB
Ign http://security.ubuntu.com karmic-security/universe Translation-en_GB
Ign http://security.ubuntu.com karmic-security/multiverse Translation-en_GB
Hit http://security.ubuntu.com karmic-security Release
Hit http://ppa.launchpad.net karmic Release
Hit http://archive.canonical.com karmic/partner Packages
Hit http://security.ubuntu.com karmic-security/main Packages
Hit http://ppa.launchpad.net karmic/main Packages
Hit http://archive.canonical.com karmic/partner Sources
Hit http://security.ubuntu.com karmic-security/restricted Packages
Hit http://security.ubuntu.com karmic-security/restricted Sources
Hit http://security.ubuntu.com karmic-security/main Sources
Hit http://security.ubuntu.com karmic-security/multiverse Sources
Hit http://ppa.launchpad.net karmic/main Sources
Hit http://security.ubuntu.com karmic-security/universe Sources
Hit http://security.ubuntu.com karmic-security/universe Packages
Hit http://security.ubuntu.com karmic-security/multiverse Packages
Hit http://archive.ubuntu.com karmic Release.gpg
Hit http://archive.ubuntu.com karmic Release
Hit http://archive.ubuntu.com karmic/main Sources
Hit http://archive.ubuntu.com karmic/multiverse Sources
Hit http://archive.ubuntu.com karmic/restricted Sources
Hit http://gb.archive.ubuntu.com karmic Release.gpg
Hit http://gb.archive.ubuntu.com karmic/main Translation-en_GB
Hit http://gb.archive.ubuntu.com karmic/restricted Translation-en_GB
Hit http://gb.archive.ubuntu.com karmic/universe Translation-en_GB
Hit http://gb.archive.ubuntu.com karmic/multiverse Translation-en_GB
Hit http://gb.archive.ubuntu.com karmic-updates Release.gpg
Ign http://gb.archive.ubuntu.com karmic-updates/main Translation-en_GB
Ign http://gb.archive.ubuntu.com karmic-updates/restricted Translation-en_GB
Ign http://gb.archive.ubuntu.com karmic-updates/universe Translation-en_GB
Ign http://gb.archive.ubuntu.com karmic-updates/multiverse Translation-en_GB
Hit http://gb.archive.ubuntu.com jaunty-backports Release.gpg
Ign http://gb.archive.ubuntu.com jaunty-backports/main Translation-en_GB
Ign http://gb.archive.ubuntu.com jaunty-backports/restricted Translation-en_GB
Ign http://gb.archive.ubuntu.com jaunty-backports/universe Translation-en_GB
Ign http://gb.archive.ubuntu.com jaunty-backports/multiverse Translation-en_GB
Hit http://gb.archive.ubuntu.com karmic-proposed Release.gpg
Ign http://gb.archive.ubuntu.com karmic-proposed/restricted Translation-en_GB
Ign http://gb.archive.ubuntu.com karmic-proposed/main Translation-en_GB
Ign http://gb.archive.ubuntu.com karmic-proposed/multiverse Translation-en_GB
Ign http://gb.archive.ubuntu.com karmic-proposed/universe Translation-en_GB
Hit http://gb.archive.ubuntu.com karmic-backports Release.gpg
Ign http://gb.archive.ubuntu.com karmic-backports/restricted Translation-en_GB
Ign http://gb.archive.ubuntu.com karmic-backports/main Translation-en_GB
Ign http://gb.archive.ubuntu.com karmic-backports/multiverse Translation-en_GB
Ign http://gb.archive.ubuntu.com karmic-backports/universe Translation-en_GB
Hit http://gb.archive.ubuntu.com karmic Release
Hit http://gb.archive.ubuntu.com karmic-updates Release
Hit http://gb.archive.ubuntu.com jaunty-backports Release
Hit http://gb.archive.ubuntu.com karmic-proposed Release
Hit http://gb.archive.ubuntu.com karmic-backports Release
Hit http://gb.archive.ubuntu.com karmic/main Packages
Hit http://gb.archive.ubuntu.com karmic/restricted Packages
Hit http://gb.archive.ubuntu.com karmic/restricted Sources
Hit http://gb.archive.ubuntu.com karmic/main Sources
Hit http://gb.archive.ubuntu.com karmic/multiverse Sources
Hit http://gb.archive.ubuntu.com karmic/universe Sources
Hit http://gb.archive.ubuntu.com karmic/universe Packages
Hit http://gb.archive.ubuntu.com karmic/multiverse Packages
Hit http://gb.archive.ubuntu.com karmic-updates/main Packages
Hit http://gb.archive.ubuntu.com karmic-updates/restricted Packages
Hit http://gb.archive.ubuntu.com karmic-updates/restricted Sources
Hit http://gb.archive.ubuntu.com karmic-updates/main Sources
Hit http://gb.archive.ubuntu.com karmic-updates/multiverse Sources
Hit http://gb.archive.ubuntu.com karmic-updates/universe Sources
Hit http://gb.archive.ubuntu.com karmic-updates/universe Packages
Hit http://gb.archive.ubuntu.com karmic-updates/multiverse Packages
Hit http://gb.archive.ubuntu.com jaunty-backports/main Packages
Hit http://gb.archive.ubuntu.com jaunty-backports/restricted Packages
Hit http://gb.archive.ubuntu.com jaunty-backports/universe Packages
Hit http://gb.archive.ubuntu.com jaunty-backports/multiverse Packages
Hit http://gb.archive.ubuntu.com jaunty-backports/main Sources
Hit http://gb.archive.ubuntu.com jaunty-backports/restricted Sources
Hit http://gb.archive.ubuntu.com jaunty-backports/universe Sources
Hit http://gb.archive.ubuntu.com jaunty-backports/multiverse Sources
Hit http://gb.archive.ubuntu.com karmic-proposed/restricted Packages
Hit http://gb.archive.ubuntu.com karmic-proposed/main Packages
Hit http://gb.archive.ubuntu.com karmic-proposed/multiverse Packages
Hit http://gb.archive.ubuntu.com karmic-proposed/universe Packages
Hit http://gb.archive.ubuntu.com karmic-backports/restricted Packages
Hit http://gb.archive.ubuntu.com karmic-backports/main Packages
Hit http://gb.archive.ubuntu.com karmic-backports/multiverse Packages
Hit http://gb.archive.ubuntu.com karmic-backports/universe Packages
Reading package lists... Done

david@david-laptop:~$ sudo aptitude install linux-backports-modules-alsa-karmic-generic
[sudo] password for david:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initialising package states... Done
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initialising package states... Done

Thanks again,

Dave

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

The problem is that your /etc/apt/sources.list contains a mix of entries for both karmic and jaunty. It should never be configured like that. Either you only keep jaunty in the sources.list file, or you only keep karmic in the sources.list, if you want to upgrade to karmic.

So please remove all lines containing jaunty in the /etc/apt/sources.list file.

You can use the following command to edit the file:

gksudo gedit /etc/apt/sources.list

After saving the changes to the /etc/apt/sources.list file, please run the following commands:

sudo aptitude update

sudo aptitude dist-upgrade

sudo update-grub

Then reboot and make sure to select the 2.6.31-14-generic Ubuntu kernel in the grub boot menu.

Then retest sound using kernel 2.6.31-14-generic

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

Make sure to comment out all the ppa entries in the /etc/apt/sources.list file as well. Only non-ppa related karmic entries should be present.

Revision history for this message
David Poulter (dapoulter) said :
#6

Thanks again Mark. I followed your suggestion yielding the following;

david@david-laptop:~$ sudo aptitude update
[sudo] password for david:
Hit http://gb.archive.ubuntu.com karmic Release.gpg
Hit http://gb.archive.ubuntu.com karmic/main Translation-en_GB
Hit http://archive.ubuntu.com karmic Release.gpg
Hit http://archive.canonical.com karmic Release.gpg
Ign http://archive.canonical.com karmic/partner Translation-en_GB
Hit http://gb.archive.ubuntu.com karmic/restricted Translation-en_GB
Hit http://gb.archive.ubuntu.com karmic/universe Translation-en_GB
Hit http://gb.archive.ubuntu.com karmic/multiverse Translation-en_GB
Hit http://gb.archive.ubuntu.com karmic-updates Release.gpg
Ign http://gb.archive.ubuntu.com karmic-updates/main Translation-en_GB
Ign http://gb.archive.ubuntu.com karmic-updates/restricted Translation-en_GB
Ign http://gb.archive.ubuntu.com karmic-updates/universe Translation-en_GB
Ign http://gb.archive.ubuntu.com karmic-updates/multiverse Translation-en_GB
Hit http://archive.ubuntu.com karmic Release
Hit http://gb.archive.ubuntu.com karmic-proposed Release.gpg
Ign http://gb.archive.ubuntu.com karmic-proposed/restricted Translation-en_GB
Hit http://archive.canonical.com karmic Release
Ign http://gb.archive.ubuntu.com karmic-proposed/main Translation-en_GB
Ign http://gb.archive.ubuntu.com karmic-proposed/multiverse Translation-en_GB
Ign http://gb.archive.ubuntu.com karmic-proposed/universe Translation-en_GB
Hit http://gb.archive.ubuntu.com karmic-backports Release.gpg
Ign http://gb.archive.ubuntu.com karmic-backports/restricted Translation-en_GB
Ign http://gb.archive.ubuntu.com karmic-backports/main Translation-en_GB
Ign http://gb.archive.ubuntu.com karmic-backports/multiverse Translation-en_GB
Ign http://gb.archive.ubuntu.com karmic-backports/universe Translation-en_GB
Hit http://archive.ubuntu.com karmic/main Sources
Hit http://archive.canonical.com karmic/partner Packages
Hit http://archive.canonical.com karmic/partner Sources
Hit http://archive.ubuntu.com karmic/multiverse Sources
Hit http://archive.ubuntu.com karmic/restricted Sources
Hit http://gb.archive.ubuntu.com karmic Release
Hit http://gb.archive.ubuntu.com karmic-updates Release
Hit http://gb.archive.ubuntu.com karmic-proposed Release
Hit http://security.ubuntu.com karmic-security Release.gpg
Ign http://security.ubuntu.com karmic-security/main Translation-en_GB
Hit http://gb.archive.ubuntu.com karmic-backports Release
Ign http://security.ubuntu.com karmic-security/restricted Translation-en_GB
Ign http://security.ubuntu.com karmic-security/universe Translation-en_GB
Ign http://security.ubuntu.com karmic-security/multiverse Translation-en_GB
Hit http://security.ubuntu.com karmic-security Release
Hit http://gb.archive.ubuntu.com karmic/main Packages
Hit http://gb.archive.ubuntu.com karmic/restricted Packages
Hit http://gb.archive.ubuntu.com karmic/restricted Sources
Hit http://gb.archive.ubuntu.com karmic/main Sources
Hit http://gb.archive.ubuntu.com karmic/multiverse Sources
Hit http://gb.archive.ubuntu.com karmic/universe Sources
Hit http://gb.archive.ubuntu.com karmic/universe Packages
Hit http://gb.archive.ubuntu.com karmic/multiverse Packages
Hit http://gb.archive.ubuntu.com karmic-updates/main Packages
Hit http://gb.archive.ubuntu.com karmic-updates/restricted Packages
Hit http://gb.archive.ubuntu.com karmic-updates/restricted Sources
Hit http://gb.archive.ubuntu.com karmic-updates/main Sources
Hit http://gb.archive.ubuntu.com karmic-updates/multiverse Sources
Hit http://gb.archive.ubuntu.com karmic-updates/universe Sources
Hit http://gb.archive.ubuntu.com karmic-updates/universe Packages
Hit http://security.ubuntu.com karmic-security/main Packages
Hit http://gb.archive.ubuntu.com karmic-updates/multiverse Packages
Hit http://gb.archive.ubuntu.com karmic-proposed/restricted Packages
Hit http://gb.archive.ubuntu.com karmic-proposed/main Packages
Hit http://gb.archive.ubuntu.com karmic-proposed/multiverse Packages
Hit http://gb.archive.ubuntu.com karmic-proposed/universe Packages
Hit http://security.ubuntu.com karmic-security/restricted Packages
Hit http://security.ubuntu.com karmic-security/restricted Sources
Hit http://security.ubuntu.com karmic-security/main Sources
Hit http://security.ubuntu.com karmic-security/multiverse Sources
Hit http://gb.archive.ubuntu.com karmic-backports/restricted Packages
Hit http://gb.archive.ubuntu.com karmic-backports/main Packages
Hit http://gb.archive.ubuntu.com karmic-backports/multiverse Packages
Hit http://gb.archive.ubuntu.com karmic-backports/universe Packages
Hit http://security.ubuntu.com karmic-security/universe Sources
Hit http://security.ubuntu.com karmic-security/universe Packages
Hit http://security.ubuntu.com karmic-security/multiverse Packages
Reading package lists... Done

david@david-laptop:~$ sudo aptitude install linux-backports-modules-alsa-karmic-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initialising package states... Done
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initialising package states... Done

Sadly though, still no appearance of Ubuntu 9.10 on GRUB. I'm considering installing from scratch. Many thanks for your help.

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

Yes, installing from scratch is a better idea. Make sure to back up all your personal data before installing from the Ubuntu 9.10 Live CD.

Revision history for this message
David Poulter (dapoulter) said :
#8

Thanks Mark Rijckenberg, that solved my question.