Solved

Ubuntu not recognizing my sound card

Posted on 2010-11-10
7
792 Views
Last Modified: 2012-08-14
I've installed Maverick on a Sony Vaio VPCEA24FM. I have no sound. I've gone through the guide at https://help.ubuntu.com/community/SoundTroubleshooting up to the section titled, "Is the system recognizing your sound card?" When I run the terminal command in that step:

sudo aplay -l

Open in new window


I get the following response:

aplay: device_list:235: no soundcards found...

Open in new window


The machine does actually have an onboard soundcard; it works fine when I run Windows.

When I run hardware lister (lshw-gtk), this is what shows up for audio (see screenshot attachment).

Can anyone help me out? I really want to switch over to Linux completely, but I can't do it if I don't have working sound.
 hardware lister
0
Comment
Question by:EmmyS
  • 3
  • 2
  • 2
7 Comments
 
LVL 5

Expert Comment

by:zzx999
ID: 34107047
Upgrade Alsa (1.0.23) on Ubuntu Lucid Lynx 10.04
May 2nd, 2010 by alpho2k | Print Upgrade Alsa (1.0.23) on Ubuntu Lucid Lynx 10.04
alsa       Ubuntu Lucid Lynx 10.04 is coming by default with the version 1.0.21 of Alsa so I decided to upgrade to the last version wich is 1.0.23.

What is Alsa (Advanced Linux Sound Architecture) ?

According to Wikipedia, Alsa is a Linux kernel component intended to replace the original Open Sound System (OSS) for providing device drivers for sound cards. Some of the goals of the ALSA project at its inception were automatic configuration of sound-card hardware, and graceful handling of multiple sound devices in a system, goals which it has largely met.

Installation :

To do this, we must begin by determining our version of alsa as follows :

cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.21.

To avoid problems during the upgrade of Alsa-utils, we need to stop it with the following command :

sudo /sbin/alsa-utils stop
We must then install the necessary tools to compile along with the kernel headers :

sudo apt-get -y install build-essential ncurses-dev gettext xmlto libasound2-dev
sudo apt-get -y install linux-headers-`uname -r` libncursesw5-dev

Then, we go in our personal folder and download alsa-driver, alsa-lib and alsa-utils :

cd ~
rm -rf ~/alsa* ~/.pulse*
wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.23.tar.bz2
wget ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.23.tar.bz2
wget ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.0.23.tar.bz2

After that, we create a new folder for the compilation and installation of the 3 files. Then, we move the 3 tar files that we just downloaded in this folder :

sudo rm -rf /usr/src/alsa
sudo mkdir -p /usr/src/alsa
cd /usr/src/alsa
sudo cp ~/alsa* .

Unpack the 3 tar files :

sudo tar xjf alsa-driver*
sudo tar xjf alsa-lib*
sudo tar xjf alsa-utils*

We compile and install alsa-driver :

cd alsa-driver*
sudo ./configure
sudo make
sudo make install

We compile and install alsa-lib :

cd ../alsa-lib*
sudo ./configure
sudo make
sudo make install

We compile and install alsa-utils :

cd ../alsa-utils*
sudo ./configure
sudo make
sudo make install

Then, we remove the 3 tar files in our personal folder that are not anymore necessary :

rm -f ~/alsa-driver*
rm -f ~/alsa-lib*
rm -f ~/alsa-utils*

Then, just restart your computer and your alsa version should be 1.0.23!

You can verify that you have now indeed have this version of alsa :

cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.23.
Compiled on May 2 2010 for kernel 2.6.32-21-generic (SMP).

Just to be sure everything is well configured, execute this command :

sudo alsaconf

and reboot again!
0
 
LVL 1

Author Comment

by:EmmyS
ID: 34107139
cat: /proc/asound/version: No such file or directory

0
 
LVL 5

Expert Comment

by:zzx999
ID: 34107583
So you don't have any. It would be not upgrade but install then ;)
0
Network it in WD Red

There's an industry-leading WD Red drive for every compatible NAS system to help fulfill your data storage needs. With drives up to 8TB, WD Red offers a wide array of solutions for customers looking to build the biggest, best-performing NAS storage solution.  

 
LVL 9

Expert Comment

by:bz43
ID: 34107664
Only to try if you can't get sound to work in Ubuntu 10.10.  

It's another Linux distribution that sometimes has more luck in terms of hardware support.  It's Linux Mint.
It's at http://www.linuxmint.com/download.php
You can select to download either the "Live CD" or "Live DVD".  
But, it's based on an earlier version of Ubuntu though: Ubuntu 10.04 Lucid Lynx
(If you download it just make sure it is version 9)

What you can do, if you want, and if you're unable to get sound in Ubuntu 10.10, is to download the Live CD. Then burn the ISO file to CD.  And boot your laptop from the CD.  If it plays sound then perhaps install Mint to your laptop.

0
 
LVL 1

Accepted Solution

by:
EmmyS earned 0 total points
ID: 34108218
I did finally get it to work by using the ALSA upgrade script shown at http://ubuntuforums.org/showthread.php?p=6589810 with the -s option to get the snapshot release for Maverick.
0
 
LVL 9

Expert Comment

by:bz43
ID: 34125818
Cool!
0
 
LVL 1

Author Closing Comment

by:EmmyS
ID: 34134742
Found the answer.
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
A clone is a duplicate copy. Sheep have been cloned and maybe someday even people will be cloned, but disk cloning (performed by the hard drive cloning software) is a vital tool used to manage and protect data. Let’s look at what hard drive cloning …
This is an introductory video for CloudBerry Managed Backup. You will learn how to sign up with the service and get started in a few minutes.
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now