ccamp n00b

Joined: 28 Dec 2004 Posts: 1
|
Posted: Tue Dec 28, 2004 7:39 pm Post subject: ALSA + EMU10K1X + 2.6 WORKS!!!! |
|
|
Ok, so I saw a million people having problems on compiling Alsa with a 2.6.x kernel and the Dell OEM SBLive soundcard. Here is what I did:
1) Recompile the kernel with the soundcard support as a module
2) MAKE SURE ALSA and OSS support are off (I know it's counterintuitive)
3) change make.conf to include ALSA_CARDS=emu10k1x (make sure the driver name is all lower-case -- it doesn't work if it's uppercase)
4) run emerge alsa (it will automatically get just alsa-driver) -- no need to reboot yet
5) move your binary versions of your linux compilation to where it needs to go (depending on if you use lilo or grub)
6) make the appropriate changes to /etc/modules.d/alsa and /etc/modules.autoload/kernel-2.6 as shown below
7) Reboot!
I had no problems except with RealPlayer10 + Shoutcast, but XMMS works fantastic! And I just used the gnome mixer to set the volume channels and so fourth.
Code: | /etc/modules.d/alsa
# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore
##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
## ALSA portion
alias snd-card-0 snd-emu10k1x
## alias snd-card-1 snd-ens1371
## OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##
# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
## OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
# Set this to the correct number of cards.
options snd cards_limit=1
|
Code: |
/etc/modules.autoload/kernel-2.6
# Note that this file is for 2.6 kernels.
#
# Add the names of modules that you'd like to load when the system
# starts into this file, one per line. Comments begin with # and
# are ignored. Read man modules.autoload for additional details.
# For example:
# 3c59x
snd-emu10k1x
|
|
|