Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How-to "Get sound now!" with your audigy 2 platinu
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
bricklok
n00b
n00b


Joined: 20 Jul 2003
Posts: 2
Location: Detroit, MI

PostPosted: Sun Jul 20, 2003 11:35 pm    Post subject: How-to "Get sound now!" with your audigy 2 platinu Reply with quote

Heya all,

First I'd like to introduce myself, since ths is my first post in the gentoo forums. I've been running linux for about a month, and gentoo in particular for about 2 weeks. I've become something of a linux cheerleader having converted nearly 10 of my friends to our 'cause'. This has also made me pretty good at *nix! :-) (since I usually end up setting up their box) Anyway, to get down to business..... After trawling through the forums for some time now (and after dealing with my own problems) I thought i'd write down my own experinces with getting my Audigy 2 working, the easiest way i've found possible.

Things you'll need:

1) Willingness to recompile your kernel and use development sources.

2) The time to do #1 :-)

Getting started

1) First off, you need to emerge kernel sources 2.5.69 or greater (for built in alsa support) You can do this by emerging development-sources, mm-sources or any of the other packages in portage that use developmental kernels. I prefer the development-sources myself. (i'm running 2.6 at this time)

Note: If you already have 2.5.69+ kernel sources merged, you can skip to step 2

Code:
emerge development-sources


If there is a particular kernel you would like you can merge it by using e-build manually. Lets say you wanted development-sources 2.5.73.

Code:
cd /usr/portage/sys-kernel/development-sources
ebuild development-sources-2.5.73.ebuild merge


2) Now that we have our sources downloaded and merged its time to configure our kernel. If you know how to do this already, skip down to the part about configuring for ALSA.

To start, for greater explanation of any of the following steps in building and configuring a kernel please visit this link

If you'd just like to use your current configuration as a base for the new kernel enter the following:

Code:
cd /usr/src/linux-beta
make oldconfig


Be prepared to say yes or no to whatever new options are presented in the newer kernel. Just press enter for defaults if you're not sure what something does. You can change it to your liking later in menuconfig or xconfig.

Now enter kernel config

Code:
make menuconfig
(text based program)

or

Code:
make xconfig
(X based program)

Configure it to your liking, when you get to sound. Make sure you enable it. Enter the sub menu and enable the Advanced Linux Sound Architecture. Enable Sequencer support if you'd like midi support. Enable OSS API emulation for OSS support, check all the other OSS related modules if you'd like them as well. Scroll down to PCI devices, and enter the submenu. Select EMU10K1.

Note:You may compile these as modules if you wish, I just prefer them built-in.. my kernel is bare bones besides alsa... so it doesnt bother me

I have included my settngs for refrence:

Code:
#
# Sound
#
CONFIG_SOUND=y

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=y
CONFIG_SND_SEQUENCER=y
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_PCM_OSS=y

#
# PCI devices
#

CONFIG_SND_EMU10K1=y


After you have configured your settings and the ALSA settings exit out of config, making sure to save. We can now build the kernel. If you are new to 2.5.x and greater kernels... you'll notice you no longer have to 'make dep' :-)

Code:
make clean bzImage modules modules_install


This doesnt take more then 5 or 10 minutes on my computer, (2ghz w/2 gigs of ram) but if you got anything older get ready for a wait. I reccomend 'Grand Theft Auto 3: vice city' for PS-2 :-)

After it's done compiling you must copy the boot image to your boot partition. Make sure to mount it first!!

Code:
mount /dev/boot /boot
rm /boot/bzImage && cp /usr/src/linux/arch/i386/boot/bzImage /boot


I always run LILO/GRUB again after for good measure, not sure if you have to, but its something i do and i've never had any problems with 'unable to decompress kernel' crap since i've started.

Code:
/sbin/lilo


You're all set now, reboot to run up the new kernel. After you're back up and running you need to emerge alsa-utils.

Code:
emerge alsa-utils


This builds alsamixer, the application used to unmute your rear channe (if you have mutiple channels such as myself) To do this, run alsamixer and adjust the settings as you see fit.

Code:
alsamixer


That's about it, enjoy the sound! :-) This may not be the best way to accomplish this, but it worked for me.. (and i like the newer kernels so it was cool with me) If you have any questions/suggestions/additions feel free to reply. Hope I helped someone!

Phil "Brick"
Gentoo n00b

Unix is the worst operating system; except for all others.
-- Berry Kercheval


Last edited by bricklok on Mon Jul 21, 2003 11:36 am; edited 1 time in total
Back to top
View user's profile Send private message
bfg
n00b
n00b


Joined: 07 Jul 2003
Posts: 58
Location: Amparo, SP

PostPosted: Mon Jul 21, 2003 2:33 am    Post subject: Reply with quote

nice guide! It works.

:D
Back to top
View user's profile Send private message
bricklok
n00b
n00b


Joined: 20 Jul 2003
Posts: 2
Location: Detroit, MI

PostPosted: Mon Jul 21, 2003 3:23 am    Post subject: Reply with quote

Glad to help :-)


Brick
Back to top
View user's profile Send private message
flanz
n00b
n00b


Joined: 28 Jul 2003
Posts: 1
Location: CT/NY

PostPosted: Wed Sep 17, 2003 10:02 pm    Post subject: Reply with quote

thanks Brick,

your post was helpful and informative!
Back to top
View user's profile Send private message
scoobydu
Veteran
Veteran


Joined: 16 Feb 2003
Posts: 1076
Location: 'Mind the Gap'

PostPosted: Fri Sep 19, 2003 10:14 am    Post subject: Reply with quote

Any tips on where the config file is, so I can enable ac3 and the ir port please? :?

cheers scooby
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum