LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Closed Thread
  Search this Thread
Old 01-24-2008, 11:44 PM   #1
james_sheen
LQ Newbie
 
Registered: Jan 2008
Posts: 6

Rep: Reputation: 0
Smile I've got the sound


After a few month's tring, I got the sound system working. Here I'd like to share my experience with those friends who are still struggling for sound, and I hope this will offer you some help. (There might be some grammar mistakes, please excuse my poor English ^_^ )

The Linux Sound System is a little bit complicated, so it's not necessary for us to understand in details. Generally, there're a few steps to find out why your system keeps silent.

1 Driver

In most situations, the system's silence is caused by a wrong driver, so first let's check out if the driver is installed properly. To find out what driver should be the correct one, there're two methods.
Open your terminal and type “alsaconf” as root, and the ALSA configuration program will configure your sound system automatically. To get this program, install alsa_utility, alsa_lib, alsa_tools, alsa_driver which can be downloaded from
www.alsa-project.com

Or you can perform this configuration manually:
*************************************************************************************
Open your terminal and type the command “lspci”
And you'll see some information like

Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM(ICH4/ICH4- L/ICH4-M) AC'97 Audio Controller (rev 03)

If this doesn't work, don't worry, try to find it out under Windows. Right click “My Computer”, click “Properties”, select “Hardware”, then “Device Manager”, and you get the name of the driver told by Windows. Also you'll see other information on the sound card like address, IRQ. Usually, the information provided by Windows should be the same as that provided by Linux, and now I know “Intel 82801DB(ICH4) AC'97 Audio Controller” should be my sound card, and I know it's produced by Analog Devices.

Linux uses modules to drive hardwares. Now let's find out what should be the driver module for our sound card. Visit
www.alsa-project.org
and click the link “Is my sound card supported”, then choose the corresponding vendor (Mine should be Analog Device), then exam the type of your sound card (Mine is AD1819). Now you can see what module should be used (snd-intel8x0 is for me).

Open the terminal and type “modprobe module_name” as root.

It would be nice of your sound card manufacturer to offer the driver for Linux.
**********************************************************************************

2 Conflict

Conflict makes your system silent though driver is installed properly. Some type of motherboards integrate both sound card and modem, so Linux might mistook the speaker of modem for sound card. Run “lspci” and check out if there is a module with a name very similar to your sound card's name (Like sound_card_module_name+m or sound_card module_name+modem. In my case, I've got snd-intel8x0 and snd-intel8x0m). intel-8x0m should be the module for modem's speaker, and it usually causes the conflict.
Now let's take care of it. Find the module file (Mine is /lib/modules/2.6.22.9-laptop-1mdv/kernel/sound/pci/snd-intel8x0m.ko), and rename it(snd-intel8x0m.ko.bak), or simply add the module into the blacklist so Linux won't load it automatically. Other sound cards might have the same situation. For VIA motherboards, snd-via82xx.ko and snd-via82xx-modem.ko exist.

3 The Mixer

Mixer is a naughty boy, some lap-tops' silence are caused by him. Lap-tops' hardware structure is a little bit different from desktops', so be attention if you're using a lap-top.
Open Kmixer or Alsamixer, you'll see many items there, but not all of them are necessary. Some of these items should be muted. As far as I know, “PCM” and “Master” should be always on.
The method to test which items are necessary is very simple. First, mute all the items, then try to turn them on one by one while playing a audio file, till you get the sound.

That's how I get my sound system working. There is another article on solving problems of sound system. It's written by a Chinese guy who is really experienced.

http://www.linuxsir.org/bbs/showthread.php?t=217259

Tell me if you need to read this article in English, and I'll translate it for you when I finished my study.

Good luck!
 
Old 01-24-2008, 11:52 PM   #2
tamoneya
Member
 
Registered: Jan 2005
Location: MA
Distribution: Ubuntu 7.10
Posts: 558

Rep: Reputation: 31
You should get this move into the linux user success stories forum. More people will be able to benefit from your experiences
 
Old 01-26-2008, 09:42 PM   #3
james_sheen
LQ Newbie
 
Registered: Jan 2008
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for your suggestion. I'll do it right now.
 
Old 01-28-2008, 06:39 AM   #4
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Next time use the report post button and ask us to move it and we will gladly do so for you.
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No sound coming from my sound blaster audigy 2 ZS platinum sound card msab Linux - Hardware 9 12-05-2010 05:10 AM
ALSA MIDI: Sound fonts for NVIDIA/NForce Soundstorm on-board sound vharishankar Linux - Hardware 6 09-04-2007 12:37 PM
no sound from sound blaster PCI sound card using mandrake-linux 10.1 box nila56 Linux - Hardware 2 05-29-2006 02:48 PM
help crackling/boiling soup sound in madriva 2006 with sound blaster audigy mbman Mandriva 1 01-14-2006 10:23 PM
Need to run system-config-sound after every boot too make sound work in FC2 jrbiochem Linux - Hardware 11 08-04-2004 07:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration