LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-19-2004, 06:47 PM   #1
RRolleston
Member
 
Registered: Dec 2004
Location: Granville, NY
Distribution: Debian
Posts: 41

Rep: Reputation: 15
Getting sound to work in Debian


I wan't to use my sound card in debian. I installed debian and remember setting something to do with sound to auto. But can't use audio. Is there anything that I can check or configure to fix this anywhere i'm able to play audio it is greyed out.
 
Old 12-19-2004, 06:59 PM   #2
McCloud
Member
 
Registered: Sep 2004
Distribution: Debian Etch
Posts: 179

Rep: Reputation: 30
You can start by giving us more information

Which soundcard do you have?? Which kernel version are you using? Which Debian version are you using (Woody, Sarge or Sid)??
 
Old 12-19-2004, 07:07 PM   #3
RRolleston
Member
 
Registered: Dec 2004
Location: Granville, NY
Distribution: Debian
Posts: 41

Original Poster
Rep: Reputation: 15
The sound card is a Realtek AC'97 Audio. Debian version is 3.0 r3. I'm not sure about the kernel if you can direct me on how to find out I would appreciate it. Thank you
 
Old 12-19-2004, 07:15 PM   #4
McCloud
Member
 
Registered: Sep 2004
Distribution: Debian Etch
Posts: 179

Rep: Reputation: 30
Open a shell and type 'uname -a'. The output is some system information. If you can post the output of that command, we can see the kernel version.

Another question: "Have you ever compiled a kernel?" This might be usefull for us to know in order to find a proper solution.
 
Old 12-19-2004, 07:21 PM   #5
RRolleston
Member
 
Registered: Dec 2004
Location: Granville, NY
Distribution: Debian
Posts: 41

Original Poster
Rep: Reputation: 15
The command returned the following. Linux debian 2.2.20-idepci #1 Sat Apr 20 12:45:19 EST 2002 i686 GNU/Linux. Yes I have compiled a kernel before been a while but could if I have to. I'm also trying to get a ATI TV card working so would like to add support for that if i'm going to compile a new kernel. Thank you.
 
Old 12-19-2004, 07:32 PM   #6
McCloud
Member
 
Registered: Sep 2004
Distribution: Debian Etch
Posts: 179

Rep: Reputation: 30
May I ask why you are using an old (but stable) release like Debian Woody if you want sound and video support? Also, the 2.2 kernel versions are quite old.

My advice is to upgrade to the Sarge (testing) version first. Testing is quite stable (I almost never have problems with it) and the software is much more up-to-date then the software in Woody. Do a search on how to upgrade to Sarge (it's quite easy, just update your '/etc/apt/sources-list' file to point to the Sarge repositories and do a 'apt-get upgrade' followed by a 'apt-get dist-upgrade').

Second, compile a new 2.6 kernel version. It takes quite some time to configure it, but it's worth it. The 2.6 versions have ALSA (sound) modules in the kernel, so this will make it more easy to setup ALSA sound for your soundcard. Try to compile the version "The Debian Way". You can find quite a lot of information (by for example using Google) about compiling kernels in Debian.

Good luck.
 
Old 12-19-2004, 08:19 PM   #7
RRolleston
Member
 
Registered: Dec 2004
Location: Granville, NY
Distribution: Debian
Posts: 41

Original Poster
Rep: Reputation: 15
I just downloaded this from the net. I have updated a good amount of this box. Here are the lines from my /etc/apt/sources.list. Can you advise me what changes I should make

deb ftp://ftp.de.debian.org/debian-non-US/ testing non-US/main non-US/contrib non-US/non-free
deb ftp://ftp.debian.org/debian/ testing main contrib non-free
deb-src ftp://ftp.de.debian.org/debian-non-US/ testing non-US/main non-US/contrib non-US/non-free
deb-src ftp://ftp.debian.org/debian/ testing main contrib non-free

I have done some looking into updating my kernel will probably do it when I get the time to really get into it this week. But any advice is appreciated.

Thank you,
 
Old 12-20-2004, 04:41 AM   #8
McCloud
Member
 
Registered: Sep 2004
Distribution: Debian Etch
Posts: 179

Rep: Reputation: 30
Your sources-list allready points to the Sarge (testing) repositories, so you're using the Sarge version.

Well, the best advice I can give you is to update the kernel. I've seen a lot of people who are scared to do it, but when you've got some hardware and computer knowledge it's quite easy. And it really pays off, you've got a lot more possibilities when you compile your own kernel.

Another possibility which might get you going is to install a new kernel using 'apt-get'. Debian has some preconfigured/compiled kernels in its repository, so you might want to try to start with those. And do a search on the Internet howto configure ALSA in Debian, which modules you have to load for the AC97 to work, etc. There's a lot of info around, so do some investigation on Google. I'd like to walk you through it, but I still use the 2.4 kernel series on my desktop(because of my stupid Promise RAID controller which doesn't work in 2.6) so I haven't setup ALSA with a 2.6 kernel yet (setting up ALSA in 2.4 is more difficult because the kernel hasn't got ALSA support in it). Also, I don't have an AC97, so I haven't got any experience with that soundcard. So my advice is to Google for information about installing a new kernel and configuring ALSA for your card.

Good luck.

Last edited by McCloud; 12-20-2004 at 04:43 AM.
 
Old 12-20-2004, 05:02 AM   #9
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
compile your kernel with your sound card support :with :
- ICH for ac97 (deprecated)
- or alsa with OSS emulation

I use the same card with debian testing on a laptop
 
Old 12-20-2004, 05:38 AM   #10
macondo
Senior Member
 
Registered: Jul 2003
Location: Central America
Distribution: Slackwre64-current Devuan
Posts: 1,034

Rep: Reputation: 62
Debian configuration post-install
http://www.linuxquestions.org/questi...hreadid=224547
 
  


Reply



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
Sound servers dont work Properly, no sound everywhere! starfly Linux - Hardware 1 04-01-2005 09:53 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
sound works in root - no sound in user - Debian seanb Debian 9 02-28-2004 12:42 AM
midi / synth sound with SIS7012 aka Intel i8x0 onboard sound card does not work wahwah Linux - Hardware 1 11-10-2003 05:25 PM
Need help getting sound blaster live to work instead of onboard sound JakeWolf Linux - Newbie 8 04-29-2002 09:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:30 PM.

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