Click to See Complete Forum and Search --> : Sound in Slackware


HarryGoiter
03-20-2001, 03:22 PM
Decided to take on the challenge of installing Slackware...turned out to be not too bad; I'm in it right now anyways. But the problem with upgrading from Mandrake, is that before, I had everything done for me. Which is why I upgraded, so I could learn how to do all this. So now I have a newbie question...

How do I load my soundblaster16 card and get it working?

With MDrake there came with it all sorts of configuration tools, but I'd like to (and now NEED to) know how to configure the sound card without those. Thanks a mil

RTFM
03-20-2001, 03:42 PM
cd /etc/rc.d/

Next, edit the file "rc.modules"
Look for a line that mentions the soundblaster... it should be pretty obvious. Just read a way through it and remove the right asterisk ( ---- # ---- ) before the line that has the sound blaster info.

Reboot, and voila.

Don't forget to do this as root, and then, AS ROOT, try to play something. If that works, do this:

chmod 770 /dev/audio

I'm not sure if it audio or something else, maybe somebody else will clarify. Its something like /dev/audio , /dev/dsp or /dev/snd or maybe even /dev/snd0

HarryGoiter
03-20-2001, 04:48 PM
Thanks for the help...had to change the irq for the SB16 cause the nic card was using its default. But now when I try to play sound (mp3, wav, etc) it skips. Alot. Any ideas? Thanks
Here's the line from my rc.modules file:
===============
/sbin/modprobe sb io=0x220 irq=7 dma16=5 mpu_io=0x300

[ 20 March 2001: Message edited by: HarryGoiter ]

Bernd
03-20-2001, 05:15 PM
I would compile a new kernel with soundblaster support in it (the soundblaster driver not as module).
Or if it fails I would use the ALSA drivers http://www.alsa-project.org

Of course, at first you could look up if drivers you need are loaded (lsmod). Then try to insmod them manually and see waht happens.

Bernd

WCox
03-20-2001, 08:32 PM
Try changing the mpu_io=0x300 to mpu_io=0x330. Hope this helps.

:cool: Slackware :cool:
:) Debian (as a back-up) :)

freaker
03-20-2001, 08:36 PM
Originally posted by WCox:
Try changing the [b]mpu_io=0x300 to mpu_io=0x330.

Just curious as to what that does?

freaker :cool:

[ 20 March 2001: Message edited by: freaker ]

WCox
03-20-2001, 08:42 PM
I honestly don't know. I once had a Soundblaster 16 card and I had to change 300 to 330 to get it to work. Wished I did know, maybe someone would pay me to know things like that. :D I have since gotten a better soundcard that is easier to set up in Linux. A cheap Ensoniq pci card. :)

:cool: Slackware :cool:
:) Debian (as a back-up) :)

WCox
03-20-2001, 08:44 PM
I just remembered; that was the setting that was in Windblows. :rolleyes:

:cool: Slackware :cool:
:) Debian (as a back-up) :)

HarryGoiter
03-20-2001, 10:28 PM
Well, changing to 330 didn't help. I'm not sure but I think the mpu setting is for the gameport/midi deal on the soundcard. Anyways, I think compiling a kernel is a little beyond me right now. Unless its really really superEZ. Anyother ideas, or hints on how to go about compiling the kernel?
Thanks

WCox
03-20-2001, 10:35 PM
Are you dual booting Linux and Windows? If so, go into settings/control panel/system and click on your soundcard to see what the settings are. You may have to change the dma settings in Linux to match Windblows. :eek:

Hope this helps.

:cool: Slackware :cool:
:) Debian (as a back-up, and yes rod I'm still liking it) ;) :)