LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Sound Blaster Audigy for Linux (https://www.linuxquestions.org/questions/linux-newbie-8/sound-blaster-audigy-for-linux-27948/)

CrazyPill 08-14-2002 10:46 PM

Sound Blaster Audigy for Linux
 
I downloaded the emu10k1 driver and extracted to my root directory. I type 'make' in the console and this is what I get:

[root@localhost emu10k1]# make
make -Cscripts
make[1]: Entering directory `/root/emu10k1/scripts'

/lib/modules/2.4.18-3/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-3, the source code should
be for this version.

make[1]: *** [get_version] Error 1
make[1]: Leaving directory `/root/emu10k1/scripts'
make: *** [opts] Error 2

I have no idea what to do from here. I am an extreme newbie struggling to learn linux and wanting to hear sound on her system. Any help to get me through this would be very much appreciated. :)

da Perp 08-15-2002 07:16 AM

what distribution do you use?

you probably already have sound an your linux system, just type the command:

modprobe emu10k1,
if this fails, then try:

modprobe soundcore,
and then the above command again.

also, dont try to use alsamixer or stuff like that, just use kmix or aumix.

CrazyPill 08-15-2002 05:08 PM

I use RedHat 7.3

That didn't work :( This is what I got from typing modprobe emu10k1:

[root@localhost emu10k1]# modprobe emu10k1
/lib/modules/2.4.18-5/kernel/drivers/sound/emu10k1/emu10k1.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters
/lib/modules/2.4.18-5/kernel/drivers/sound/emu10k1/emu10k1.o: insmod /lib/modules/2.4.18-5/kernel/drivers/sound/emu10k1/emu10k1.o failed
/lib/modules/2.4.18-5/kernel/drivers/sound/emu10k1/emu10k1.o: insmod emu10k1 failed
[root@localhost emu10k1]# modprobe soundcore
[root@localhost emu10k1]# modprobe emu10k1
/lib/modules/2.4.18-5/kernel/drivers/sound/emu10k1/emu10k1.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters
/lib/modules/2.4.18-5/kernel/drivers/sound/emu10k1/emu10k1.o: insmod /lib/modules/2.4.18-5/kernel/drivers/sound/emu10k1/emu10k1.o failed
/lib/modules/2.4.18-5/kernel/drivers/sound/emu10k1/emu10k1.o: insmod emu10k1 failed


Any ideas? :confused:

CrazyPill 08-15-2002 09:43 PM

Would anyone be willing to guide me through this? I would very much appreciate it.

-Holly aka :newbie:

da Perp 08-16-2002 03:48 AM

It could be that alsa is setup. type alsamixer in the console, unmute the master, pcm, and watever else you use for sound output, and try playing a mp3 with xmms or so. if xmms complains bout the sound output, try changing its sound driver plugin in itīs preferences to alsa.

darkmage 08-16-2002 05:05 PM

The first thing you'll need to do is download the kernel source from your first Redhat CD. It should be under the development section. Installing the kernel source rpm should allow you to run make.

burzmali 08-17-2002 03:40 AM

yes, you need kernel sources to compile the audigy module (which will be named emu10k1 when it installs).
or you could check redhat and see if they have an audigy RPM made for you. if there is an rpm available, that may be the easiest thing to do.

CrazyPill 08-17-2002 06:00 PM

I didn't see an RPM.

I already have the kernels in /lib/modules/2.4.18-5/kernel

Still gives me that error :confused:

darkmage 08-17-2002 08:19 PM

Check under /usr/src, there should be a kernel source.

CrazyPill 08-18-2002 01:22 AM

I don't see kernel source in there, just /redhat :(

darkmage 08-20-2002 08:32 AM

Maybe you could trying copying the /lib/modules/2.4.18-5/kernel
to /usr/src/linux. Or if you still can't find the kernel sources from Redhat, you could download the newest kernel sources from kernel.org and install those and also get a new kernel. If you do go and download a new kernel, there's lots of threads about it here.

burzmali 08-22-2002 02:32 AM

the kernel source is on the second red hat cd.
it is under /mnt/cdrom/RedHat/RPMS/kernel-source-2.4.18.<whatever>.rpm
good luck

Linux-Newbie_71 08-31-2002 04:41 AM

Finally got it installed...
 
I had to run "make config" in /usr/src/linux-2.4.18-10/

After that I ran "make" in the folder emu10k1-v0.19a folder (from the sourceforge.com website) then just follow the instructions.

then I ran "modprobe emu10k1"

It went through clean this time, but only after I ran the "make config" for the kernel.

Also in the Control Panel under Sound, and Sound Server I had to change the sound I/O from auto detect to Open Sound System. For some reason it would not AutoDetect it.

Sorry I couldn't give motre detail, but I'm new to Linux & just happy I got it to finally work and have sound now after 4 days of trying.

Linux-Newbie_71 08-31-2002 04:47 AM

By the way
 
you need to edit the config file in the emu10k1-v0.19a folder & change

KERNEL_SOURCE :=/usr/src/linux-2.4.18-10 (this should be set to where ever your source is & to the version you are running)

this need to be done before you run "make" in the emu10k1-v0.19a folder.

If you didn't change this config file, just run "make clean" in the emu10k1-v0.19a folder after you change it. It should clean out the old files that were created before.

Hope that helps..

meginyu 10-09-2002 08:24 PM

Hello,

I am having sort of the same problem but things were resolved when using the modprobe command. However, sound does not occur at startup. Sound "appears" only when I enter that command in the terminal. Is there a more permanent, automatic way to set this instead of having to type it in after the system already started?


-------------------------------------------------------------------------------------
you probably already have sound an your linux system, just type the command:

modprobe emu10k1,
if this fails, then try:

modprobe soundcore,
and then the above command again.


All times are GMT -5. The time now is 09:26 PM.