Click to See Complete Forum and Search --> : Only CD sound!!!


markdog12
02-11-2003, 03:57 PM
I am running RedHat 8.0 and have a SoundBlaster Live! Value sound card. It seems that my sound card only plays CD audio. When i try to play an MP3 with XMMS (i have the MP3 plug-in), it plays, but there is no sound. I adjusted all my sound levels in volume control. I downloaded the emu10k1-v0.20a driver, unpacked it, then tried:

./configure

there was no such file, so i tried

make

which got me the error:

make -Cscripts
make[1]: Entering directory `/home/mark/emu10k1-v0.20a/scripts'

/lib/modules/2.4.18-14/build directory does not exist. Please edit the file 'config'
in this directory and set KERNEL_SOURCE to the correct location of your
kernel source.

You are currently running kernel version 2.4.18-14, the source code should
be for this version.

make[1]: *** [get_version] Error 1
make[1]: Leaving directory `/home/mark/emu10k1-v0.20a/scripts'
make: *** [opts] Error 2
[root@u87n29 emu10k1-v0.20a]#

Does anybody have a solution?

markdog12
02-11-2003, 04:07 PM
i said i had the MP3 plug-in. MP3's play, i just can't hear them

elderdays
02-11-2003, 04:48 PM
Sorry, did you look at the 'config' file like it says? You may have to edit the Makefile and change where it is pointing to your kernel modules.

markdog12
02-11-2003, 05:02 PM
this is my /home/mark/emu10k1-v0.20a/scripts/Makefile:

CURR_DIR :=$(shell pwd)

export CURR_DIR

.PHONY: get_version

all: get_version get_options

get_version:
@if [ ! -d $(KERNEL_SOURCE)/ ]; then \
echo "";\
echo "$(KERNEL_SOURCE) directory does not exist. Please edit the file 'config'";\
echo "in this directory and set KERNEL_SOURCE to the correct location of your ";\
echo "kernel source.";\
echo "";\
echo "You are currently running kernel version `uname -r`, the source code should";\
echo "be for this version.";\
echo "";\
exit 1;\
fi
@if [ ! -f $(KERNEL_SOURCE)/include/linux/version.h ]; then \
echo "$(KERNEL_SOURCE)/include/linux/version.h is missing. Please run make config";\
echo "in your kernel source tree";\
exit 1;\
fi

$(CC) -I$(KERNEL_SOURCE)/include get_version.c -o get_version

get_options:
$(MAKE) -f $(CURR_DIR)/Makefile.get_options -C $(KERNEL_SOURCE) get_version_target

clean:
$(RM) get_version ../.opts

distclean: clean

What should i change!??

markdog12
02-11-2003, 05:03 PM
i know it has to be something in the "if" statement, but what exactly do i replace and with what?

sonictooth
02-11-2003, 05:21 PM
1. do you have the kernel source installed? i'm not sure if red hat does by default i would guess not.

2. is the path set correctly

3 isn't a solution: i had the same problem for awhile, till i recompiled my kernel with my soundcard drivers etc... though red hats kernel should come prebuilt with soundblaster at least.

markdog12
02-11-2003, 05:24 PM
i don't have the source kernel installed

Rickdog
02-12-2003, 01:40 AM
Go to the link below for an excellent primer on how to install apt-get, get xmms-mpg, synaptic and a quick look at how to customize RH 8.0 painlessly. Highly recommended article.

http://www.osnews.com/story.php?news_id=1890

markdog12
02-12-2003, 01:53 AM
The only thing that was relevant to my problem in that article was installing the XMMS MP3 plug-in, which i've done long ago

Rickdog
02-12-2003, 04:29 AM
I mentioned it because its a quick, easy way to get kernel upgrades, install the source kernel, remove unwanted kernels and remove them from the grub bootloader, etc. (apt-get with synaptic)

bwkaz
02-12-2003, 10:21 AM
You say you turned the volume up in a mixer?

Are you sure you also unmuted the channels?

(I ask because I did that once -- turned the volume up but didn't unmute, and couldn't hear anything.)

Otherwise, you are compiling kernel modules. They require that you install a kernel-source package and configure it to match your running kernel.

The configuration consists of finding a config file in /usr/src/linux-<version>/configs that matches your processor, copying it to /usr/src/linux-<version>/.config, cd'ing to /usr/src/linux-<version>, editing the Makefile and removing "custom" from the EXTRAVERSION line, then running make mrproper oldconfig dep. Then, you might be able to get the drivers to compile. But you NEED kernel-source.