LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-25-2003, 12:34 PM   #1
zaltar
Member
 
Registered: Mar 2003
Distribution: Slackware 10.1
Posts: 44

Rep: Reputation: 15
[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.
 
Old 10-25-2003, 01:16 PM   #2
tgflynn
Member
 
Registered: Oct 2003
Location: Rochester, New York (USA)
Distribution: Debian
Posts: 119

Rep: Reputation: 15
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
 
Old 10-25-2003, 01:18 PM   #3
zaltar
Member
 
Registered: Mar 2003
Distribution: Slackware 10.1
Posts: 44

Original Poster
Rep: Reputation: 15
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.
 
Old 10-26-2003, 02:15 AM   #4
zaltar
Member
 
Registered: Mar 2003
Distribution: Slackware 10.1
Posts: 44

Original Poster
Rep: Reputation: 15
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?
 
Old 10-26-2003, 03:35 AM   #5
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
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.
 
Old 10-26-2003, 05:38 AM   #6
zaltar
Member
 
Registered: Mar 2003
Distribution: Slackware 10.1
Posts: 44

Original Poster
Rep: Reputation: 15
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.
I can't yet get how come tha unpacked kernel-source hasn't the file needed by the driver.
 
Old 10-26-2003, 06:01 AM   #7
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
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.

Last edited by crashmeister; 10-26-2003 at 06:10 AM.
 
Old 10-26-2003, 08:35 AM   #8
zaltar
Member
 
Registered: Mar 2003
Distribution: Slackware 10.1
Posts: 44

Original Poster
Rep: Reputation: 15
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?
 
Old 10-26-2003, 08:56 AM   #9
tgflynn
Member
 
Registered: Oct 2003
Location: Rochester, New York (USA)
Distribution: Debian
Posts: 119

Rep: Reputation: 15
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
 
Old 10-27-2003, 01:10 PM   #10
zaltar
Member
 
Registered: Mar 2003
Distribution: Slackware 10.1
Posts: 44

Original Poster
Rep: Reputation: 15
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.
 
Old 03-06-2004, 07:16 AM   #11
Mindaugas
LQ Newbie
 
Registered: Feb 2004
Location: Lithuania
Distribution: archlinux
Posts: 12

Rep: Reputation: 0
So how to solve that problem?
 
Old 03-06-2004, 09:21 AM   #12
zaltar
Member
 
Registered: Mar 2003
Distribution: Slackware 10.1
Posts: 44

Original Poster
Rep: Reputation: 15
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.
 
Old 03-06-2004, 10:29 AM   #13
Mindaugas
LQ Newbie
 
Registered: Feb 2004
Location: Lithuania
Distribution: archlinux
Posts: 12

Rep: Reputation: 0
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]
 
Old 03-07-2004, 04:23 AM   #14
zaltar
Member
 
Registered: Mar 2003
Distribution: Slackware 10.1
Posts: 44

Original Poster
Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble with soundblaster audigy soundcard rafael_rms Linux - Hardware 2 09-17-2005 06:51 PM
Audigy NX 2 trouble... Dave Chavez Linux - Hardware 2 03-07-2005 09:39 AM
Audigy 2 trouble Nilium Linux - Hardware 0 09-16-2004 04:12 PM
Trouble with Sound Blaster Audigy LS doza Linux - Hardware 2 07-08-2004 02:56 PM
I'm having trouble getting my SB Audigy LS working... doxxan Slackware 11 02-03-2004 08:10 AM


All times are GMT -5. The time now is 06:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration