Solved

Ubuntu not recognizing my sound card

Posted on 2010-11-10
7
799 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying 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

Moving your enterprise fax infrastructure from in-house fax machines and servers to the cloud makes sense — from both an efficiency and productivity standpoint. But does migrating to a cloud fax solution mean you will no longer be able to send or re…
Great sound, comfort and fit, excellent build quality, versatility, compatibility. These are just some of the many reasons for choosing a headset from Sennheiser.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

751 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