LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-18-2005, 01:19 PM   #1
coolj478
LQ Newbie
 
Registered: Oct 2003
Distribution: Slackware 10
Posts: 11

Rep: Reputation: 0
Sound Blaster Live 5.1 (emu10k1) on Slackware 10


I Just installed Slackware 10 on my desktop and a couple of days later I swapped out my soundcard (which was just awful) for my buddy's old Sound Blaster Live 5.1 with the creative emu10k1 chipset. Except I've had no luck getting this thing to play any sounds. I'm using Slackware 10, kde 3.3, and kernel 2.4.26.

The output of lsmod is:

Module Size Used by Not tainted
soundcore 3396 0 (autoclean)
keybdev 2052 0 (unused)
mousedev 4212 1
hid 21220 0 (unused)
usbmouse 2040 0 (unused)
input 3200 0 [keybdev mousedev hid usbmouse]
emu10k1-gp 1352 0 (unused)
gameport 1420 0 [emu10k1-gp]
8139too 14376 1
mii 2272 0 [8139too]
crc32 2880 0 [8139too]
parport_pc 14788 0
parport 23336 0 [parport_pc]
uhci 24444 0 (unused)
usbcore 59308 1 [hid usbmouse uhci]
pcmcia_core 39972 0
ntfs 51424 1 (autoclean)
ide-scsi 9328 0
agpgart 43940 0 (unused)

and the output of lspci is:

00:00.0 Host bridge: Advanced Micro Devices [AMD] AMD-760 [IGD4-1P] System Controller (rev 12)
00:01.0 PCI bridge: Advanced Micro Devices [AMD] AMD-760 [IGD4-1P] AGP Bridge
00:07.0 Class ffff: Creative Labs SB Live! EMU10k1 (rev ff)
00:07.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 07)
00:09.0 Ethernet controller: Accton Technology Corporation SMC2-1211TX (rev 10)
00:0a.0 Modem: PCTel Inc HSP MicroModem 56 (rev 02)
00:14.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 40)
00:14.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C/VT8235PIPC Bus Master IDE (rev 06)
00:14.2 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 16)
00:14.3 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 16)
00:14.4 Bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 40)
01:05.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev a1)

I've tried reading other threads and doing some research online but I really can't seem to figure anything out. When I go to the kde info center I get some interesting info that might be useful. For some reason under sound it says "No information available about Soundcard." and under pci i noticed these two things:

00:07.0 Class ffff: Creative Labs SB Live! EMU10k1 (rev ff) (prog-if ff)
!!! Unknown header type 7f

and

00:07.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 07)
Subsystem: Creative Labs Gameport Joystick
Flag: bus master, medium devsel, latency 32, IRQ 5
I/O ports at 1420 [disabled] [size=8]
Capabilities: <available only to root>

In /etc/rc.d/rc.modules I've already uncommented the line "/sbin/modprobe emu10k1".


Thanks for any insight you might have to this problem, it'd be a huge help and really appreciated.

Joe
 
Old 01-18-2005, 01:23 PM   #2
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,337

Rep: Reputation: 73
Did you try alsaconf as root ?
 
Old 01-18-2005, 01:27 PM   #3
coolj478
LQ Newbie
 
Registered: Oct 2003
Distribution: Slackware 10
Posts: 11

Original Poster
Rep: Reputation: 0
yup and it says that there is no supported pnp or pci card found....
 
Old 01-18-2005, 03:08 PM   #4
coolj478
LQ Newbie
 
Registered: Oct 2003
Distribution: Slackware 10
Posts: 11

Original Poster
Rep: Reputation: 0
Ok, i've done some more messing around with it and here's what i've got going on now.

The output of lsmod is now:

Module Size Used by Not tainted
snd-seq-oss 26560 0 (unused)
snd-seq-midi-event 3264 0 [snd-seq-oss]
snd-seq 33264 2 [snd-seq-oss snd-seq-midi-event]
snd-seq-device 4020 0 [snd-seq-oss snd-seq]
snd-pcm-oss 37216 0 (unused)
snd-pcm 54856 0 [snd-pcm-oss]
snd-timer 13636 0 [snd-seq snd-pcm]
snd-mixer-oss 12440 0 [snd-pcm-oss]
snd 31908 0 [snd-seq-oss snd-seq-midi-event snd-seq snd-seq-devicesnd-pcm-oss snd-pcm snd-timer snd-mixer-oss]
snd-page-alloc 5064 0 [snd-seq-oss snd-seq snd-seq-device snd-pcm snd-timer snd-mixer-oss snd]
soundcore 3396 2 (autoclean) [snd]
keybdev 2052 0 (unused)
mousedev 4212 1
hid 21220 0 (unused)
usbmouse 2040 0 (unused)
input 3200 0 [keybdev mousedev hid usbmouse]
emu10k1-gp 1352 0 (unused)
gameport 1420 0 [emu10k1-gp]
8139too 14376 1
mii 2272 0 [8139too]
crc32 2880 0 [8139too]
parport_pc 14788 0
parport 23336 0 [parport_pc]
uhci 24444 0 (unused)
usbcore 59308 1 [hid usbmouse uhci]
pcmcia_core 39972 0
ntfs 51424 1 (autoclean)
ide-scsi 9328 0
ac97_codec 9364 0
agpgart 43940 0 (unused)


and now when i click on sound in the info center it says that i have the alsa drivers installed but audio, synth, and midi devices are all not enabled in config and under "Card Config" it says "no soundcards"

not really sure where to go from here, any suggestions?

thanks,
Joe
 
Old 01-18-2005, 03:23 PM   #5
coolj478
LQ Newbie
 
Registered: Oct 2003
Distribution: Slackware 10
Posts: 11

Original Poster
Rep: Reputation: 0
# modprobe emu10k1
/lib/modules/2.4.26/kernel/drivers/sound/emu10k1/emu10k1.o: init_module: No such device
/lib/modules/2.4.26/kernel/drivers/sound/emu10k1/emu10k1.o: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.26/kernel/drivers/sound/emu10k1/emu10k1.o: insmod /lib/modules/2.4.26/kernel/drivers/sound/emu10k1/emu10k1.o failed
/lib/modules/2.4.26/kernel/drivers/sound/emu10k1/emu10k1.o.gz: unresolved symbol ac97_alloc_codec
/lib/modules/2.4.26/kernel/drivers/sound/emu10k1/emu10k1.o.gz: unresolved symbol ac97_release_codec
/lib/modules/2.4.26/kernel/drivers/sound/emu10k1/emu10k1.o.gz: insmod /lib/modules/2.4.26/kernel/drivers/sound/emu10k1/emu10k1.o.gz failed
/lib/modules/2.4.26/kernel/drivers/sound/emu10k1/emu10k1.o.gz: insmod emu10k1 failed


dunno if that's gonna be any help but i thought it was pretty interesting....not really sure what is going on anymore, any help would be great

Joe
 
Old 01-18-2005, 06:58 PM   #6
buaku
Member
 
Registered: Sep 2004
Distribution: Slackware 10.2 (2.4.31)
Posts: 111

Rep: Reputation: 15
You could try rebulding alsa from scratch, not sure if that would help. I find its usually helpful to start from scratch to see if problems still creep up.

Have you tried looking around the alsa site for some tips....
http://www.alsa-project.org/alsa-doc...module=emu10k1
Maybe you need to fiddle with the modules.conf

I've seen the same kinda error with the modprobe before in the forums here. I just don't remmebr the problem or the solution :\
 
Old 01-18-2005, 10:09 PM   #7
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Rep: Reputation: 46
Just some useful info, I have that exact card and it does work, I have same problem with new kernel, I am going to stick with the old kernel (2.4.26) on the other system so I can have sound.
 
Old 01-18-2005, 10:29 PM   #8
cythrawll
Member
 
Registered: Nov 2004
Location: IL, USA
Distribution: Slackware 10
Posts: 167

Rep: Reputation: 31
here is how to rebuild the modules for your kernel, if alsaconf says no card found.

1. go to alsa souncard matrix and find your card:
http://www.alsa-project.org/alsa-doc/

2.dl the version of alsa-driver from the alsa-project site, same version of whatever you have installed currently (check the version of the packages in pkgtool if you have too)

3. compile the drivers according to the website , run alsaconf, then alsamixer, and wala!!

for example************************************************************
lspci tells me:
Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)

I find out from kpackage or pkgtool that i currently have alsa-1.0.7 installed (just done a swaret)

so i go to ftp://ftp.alsa-project.org/pub/driver/
and dl alsa-driver-1.0.7.tar.bz2

then i look up my card in the alsa matrix (link above) I find CMedia in the dropdown list. It takes me to a table with my chipset CMI8738. then i see in that table it uses the cmipci module http://www.alsa-project.org/alsa-doc...C-Media#matrix
i click on the cmipci module and it takes me to here:

http://www.alsa-project.org/alsa-doc...&module=cmipci

then i follow the instructions as per the page:

Code:
cd <to directory where i dl the alsa-driverpackage>
bunzip2 alsa-driver-xxx
        tar -xf alsa-driver-xxx
        cd alsa-driver-xxx
        ./configure --with-cards=cmipci --with-sequencer=yes;make;make install
I run:
alsaconf
and:
alsamixer

make sure i do a
alsactl store
so it will keep my alsamixer settings

that is all there is to it, this should work for new compiled kernels too. Try it!!

Last edited by cythrawll; 01-18-2005 at 10:30 PM.
 
Old 01-19-2005, 01:08 AM   #9
coolj478
LQ Newbie
 
Registered: Oct 2003
Distribution: Slackware 10
Posts: 11

Original Poster
Rep: Reputation: 0
Well I gave that a shot to get things started off and just gave it another shot, still no dice. I've dumped an old sound card into the box, it's a creative labs card and runs a ES1373 chipset.

I've done some reading online and found that it is supported by the same driver as the chipset ES1371. So i went through the steps for that chipset found on the alsa project page and then alsaconf does recognize the card but when it tries to load the driver this happens "/usr/sbin/alsaconf: line 656: rcalsasound: command not found". Another problem, when i run alsamixer (as root), i get this message: "alsamixer: function snd_ctl_open failed for default: No such device". So then I tried to modprobe what was suggested on the alsa page for this particular driver, which is " modprobe snd-ens1371; modprobe snd-pcm-oss; modprobe snd-mixer-oss; modprobe snd-seq-oss". When I do that I get this error:

/lib/modules/2.4.26/kernel/sound/pci/snd-ens1371.o: init_module: No such device
/lib/modules/2.4.26/kernel/sound/pci/snd-ens1371.o: Hint: insmod errors can be caused byincorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.26/kernel/sound/pci/snd-ens1371.o: insmod /lib/modules/2.4.26/kernel/sound/pci/snd-ens1371.o failed
/lib/modules/2.4.26/kernel/sound/pci/snd-ens1371.o: insmod snd-ens1371 failed


In kde's info center, when I click on sound it claims that the alsa drivers are loaded but there is no sound card configured, which is rather interesting since my sounds do work for gaim (but they don't work for kde). Even though it works for gaim, I mean works rather loosely since every third or fourth sound that should be played isn't and the sound either takes a while or isn't good quality.

Here's the output of lsmod:

Module Size Used by Not tainted
snd-seq-oss 26592 0 (unused)
snd-seq-midi-event 3264 0 [snd-seq-oss]
snd-seq 33264 2 (autoclean) [snd-seq-oss snd-seq-midi-event]
snd-seq-device 4020 0 (autoclean) [snd-seq-oss snd-seq]
snd-pcm-oss 37216 0 (unused)
snd-pcm 54856 0 [snd-pcm-oss]
snd-timer 13636 0 [snd-seq snd-pcm]
snd-mixer-oss 12440 0 [snd-pcm-oss]
snd 31908 0 (autoclean) [snd-seq-oss snd-seq-midi-event snd-seq snd-seq-device snd-pcm-oss snd-pcm snd-timer snd-mixer-oss]
snd-page-alloc 5064 0 (autoclean) [snd-seq-oss snd-seq snd-seq-device snd-pcm snd-timer snd-mixer-oss snd]
keybdev 2052 0 (unused)
mousedev 4212 1
hid 21220 0 (unused)
usbmouse 2040 0 (unused)
input 3200 0 [keybdev mousedev hid usbmouse]
8139too 14376 1
mii 2272 0 [8139too]
crc32 2880 0 [8139too]
parport_pc 14788 0
parport 23336 0 [parport_pc]
uhci 24444 0 (unused)
usbcore 59308 1 [hid usbmouse uhci]
pcmcia_core 39940 0
ntfs 51424 1 (autoclean)
ide-scsi 9328 0
es1371 25292 1
gameport 1404 0 [es1371]
ac97_codec 12084 0 [es1371]
soundcore 3396 6 [snd es1371]
agpgart 43940 0 (unused)


and lspci:

00:07.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 09)
...among other things that are irrelevant.

I'm not sure what other information would be of any use. I guess i've gotten a little further with the es1373 chipset so i'll stick with this one. Any suggestions of where to go from here or what i'm doing wrong?

thanks
Joe
 
Old 01-19-2005, 01:42 AM   #10
cythrawll
Member
 
Registered: Nov 2004
Location: IL, USA
Distribution: Slackware 10
Posts: 167

Rep: Reputation: 31
well the modules are there, they just can't load... Maybe you should look in your /var/log/syslog and see if you can find anymore insight to why the module failed to load. It is prolly (looking at your lsmod) that another module, the wrong module is hogging up where the new module wants to be. If you can figure out which module that's in the way. you can do a rmmod <module name> to remove the module and try modprobe again (note only for 2.4.x) but the safest way is to reboot after you do the alsaconf.

don't worry about alsamixer, you won't get that to work right unless you successfully load the modules.

I been in the same place you are a few times, and I have got it working great with some tweaking. basically you have to bite your tongue and hold your head juuuuuust riiight.....

Last edited by cythrawll; 01-19-2005 at 01:50 AM.
 
Old 01-19-2005, 02:26 AM   #11
MBH
Member
 
Registered: Sep 2003
Location: Kuwait
Distribution: Slack 10.0 @ Kernel 2.4.27
Posts: 63

Rep: Reputation: 15
Hi!

I use a creative sound blaster card emu10k1 and it's working fine under Slack 10/current. I saw the alsaconf command and I tried it, well it didn't work! it said I had no devices where my sound card is fine (and listening to techno @ the same time ). So I suggest you go for OSS (Open Sound System, I guess).

In an earlier post of yours ::

# modprobe emu10k1
/lib/modules/2.4.26/kernel/drivers/sound/emu10k1/emu10k1.o: init_module: No such device

That means, the kernel drivers aren't compiled, that's all!

All you gotta do is this ::

# Fire your favorite shell
cd /usr/src/linux
make xconfig (or menuconfig)
# Go to the 'Sound' tab and make sure to select the following ::
# [y] Sound card support (DUH!)
# [M] Creative SBLive! (EMU10k1) -- you can set it to [Y] to be included in the kernel or [M] to load/unload it -- selecting [M] will save you time recompiling the whole kernel
# Save your settings and exit back to the shell
# Now to the usual old skool work -- compiling
make dep
make modules
make modules_install

# Done! no go /etc/rc.d and edit (pico) rc.modules to load the driver for you @ startup

I hope that works
 
Old 01-19-2005, 03:14 AM   #12
coolj478
LQ Newbie
 
Registered: Oct 2003
Distribution: Slackware 10
Posts: 11

Original Poster
Rep: Reputation: 0
Well I've managed to make some progress with the es1373 chipset card. Thanks for all your help so far guys.

cythrawll, you were right about another module hogging up a needed one. I stopped the es1371 module from loading and ran alsaconf again and then rebooted. After that alsamixer even started working. Now, when I go to the info center and click on sound it lists my sound card, only wierd thing is that it says that sync devices are not enabled in the config......don't know if that matters. I no longer get an error message when kde starts and the sounds i get from gaim seem to be a little more timely and crisp. Still, though, when I go to the sound and multimedia menu and then to sound system, neither test sound nor test midi make any noise. And if I test out random kde sounds they don't work either.

here's my output of lsmod:

Module Size Used by Not tainted
snd-seq-midi 3488 0 (autoclean) (unused)
snd-seq-midi-event 3264 0 (autoclean) [snd-seq-midi]
snd-seq 33296 0 (autoclean) [snd-seq-midi snd-seq-midi-event]
snd-pcm-oss 37568 0 (unused)
snd-mixer-oss 12568 0 [snd-pcm-oss]
keybdev 2052 0 (unused)
mousedev 4212 1
hid 21220 0 (unused)
usbmouse 2040 0 (unused)
input 3200 0 [keybdev mousedev hid usbmouse]
snd-ens1371 11360 1
gameport 1404 0 [snd-ens1371]
snd-rawmidi 12800 0 [snd-seq-midi snd-ens1371]
snd-seq-device 4020 0 [snd-seq-midi snd-seq snd-rawmidi]
snd-ac97-codec 52128 0 [snd-ens1371]
snd-pcm 55528 0 [snd-pcm-oss snd-ens1371 snd-ac97-codec]
snd-timer 13636 0 [snd-seq snd-pcm]
snd 31492 1 [snd-seq-midi snd-seq-midi-event snd-seq snd-pcm-oss snd-mixer-oss snd-ens1371 snd-rawmidi snd-seq-device snd-ac97-codec snd-pcm snd-timer]
snd-page-alloc 5064 0 [snd-seq-midi snd-seq snd-mixer-oss snd-rawmidi snd-seq-device snd-pcm snd-timer snd]
soundcore 3396 6 [snd]
8139too 14376 1
mii 2272 0 [8139too]
crc32 2880 0 [8139too]
parport_pc 14788 0
parport 23336 0 [parport_pc]
uhci 24444 0 (unused)
usbcore 59308 1 [hid usbmouse uhci]
pcmcia_core 39940 0
ntfs 51424 1 (autoclean)
ide-scsi 9328 0
agpgart 43940 0 (unused)

and here's lspci -v

00:07.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 09)
Subsystem: Ensoniq Creative Sound Blaster AudioPCI64V, AudioPCI128
Flags: bus master, slow devsel, latency 32, IRQ 10
I/O ports at 1400 [size=64]
Capabilities: [dc] Power Management version 2

What i guess i'm asking is why aren't any of kde's sounds playing? It's almost like kde isn't using alsa for some reason, I followed instructions on the gaim website to get gaim to use alsa and that sound works fine now, hence my thinking that kde isn't using alsa.......but i'm really not sure.

Thanks

Joe
 
Old 01-19-2005, 08:14 AM   #13
cythrawll
Member
 
Registered: Nov 2004
Location: IL, USA
Distribution: Slackware 10
Posts: 167

Rep: Reputation: 31
KDE uses a sound server called arts. It is crap i recommend disabling it, It will hog all resources for your card and cause alot of problems.(go to sound system in kde control panel, and unclick the enable sound system box, then to make sure it quit, do a killall -9 artsd) for kde system sounds, in the control panel, you have the choice of using a multimedia player instead of arts (found in player settings in the system notification menu). if your using kde 3.3.1 the system sounds are in .ogg format. so use /usr/bin/ogg123 as your multimedia player. kde doesn't need arts, it will just use alsa

Last edited by cythrawll; 01-19-2005 at 08:19 AM.
 
Old 01-19-2005, 10:28 AM   #14
coolj478
LQ Newbie
 
Registered: Oct 2003
Distribution: Slackware 10
Posts: 11

Original Poster
Rep: Reputation: 0
perfect, works like a charm, man, i really can't thank you enough, i'd of been fiddling around with this for a lot longer had you not helped me out. thanks man


Joe
 
Old 01-19-2005, 11:39 AM   #15
Astro
Member
 
Registered: Jan 2003
Location: Ballston Lake, NY
Distribution: Slackware, Debian
Posts: 660

Rep: Reputation: 30
aaah yes....this card. I just got rid of mine, couldnt stand it any longer.... the pain in the ass of getting it to work was too much, that and it was in horrible conflict with the rest of my hardware, no matter where i put it PCI wise. I opted for my integrated 5.1 which I've had absolutely no problems with. Dont get me wrong, its a good card, not for my applications 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
Sound Blaster remote, emu10k1, fedora 4 gonnafail Linux - Hardware 0 09-28-2005 07:03 PM
Sound Blaster Live (CT4830) or Sound Blaster Live 24 bit un shiza Linux - Hardware 0 08-29-2005 04:57 PM
ALSA Sound Blaster Live! (emu10k1) surround 5.1 Kronoss Linux - Hardware 4 01-17-2005 11:04 AM
slackware 10 sound blaster live problem finance_geek Slackware 13 01-03-2005 10:39 AM
Sound Blaster Live Slackware 9.1 Glock Shooter Slackware 2 11-12-2003 05:27 PM


All times are GMT -5. The time now is 12:52 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration