Solved

Ubuntu not recognizing my sound card

Posted on 2010-11-10
7
790 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
Comment Utility
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
Comment Utility
cat: /proc/asound/version: No such file or directory

0
 
LVL 5

Expert Comment

by:zzx999
Comment Utility
So you don't have any. It would be not upgrade but install then ;)
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
LVL 9

Expert Comment

by:bz43
Comment Utility
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
Comment Utility
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
Comment Utility
Cool!
0
 
LVL 1

Author Closing Comment

by:EmmyS
Comment Utility
Found the answer.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
HP Laptop Drivers 13 24
Macbook has frequent sleep / awake failures 25 67
Power to 2.5 inch hard disk 3 34
Phone Dialer 5 36
Great sound, comfort and fit, excellent build quality, versatility, compatibility. These are just some of the many reasons for choosing a headset from Sennheiser.
This paper addresses the security of Sennheiser DECT Contact Center and Office (CC&O) headsets. It describes the DECT security chain comprised of “Pairing”, “Per Call Authentication” and “Encryption”, which are all part of the standard DECT protocol.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

744 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

13 Experts available now in Live!

Get 1:1 Help Now