[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: |
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 |
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 |
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: |
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. |
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: |
Quote:
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. |
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? :( |
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 |
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. |
So how to solve that problem?
|
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. |
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:
|
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. |