LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   No sound in linux? (https://www.linuxquestions.org/questions/linux-general-1/no-sound-in-linux-15096/)

nutshell 02-26-2002 05:06 AM

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

Bert 02-26-2002 05:59 AM

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

nutshell 02-26-2002 07:10 AM

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?

Bert 02-26-2002 07:45 AM

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

nutshell 02-27-2002 05:39 AM

yes my card is included, but can't hear the sample sound.

Pls help

thnx a lot

Bert 02-28-2002 06:26 AM

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

nutshell 02-28-2002 07:35 AM

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

Bert 03-01-2002 07:59 AM

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 ).

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

Nearly there ...

sol-dude 03-01-2002 04:21 PM

Did you try sndconfig? It works in a few distros like redhat and I think
mandrake as well.

nutshell 03-01-2002 06:37 PM

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 ........

DavidPhillips 03-01-2002 09:04 PM

get the rpm and run it like this...



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




it will create /usr/src/linux

nutshell 03-01-2002 10:17 PM

I already re-installed the headers. But when i type 'amixer', it still says that ALSA driver is not detected on your systeem. WHy?

nutshell 03-01-2002 10:17 PM

I already re-installed the headers. But when i type 'amixer', it still says that ALSA driver is not detected on your systeem. WHy?

nutshell 03-02-2002 02:14 AM

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

nutshell 03-02-2002 02:14 AM

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


All times are GMT -5. The time now is 03:22 PM.