LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   [Debian] That freaking Audigy trouble (https://www.linuxquestions.org/questions/linux-newbie-8/%5Bdebian%5D-that-freaking-audigy-trouble-108374/)

zaltar 10-25-2003 11:34 AM

[Debian] That freaking Audigy trouble
 
I have to make my soundblaster audigy player work on Debian "Woody" 3.0r1.

What I tried follow:

I downloaded this package: "emu10k1-v0.20a.tar.bz2".

I bunzipped and tarred it, then I checked out the value of the variable KERNEL_SOURCE viewing the config file.

The default value was something like "/lib/modules/'uname -r'/build", but I read on an installation guide to set the value make it pointing the kernel-source.
The guide suggested "/usr/src/linux" or "/usr/src/linux-2.4".

I found in "/usr/src" the compressed package of kernel-source: is it right? I have to extract it?

The next step should be "make" in the extracted driver directory.
Reading the error message I understood to set the path as "/usr" because it appends automatically "/linux/include" (or "/include/linux" I don't remember").
Well, it seemed a good idea, I saw some code appearing then another error message: it failed seeking ".config" and the reason is the uncommon path of the source. It suggested to copy that file in the same directory, "usr/linux/include" (or /usr/include/linux maybe).

What a mess, guys.

I really need damnly a hand to get out of this trouble.

Thanks, everybody. :study:

tgflynn 10-25-2003 12:16 PM

When you install a Debian kernel source package it leaves the source compressed in /usr/src. You'll need to uncompress it yourself. The name of the source directory will then be something like :
/usr/src/kernel-source-2.4.20 (with the last part depending on your kernel version).

I didn't understand the second part of your question. Are you referring to the KERNEL_SOURCE path or to some other path ?

Tim

zaltar 10-25-2003 12:18 PM

It's more complicated to tell than what's really be.
I gonna extract that archive and try again, then I eventually report what's gone wrong.
See ya later and thanks. :p

zaltar 10-26-2003 01:15 AM

Here I am.

Well, I extract the kernel-source-2.4.18 archive then I correct the emu10k1-v0.20a config file assigning "/usr/src/kernel-source-2.4.18" to the variable KERNEL_SOURCE.

I cd in order to reach emu10k1-v0.20a directory, then I launch "make" but it doesn't work because it can't find a file called "version.h" in "/usr/src/kernel-source-2.4.18/linux/include" ("/linux/include" is added by the program).

How come that file isn't there? How can I fix it? :confused:

crashmeister 10-26-2003 02:35 AM

Check this out http://www.sonic.net/~rknop/linux/debian_alsa.html
The point I am not clear with is as follows:
If you compile your own kernel all that is supposed to be included for sound is the sound core and nothing else - no OSS no modules.
Got no idea how that will play with a stock kernel.

zaltar 10-26-2003 04:38 AM

I think that link is referring to something different.

Alsa doesn't support my soundcard by default, because the most recent soundblaster supported is the Live! model.

Anyway I downloaded a good driver for my Audigy and clicking this link http://sourceforge.net/docman/displa...group_id=44773
you can see the installation guide I talked about.

Check this out, so you gonna understand what I said pretty good. :p
I can't yet get how come tha unpacked kernel-source hasn't the file needed by the driver. :mad:

crashmeister 10-26-2003 05:01 AM

Quote:

Originally posted by zaltar
Here I am.

Well, I extract the kernel-source-2.4.18 archive then I correct the emu10k1-v0.20a config file assigning "/usr/src/kernel-source-2.4.18" to the variable KERNEL_SOURCE.

I cd in order to reach emu10k1-v0.20a directory, then I launch "make" but it doesn't work because it can't find a file called "version.h" in "/usr/src/kernel-source-2.4.18/linux/include" ("/linux/include" is added by the program).

Got you now.That file is in /usr/src/yourkernel/include/linux
Not in /linux/include.Looks like it would normally look at /usr/src/linux/include meaning something is wrong with the variable kernel_source.My best guess anyway w/o knowing the config file.

Edit:Let me elaborate on this before I get beat up again.The kernel is normally in /usr/src/linux where /usr/src/linux is a link that points to the actual kernel source.It is done that way that you can work with different kernels easy.If you want to use a different kernel source for some reason you just change that link.So basically the config script is looking in the right place by default which would be /usr/src/linux/include
The error is that you got kernel-source-blah in between /usr/src/ and linux/include.

zaltar 10-26-2003 07:35 AM

You were right, man.

Now I correct the variable KERNEL_SOURCE in config like this: "/usr/src/linux".

The file version.h is there indeed, anyway I got this error when I try to launch "make" in the unpacked driver folder:

pc_name:/usr/Audigy/emu10k1-v0.20a# make
make -Cscripts
make[1]: Entering directory `/usr/Audigy/emu10k1-v0.20a/scripts'
cc -I/usr/src/linux/include get_version.c -o get_version
make -f /usr/Audigy/emu10k1-v0.20a/scripts/Makefile.get_options -C /usr/src/linux get_version_target
make[2]: Entering directory `/usr/src/kernel-headers-2.4.18-bf2.4'
/usr/Audigy/emu10k1-v0.20a/scripts/Makefile.get_options:17: Makefile: No such file or directory
make[2]: *** No rule to make target `Makefile'. Stop.
make[2]: Leaving directory `/usr/src/kernel-headers-2.4.18-bf2.4'
make[1]: *** [get_options] Error 2
make[1]: Leaving directory `/usr/Audigy/emu10k1-v0.20a/scripts'
make: *** [opts] Error 2
pc_name:/usr/Audigy/emu10k1-v0.20a#

What do you think about that? :(

tgflynn 10-26-2003 07:56 AM

It seems that it also expects a kernel-headers package to be installed. I think the following will help :

# apt-get install kernel-headers-2.4.18-bf2.4

Tim

zaltar 10-27-2003 12:10 PM

You're right, but the path "/usr/src/linux" point to that kernel-headers since it's already installed.
Morover I used that package to make my Nvidia work, so it's correctly installed I guess.

Mindaugas 03-06-2004 06:16 AM

So how to solve that problem?

zaltar 03-06-2004 08:21 AM

Well, it's been quiete a while. Anyway now I'm gladly running Slackware 9.1, full installation, and my Audigy Player worked since the first time.
I can't exactly explain why, but I suspect there was some trouble about lack of tcl/tk libraries linked to Emu10k1.

Before Slack I put on Mandrake9.2, it got the soundcard immediatly too, though this distro chose by default Emu10k2, more suitable for Audigy 1 and 2 family.

Mindaugas 03-06-2004 09:29 AM

Same days ago I tryed RED-HAT works - no problem

But I need to make work on DEBIAN, so I don't know what to do.

How to make work on kernel 2.4.18-bf2.4 ?

Where is those source?
I check apt-cache search kernel-source , bur there is only 2.4.18 source

Quote:

Originally posted by zaltar
Well, I extract the kernel-source-2.4.18 archive then I correct the emu10k1-v0.20a config file assigning "/usr/src/kernel-source-2.4.18" to the variable KERNEL_SOURCE.

I cd in order to reach emu10k1-v0.20a directory, then I launch "make" but it doesn't work because it can't find a file called "version.h" in "/usr/src/kernel-source-2.4.18/linux/include" ("/linux/include" is added by the program).

How come that file isn't there? How can I fix it? [/B]

zaltar 03-07-2004 03:23 AM

It should be better compiling the last stable version series 2.4.x, the default kernel version is too old, man.

Morover Debian Sarge is out there right now.


All times are GMT -5. The time now is 11:58 AM.