LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-29-2003, 11:47 AM   #1
tweakness
LQ Newbie
 
Registered: Aug 2003
Location: Chicago, IL
Distribution: Slackware, LFS
Posts: 12

Rep: Reputation: 0
emu10k1, audigy 2 5.1 sound on 2.6.0-test4


I have a soundblaster Audigy 2, and have the alsa driver for it built as a module for kernel 2.6.0-test4, im trying gentoo on this box for the first time.
I can only get sound output to the center/bass channel.
and when i try to compile the emu10k1 driver from cvs, it gets an error because its looking for version.h which isnt in 2.6.0...

any ideas????
 
Old 08-29-2003, 01:09 PM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
You have to go with the ALSA CVS version to get audigy 2 going.

Make sure you have cvs and kernel-source installed first.

ALSA CVS download

# Compiling/installing kernel modules
You will need to have installed:
1. The developmental packages (compiler)
2. The kernel source code that matches your running kernel
3. The module source or install code

Check out your system and look under the hood and see if you installed the stuff you need to do the job. Open an x terminal and type in this sequence of commands to see what kernel we are running and see if you have the kernel source installed:
Code:
[fancy@tinwhistle fancy]$ su -
Password: 
[root@tinwhistle root]# uname -r
2.4.18-3
I am running kernel version 2.4.18-3. Do I have the proper source code?
Code:
[root@tinwhistle root]# cd /usr/src
[root@tinwhistle src]# ls -alc
total 3
drwxr-xr-x    4 root     root          136 Jun 12 14:53 .
drwxr-xr-x   16 root     root          424 Jun  4 12:04 ..
lrwxrwxrwx    1 root     root           14 Jun  4 12:11 linux-2.4 -> linux-2.4.18-3
drwxr-xr-x   16 root     root          584 Jun  4 12:11 linux-2.4.18-3
drwxr-xr-x    7 root     root          168 Jun  4 12:08 redhat
[root@tinwhistle src]#
I do have the same kernel version source code installed in the directory /usr/src/linux-2.4.18-3 and there is a symbolic link named linux-2.4 pointing to it.

If you don't see something similiar to this (but in color), you will need to install the kernel source.

NOTE: I noticed that Red Hat didn't make the symbolic link /usr/src/linux that all of the INSTALL files that I have read mentioned that I need, so I may as well make one now to save editing the files in the source code to install.So, I'll make it just now:
Code:
[root@tinwhistle src]# ln -s linux-2.4.18-3 linux         
[root@tinwhistle src]# ls -alc
total 3
drwxr-xr-x    4 root     root          160 Jun 12 15:46 .
drwxr-xr-x   16 root     root          424 Jun  4 12:04 ..
lrwxrwxrwx    1 root     root           14 Jun 12 15:46 linux -> linux-2.4.18-3
lrwxrwxrwx    1 root     root           14 Jun  4 12:11 linux-2.4 -> linux-2.4.18-3
drwxr-xr-x   16 root     root          584 Jun  4 12:11 linux-2.4.18-3
drwxr-xr-x    7 root     root          168 Jun  4 12:08 redhat
[root@tinwhistle src]#
Ah, there it is, so that's done.

Next, did I install the compiler?
Code:
[root@tinwhistle src]# gcc -v          
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)
[root@tinwhistle src]#
Yes, I have a compiler installed.

If you don't have those two things installed, you have to install them first off your install CD.

If they are installed, download the source and happy comiling. Make sure you carefully read the README and INSTALL files after extracting and before compiling/installing.
 
Old 08-29-2003, 02:04 PM   #3
tweakness
LQ Newbie
 
Registered: Aug 2003
Location: Chicago, IL
Distribution: Slackware, LFS
Posts: 12

Original Poster
Rep: Reputation: 0
i compiled the module that came with the vanilla source for 2.6.0-test4. i have my compiler up and running and all that good stuff. And there is sound, i was just seeing how to enable 5.1 audio with the alsa modules that are included in the 2.6.0 kernel.
 
Old 08-29-2003, 02:39 PM   #4
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
From the Gentoo users mailing list:

It worked, thank you.
L.

On Sun, 24 Aug 2003, Zack Gilburd wrote:

> On Sunday 24 August 2003 01:45 am, Leonid Podolny wrote:
> > Hi,
> > This issue is not strictly gentoo-related, but I hope someone has
> > encountered it in the past and can help me.
> > I've recently bought an audigy2 card. I had no idea that it could be
> > unsupported -- after all, the creative production is as mainstream as
> > could be . However, I can't get it to work. The alsa emu10k1 doesn't
> > support it, but I hoped it would work in some sort of legacy mode. The
>
> Try using the emu10k1-cvs (OSS) package. The regular, stable version of the
> emu10k1s does not support the Audigy2, while the CVS build of the drivers
> does.
>
> --
> Zack Gilburd
> http://tehunlose.com
> GnuPG Key ID: A79A45668240AB6C
>

And from the chief engineer:

On Sun, 2003-08-24 at 02:45, Leonid Podolny wrote:
> Hi,
> This issue is not strictly gentoo-related, but I hope someone has
> encountered it in the past and can help me.
> I've recently bought an audigy2 card. I had no idea that it could be
> unsupported -- after all, the creative production is as mainstream as
> could be . However, I can't get it to work.

When it comes to the emu10k1 drivers on sourceforge, it appears you are
not alone:

http://sourceforge.net/tracker/index...73&atid=440822

It appears that the cvs version of the emu10k1 driver may have some
Audigy 2 support. By now it could have complete support. I've opened a
Gentoo bug on this issue for you:

http://bugs.gentoo.org/show_bug.cgi?id=27529

Feel free to create a bugzilla account and add yourself to the cc list
for this bug (I think bugzilla should let you do that with no special
privs.)

Best Regards,

Daniel

Last edited by fancypiper; 08-29-2003 at 02:49 PM.
 
Old 08-30-2003, 02:13 PM   #5
tweakness
LQ Newbie
 
Registered: Aug 2003
Location: Chicago, IL
Distribution: Slackware, LFS
Posts: 12

Original Poster
Rep: Reputation: 0
i compiled 2.4.22, and everything works great; 5.1 surround. still cant get it to work on the test kernels though.
 
  


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
audigy 2, emu10k1 loaded but no sound! zzp Linux - Hardware 8 05-28-2006 12:00 AM
Audigy 2 Sound not working: alsa with snd-emu10k1 hashbrown Mandriva 10 08-01-2005 01:10 PM
emu10k1 for SB audigy 2 ThirtySixBelow Mandriva 1 03-27-2005 06:34 PM
emu10k1 for SB audigy 2 ThirtySixBelow Linux - Newbie 1 03-27-2005 05:59 PM
audigy 2, emu10k1 loaded but no sound! zezepedro Linux - Hardware 1 01-23-2005 03:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:12 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
Open Source Consulting | Domain Registration