Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 11-27-2003, 11:05 AM   #1
Registered: Jul 2003
Distribution: Debian etch/lenny/sid, Fedora 7/Rawhide, CentOS 4/5, FreeBSD 6.2 and Solaris 10/Nevada
Posts: 110

Rep: Reputation: 16
Kernel 2.6.test11, alsa & sblive. Sound isn't working

Ok, I don't seem to be able to get my sound going, any ideas? SHould I have sound built into or as a mod, should I have alsa built into or a mod, should I have sblive built into or as a mod,???

# grep audio /proc/pci
Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 7).

On my volume control I get:

"Couldn't open mixer device /dev/sound/mixer"

As a normal user and root.

Anything I should add to /etc/modules.conf or another file.

Old 11-28-2003, 04:10 AM   #2
LQ Newbie
Registered: Sep 2003
Location: Rocky Mountains
Distribution: Slackware
Posts: 19

Rep: Reputation: 0

What is the output of 'lsmod' at the command line? Does it show any modules loaded? I'm using Linux 2.6-test11 with an SB Live! Value and I had to 'tweak' the init scripts a bit to get it to load the modules on boot up. Previously I had it working perfectly fine built into the kernel, but I wanted to reduce the size of my kernel. Here's what lsmod shows for me (sound related modules only):

snd_pcm_oss 48452 0
snd_mixer_oss 17024 3 snd_pcm_oss
snd_emu10k1 90436 2
snd_rawmidi 20736 1 snd_emu10k1
snd_pcm 86784 2 snd_pcm_oss,snd_emu10k1
snd_timer 21568 1 snd_pcm
snd_seq_device 6468 2 snd_emu10k1,snd_rawmidi
snd_ac97_codec 52420 1 snd_emu10k1
snd_page_alloc 9028 2 snd_emu10k1,snd_pcm
snd_util_mem 3264 1 snd_emu10k1
snd_hwdep 7488 1 snd_emu10k1
snd 42564 10 snd_pcm_oss,snd_mixer_oss,snd_emu10k1,snd_rawmidi,snd_pcm,snd_timer,snd_seq_device,snd_ac97_codec,sn d_util_mem,snd_hwdep
soundcore 7040 3 snd

If you built the ALSA modules properly, as root at the command line you should be able to type "modprobe snd-emu10k1" and have it load all of those modules except for the "oss" ones. For those, just type "modprobe snd-mixer-oss". You must have selected the proper choices when building a kernel for OSS compatibility (which I recommend) in order for the second modprobe command to execute properly.

You could just build it directly into your kernel (which will work fine too) if you don't mind the increased kernel size. That's the easiest thing to do. Otherwise you'll have to do a bit of mucking in either the /etc/rc.d/rc.modules or the /etc/rc.d/rc.alsa scripts. And I'm guessing you probably won't want to be doing that.

And if you're curious, my /etc/modules.conf looks like the one recommended by the ALSA webstite:
alias char-major-116 snd
alias char-major-14 soundcore

# ALSA portion
alias snd-card-0 snd-emu10k1

# OSS/Free portion
alias sound-slot-0 emu10k1

# OSS/Free portion - 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-oss
alias sound-service-0-12 snd-pcm-oss

But like I said, it's probably going to be easier for you to build the ALSA support directly into the kernel.

Last edited by azar92; 11-28-2003 at 04:15 AM.
Old 12-07-2003, 12:40 AM   #3
LQ Newbie
Registered: Dec 2003
Posts: 2

Rep: Reputation: 0
I have the sb live value and would greatly appreciate some info on what scripts you load and if you expierienced a problem with the /etc/modules.conf not loading the sound drivers. and even after OSSmods are loaded via modprobe it doesn't work.

Here are the modules I get to load (sound only) after modprobe of snd-emu10k1 & snd-pcm-oss.

snd_pcm_oss 52260 0
snd_mixer_oss 18816 1 snd_pcm_oss
snd_emu10k1 96068 0
snd_rawmidi 24416 1 snd_emu10k1
snd_pcm 97188 2 snd_pcm_oss,snd_emu10k1
snd_timer 24708 1 snd_pcm
snd_seq_device 8392 2 snd_emu10k1,snd_rawmidi
snd_ac97_codec 62020 1 snd_emu10k1
snd_page_alloc 11908 2 snd_emu10k1,snd_pcm
snd_util_mem 4480 1 snd_emu10k1
snd_hwdep 9440 1 snd_emu10k1
snd 53796 11 snd_pcm_oss,snd_mixer_oss,snd_emu10k1,snd_rawmidi,snd_pcm,snd_timer,snd_seq_device,snd_ac97_codec,sn d_util_mem,snd_hwdep
soundcore 7616 1 snd

To me they look the same as yours. what do you have for your init scripts? I have no rc.alsa or rc.modules it is a fedora core base.

Any help is greatly appreciated,
Michael C. Richman
Old 12-07-2003, 12:49 AM   #4
LQ Newbie
Registered: Dec 2003
Posts: 2

Rep: Reputation: 0
Sorry I didn't realize I was in a slackware forum. I got here from google.

any insight is still appreciatd! :-)
Michael C. Richman
Old 12-07-2003, 03:40 AM   #5
Registered: Sep 2003
Location: Estonia Tartu
Distribution: Debian, edition depends on what i run it, wheezy on main box.
Posts: 91

Rep: Reputation: 15
in slack 9,1 with kernel 2.6?
i have such machine and alsa and multithreaded sound.
question is ,that you not only need right conf for soundblaster ,but put em to modprobe.conf
2.6 behaves different and do not need modules.conf.both are still on /etc/
and if allready 2.6 ,compile soundcard driver directly to kernel.


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
ALSA drivers not working for my Creative Labs SBLIVE! 24Bit card... Please Help!!! TheCowboy Linux - Hardware 2 03-04-2005 02:25 AM
How I got sound working. sblive, alsa, boston acoustic digital speakers zefor Member Success Stories 2 11-05-2004 01:58 AM
Slack10 + ALSA + SBLive + 2.4.x Kernel = Help the_woelf Slackware 10 07-09-2004 02:36 PM
SBLive 5.1 In Gentoo - tried to setup ALSA now KDE Sound doesn't even work kierl Linux - Hardware 13 04-21-2004 03:36 AM
Sound not working with Kernel 2.6, ALSA, FC1, C-media 8738 crdiscoverer Linux - Hardware 5 03-01-2004 02:13 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:22 AM.

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