LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-26-2002, 05:06 AM   #1
nutshell
Member
 
Registered: Feb 2002
Distribution: Slackware 8.1
Posts: 244

Rep: Reputation: 30
No sound in linux?


Hi,

How can i get sound in linux?

Where can i config sound and stuff? I am using mandrake 8.1

thnx
 
Old 02-26-2002, 05:59 AM   #2
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Rep: Reputation: 46
We'll need some more information than you've given us.

What is your computer's chipset?
How does windows deal with sound ?
Are you using a laptop ?
Did you install the soundcard yourself?
Was it included with your computer ?
What is the manufacturer of the soundcard ?

If you're not sure of any of this stuff, now's a good time to find out. Consult you manuals, documentation and properties tab in windows.

There are chipsets for which there are no sound drivers available, but usually an alsa sound driver will do it.

Bert
 
Old 02-26-2002, 07:10 AM   #3
nutshell
Member
 
Registered: Feb 2002
Distribution: Slackware 8.1
Posts: 244

Original Poster
Rep: Reputation: 30
Intel 845 chipset
Didn't install sound card myself

But in general, how can i solve this problem?

Where can i go to edit sound optsion in linux?
 
Old 02-26-2002, 07:45 AM   #4
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Rep: Reputation: 46
From a shell,

% sndconfig

and see if your chipset / card is included.

By default, the sound is quite low (actually, I didn't know the driver had actually worked until I turned the sound up from the BIOS!), so you may need to increase the volume from your BIOS.

Bert
 
Old 02-27-2002, 05:39 AM   #5
nutshell
Member
 
Registered: Feb 2002
Distribution: Slackware 8.1
Posts: 244

Original Poster
Rep: Reputation: 30
yes my card is included, but can't hear the sample sound.

Pls help

thnx a lot
 
Old 02-28-2002, 06:26 AM   #6
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Rep: Reputation: 46
Is there a mixer program included in Mandrake 8.1? There should be.

Raise the PCM and master volume levels. If you here a crackling sound as you raise them, that's good!

If you don't, you may need the alsa sound driver in the link above.

What is you soundcard, nutshell ?

Do

% lspci -vv

to find out about the hardware for your soundcard.
Then turn up the volume and try playing a .WAV file.
If that doesn't work, go to the alsa page, and download the driver.

Bert
 
Old 02-28-2002, 07:35 AM   #7
nutshell
Member
 
Registered: Feb 2002
Distribution: Slackware 8.1
Posts: 244

Original Poster
Rep: Reputation: 30
i tried installing Alsa using rpm, but it says it's already installed. But when i try to run amixer, it says the the alsa driver is not installed.

So i tried installing from source. When i type configure, errors:

Checking for kernel version...expr: syntax error
expr: syntax error
expr: syntax error
failed ( probably missing /usr/src/linux/include/linux/version.h)


pls help


thnx
 
Old 03-01-2002, 07:59 AM   #8
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Rep: Reputation: 46
Install your kernel headers.

Basically, your system can't find your kernel source which the alsa driver needs. Find the kernel-2.xx.xx.src.rpm and install it.

The version.h file will tell the ALSA driver 'I am a Mandrake, I am a 2.x.x kernel version', and the ALSA driver will build appropriately. Look on your distribution disk, there should be a source file somewhere (if there isn't they've broken the license agreement ).

(p.s. when you get comfortable with your system at some point, this package will allow you to rebuild you kernel )

Nearly there ...
 
Old 03-01-2002, 04:21 PM   #9
sol-dude
LQ Newbie
 
Registered: Mar 2002
Posts: 1

Rep: Reputation: 0
Did you try sndconfig? It works in a few distros like redhat and I think
mandrake as well.
 
Old 03-01-2002, 06:37 PM   #10
nutshell
Member
 
Registered: Feb 2002
Distribution: Slackware 8.1
Posts: 244

Original Poster
Rep: Reputation: 30
Hi,

thnx

But where is the kernel header rpm located? I used the command rpm -q and it says kernel-headers-2.4.8-26mdk is installed? and i don't seem to hav the directory /usr/src/linux

To dude:

I tried sndconfig didn't work

thnx guys but need more help ........
 
Old 03-01-2002, 09:04 PM   #11
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
get the rpm and run it like this...



rpm -ivh kernel-source-2.4.x-xxmdk.i586.rpm




it will create /usr/src/linux
 
Old 03-01-2002, 10:17 PM   #12
nutshell
Member
 
Registered: Feb 2002
Distribution: Slackware 8.1
Posts: 244

Original Poster
Rep: Reputation: 30
I already re-installed the headers. But when i type 'amixer', it still says that ALSA driver is not detected on your systeem. WHy?
 
Old 03-01-2002, 10:17 PM   #13
nutshell
Member
 
Registered: Feb 2002
Distribution: Slackware 8.1
Posts: 244

Original Poster
Rep: Reputation: 30
I already re-installed the headers. But when i type 'amixer', it still says that ALSA driver is not detected on your systeem. WHy?
 
Old 03-02-2002, 02:14 AM   #14
nutshell
Member
 
Registered: Feb 2002
Distribution: Slackware 8.1
Posts: 244

Original Poster
Rep: Reputation: 30
Wait. At the home page of ALSA site, in the download section, you're suppose to click one of the sites right? THen it loads a ftp site which many directories and in eacah directories there are many .tar.gz files. WHat am i suppose to do? Am i suppose to uncompress all the files ONE BY ONE ? And then compile it then? And do i only need the files in the 'driver' directory and others?

thnx
 
Old 03-02-2002, 02:14 AM   #15
nutshell
Member
 
Registered: Feb 2002
Distribution: Slackware 8.1
Posts: 244

Original Poster
Rep: Reputation: 30
Wait. At the home page of ALSA site, in the download section, you're suppose to click one of the sites right? THen it loads a ftp site which many directories and in eacah directories there are many .tar.gz files. WHat am i suppose to do? Am i suppose to uncompress all the files ONE BY ONE ? And then compile it then? And do i only need the files in the 'driver' directory and others?

thnx
 
  


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 On
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
Realtek Sound and Ubuntu Linux - No Sound meindl007 Linux - Hardware 22 10-05-2005 02:16 PM
no sound card but no sound in linux pragun Linux - Newbie 18 12-27-2004 03:18 PM
SuSE Linux, Linux in general and sound cards... rgbrock1 Linux - Hardware 9 10-06-2004 06:00 PM
Linux recognizes sound card, still no sound HuEsY Linux - Hardware 1 06-15-2004 10:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:32 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