LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 02-21-2005, 05:02 AM   #1
zahoo
Member
 
Registered: Nov 2004
Location: EU, HUNGARY, Budapest
Distribution: Debian SID
Posts: 40

Rep: Reputation: 15
Surround on SB Live with emu10k1 (not ALSA)


Hi,

can someone give me a hint where can I find a good HOWTO or guide for configuring surround (5.1) on my SB Live card? I'm using emu10k1 (Open Source not ALSA). Does this require any packages or just configuration?

Or if I have to switch to ALSA then I'd also need the URL for that HOWTO.

Thanks

Zahoo
 
Old 02-21-2005, 07:16 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
What distribution are you uing. Alsa is not a sound card driver but a sound system, so you are probably using it but the sound cards driver is emu10k1. To enable 5.1 sound, I think all you have to do is unmute, the appropriate settings using "alsamixer" and then as root do "alsactl store". You can then use any mixer available to you to tinker around with the sound settings.
 
Old 02-21-2005, 03:29 PM   #3
zahoo
Member
 
Registered: Nov 2004
Location: EU, HUNGARY, Budapest
Distribution: Debian SID
Posts: 40

Original Poster
Rep: Reputation: 15
I'm using Debian Linux unstable. The emu10k1 driver was compiled as module in the kernel (2.6.5). I didn't compile any ALSA stuff and didn't even install any ALSA package so I doubt that I have any ALSA in my system. Bur maybe that would be the only way for getting surround? When I wrote that I have OSS emu10k1 then I meant that I choosed Open Sound System emu10k1 driver in the kernel config.

Thanks for helping!
 
Old 02-21-2005, 11:55 PM   #4
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
yea i thik switch to the alsa driver
snd-emu10k1

the alsa driver is already a part of the kernel so it's just a config thing
however in order for user space apps to have access to the alsa interface
you need generally
ALSA Library
ALSA Utilities
don't know how they are packaged for debian
here is my config if it helps (2.6.8.1)
#
# Sound
#
CONFIG_SOUND=m

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
# CONFIG_SND_SEQ_DUMMY is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_RTCTIMER=m
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set

#
# Generic devices
#
CONFIG_SND_MPU401_UART=m
# CONFIG_SND_DUMMY is not set
CONFIG_SND_VIRMIDI=m
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
CONFIG_SND_MPU401=m

#
# PCI devices
#
CONFIG_SND_AC97_CODEC=m
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_ATIIXP is not set
# CONFIG_SND_AU8810 is not set
# CONFIG_SND_AU8820 is not set
# CONFIG_SND_AU8830 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS4281 is not set
CONFIG_SND_EMU10K1=m

lets see what else -- this in /etc/modprobe.conf
alias char-major-14-* soundcore
# this is the alsa section
alias char-major-116 snd
alias snd-card-0 snd-emu10k1
alias sound-slot-0 snd-card-0
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-midi
alias sound-service-0-12 snd-pcm-oss

and if you have to load the modules yourself do it in this order
soundcore
snd
snd-emu10k1
snd-mixer-oss
snd-seq-oss
snd-pcm-oss
snd-seq-midi
snd-mpu401-uart


also might as well make the game port work while you are doing
#
# Input I/O drivers
#
CONFIG_GAMEPORT=y
CONFIG_SOUND_GAMEPORT=y
CONFIG_GAMEPORT_EMU10K1=y
#
# Input Device Drivers
#
CONFIG_INPUT_JOYSTICK=y
# pick out a joystick driver
CONFIG_JOYSTICK_ANALOG=y

there is also a utilllity called awesfx you can get it off the net so alsa can load the midi fonts off
the sound blaster live install cd into the card for you at boot
 
Old 02-25-2005, 06:32 PM   #5
zahoo
Member
 
Registered: Nov 2004
Location: EU, HUNGARY, Budapest
Distribution: Debian SID
Posts: 40

Original Poster
Rep: Reputation: 15
Thanks a lot foo_bar_foo!!!! That was a really useful help what you wrote. I got it working!

Zahoo
 
  


Reply



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
ALSA Sound Blaster Live! (emu10k1) surround 5.1 Kronoss Linux - Hardware 4 01-17-2005 11:04 AM
SB 5.1 Live not working with emu10k1 alsa driver in 2.6 kernel taty Linux - Newbie 2 10-04-2004 01:20 PM
Why does my sb live (emu10k1) sound better with oss than alsa? haimeltjnfg Linux - Hardware 2 08-29-2004 02:19 AM
ALSA Surround for EMU10K1 smehi Slackware 2 03-04-2004 09:44 AM
ALSA Surround for EMU10K1 smehi Linux - Hardware 1 03-03-2004 08:55 PM

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

All times are GMT -5. The time now is 12:02 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