Solved

Ubuntu not recognizing my sound card

Posted on 2010-11-10
7
795 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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Supermicro 91 error 8 59
Uniden UDW20055 3 70
edit firefox cookie settings via shell script on ubuntu 14? 1 32
Cutting power off to network hardware nightly - okay? 6 50
The Rasberry PI is a low cost piece of hardware that you can have a lot of fun with through experimenting and building/working on projects like media players, running a low cost computer, build data loggers etc. - see: https://www.raspberrypi.org
In this article we have discussed the manual scenarios to recover data from Windows 10 through some backup and recovery tools which are offered by it.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

679 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