I didn't want to have to ask, but I find myself with no other real choices. I've read the pnp manpages (those are, isapnp.conf(5), pnpdump(8) and isapnp(8)), the sound-HOWTO, and recompiled my kernel twice in an effort to make my SB16 IsaPnP card work. The most recent time, I had actually gotten the impression that it worked (snippet from dmesg below):
isapnp: Scannign for Pnp cards...
isapnp: Calling quirk for 01:00
ISAPnP: SB audio device quirk - increasing port range
isapnp: Card 'Creative SB16 PnP'
isapnp: 1 Plug & Play card detected total
But then, a little bit below, I also have:
Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
sb: No ISAPnP cards found, trying standard ones...
and that's the end of sound messages from dmesg.
I installed sound support directly into the kernel, with OSS modules and the Soundblaster (and 100% compatibles) also built in. I ran pnpdump and poked about the output to find out that my card operates at io 0x220, irq 5, dma 1 and/or 3. I ran LILO with parameters to accomodate this:
LILO boot: linux sb=0x220,5,1,3
If I've screwed this up somehow, please somebody let me know?
Anyway, onward from that, I attempted to play a simple mp3 file, since mpg123 and all the necessary sound device files are present in my /dev directory (such as dsp, audio, mixer, et al). Unfortunately, I get the error "/dev/dsp: No such device."
No big problem, I'm thinking. I try to cat $FILENAME > /dev/dsp, and to /dev/audio, and in each and every case: "/dev/$DEVICE: No such device"
Now I'm really at a loss as to what I'm doing wrong here, and i KNOW that there are some slackware users who are using sound. So if this means you, please share your thoughts? Thank you. http://www.linuxnewbie.org/ubb/smile.gif
------------------
grab my gnupg key (http://jove.prohosting.com/~msibn/sibn-p.asc) if you feel so inclined.
do the world a favor: give an employee something to smile about.
SlCKB0Y
10-17-2000, 04:09 AM
Umm..it kinda sounds like your isa card is being detected, but that the driver(s) you are trying to load might not be the ones for your card?
Secondly, this may sound weird, but if you have compiled it in as a kernel module, try compiling it into the kernel or vice versa. I had a card that just one day decided to stop working as a module.
mastersibn
10-17-2000, 01:53 PM
No, it's definitely an IsaPnP Creative Soundblaster; I know because that's why I bought it. And it did work with redhat, so I don't believe it's broken.
Yes, i've tried compiling it both as a module and directly into the kernel. Neither one works; I'd forgotten to mention that when I use the module approach, I insert the modules with the same params, but when it comes time to `insmod sb`, (no matter the params) I always get an "init_module": No such device error.
Any ideas?
------------------
grab my gnupg key (http://jove.prohosting.com/~msibn/sibn-p.asc) if you feel so inclined.
do the world a favor: give an employee something to smile about.
mangeli
10-17-2000, 01:56 PM
Are you root when you are trying to play the mp3? if not, try it as root. If it works, then chmod 777 /dev/dsp
Otherwise just make sure that the sb16 a line in the rc.modules file is uncommented.
That should do it (it did for me.)
------------------
http://www.tinyminds.f2s.com
mastersibn
10-17-2000, 05:06 PM
Originally posted by mangeli:
Are you root when you are trying to play the mp3? if not, try it as root. If it works, then chmod 777 /dev/dsp
Otherwise just make sure that the sb16 a line in the rc.modules file is uncommented.
That should do it (it did for me.)
Yes, the whole time I've been trying to get sound working, it's been as root. http://www.linuxnewbie.org/ubb/tongue.gif I did chmod /dev/dsp 777, just for good measure, but it had no effect. When I looked in rc.modules, i noticed that it would insert the module with the parameters for i/o at 0x220, irq at 5, dma at 3, dma16 at 5, and mpu_io (whatever the hell that is) at 0x300.
I tried running the kernel with these parameters to accomodate it, (linux sb=0x220,5,3,5,0x300) but that didn't help one iota. I guess I'm going to recompile it again, with sound as modules again... This is getting kindof old for me. http://www.linuxnewbie.org/ubb/confused.gif
Any other ideas? Oh, yeah, could somebody `ls -l /dev/dsp*` and send me the entire output of that operation? I've done some fiddling with my /dev/dsp0, and I *think* it's char major 14, minor 3. It could possibly help me *very* much if I knew the exact settings required for all the dsp files? Thanks...
------------------
grab my gnupg key (http://jove.prohosting.com/~msibn/sibn-p.asc) if you feel so inclined.
do the world a favor: give an employee something to smile about.
mastersibn
10-17-2000, 06:36 PM
Ok, I'm not getting this. Nothing I have done has worked, and there is nothing wrong with what I've done. When I insert the module sb, I get an error printed to sdterr reading "/lib/modules/2.4.0-test9/sound/sb.o: init_module: No such device" and this is appended to /var/log/messages:
Oct 17 15:24:37 slack kernel: Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
Oct 17 15:24:37 slack kernel: sb: No ISAPnP cards found, trying standard ones...
Oct 17 15:24:37 slack kernel: sb: dsp reset failed.
I know it's not because I'm using a 2.4 test kernel, because like I said, it worked with redhat (for four different test versions, including this one). I've symlinked /lib/modules/2.4.0-test9/kernel/drivers/sound to /lib/modules/2.4.0-test9/sound to ease compatibility when I jump between kernel versions. (I no longer need special entries in /etc/modules.conf now), so I can access the sound modules in that directory.
I insert the sb module with the params io=0x220 irq=5 dma=3 dma16=5 mpu_io=0x300 (exactly as they appear in /etc/rc.d/rc.modules). When I insert all the necessary modules, everything looks fine until I insert sb.o. Then the above error message appears, and the text is added to /var/log/messages. I've checked (as per documentation in <kernel source>/Documentation/sound/Introduction) /proc/ioports, /proc/interrupts, /proc/dma, and /proc/isapnp. When I look at isapnp, I get informatino for my soundcard at the top:
can anybody PLEASE make any sense of this? I'm getting more than a little desperate here!!
------------------
grab my gnupg key (http://jove.prohosting.com/~msibn/sibn-p.asc) if you feel so inclined.
do the world a favor: give an employee something to smile about.
WCox
10-17-2000, 07:59 PM
In your /etc/rc.d/rc.modules file; add this line to the sound support section: /sbin/modprobe sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330 . Notice that dma=3 is changed to 1 and mpu_io=0x300 is changed to 0x330. Just put a # in front of the original line so you can uncomment it if these settings don't work.
Hope this helps.
------------------
Hello from Kansas: Using Linux since May 1999
mastersibn
10-17-2000, 08:35 PM
Originally posted by WCox:
In your /etc/rc.d/rc.modules file; add this line to the sound support section: /sbin/modprobe sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330 . Notice that dma=3 is changed to 1 and mpu_io=0x300 is changed to 0x330. Just put a # in front of the original line so you can uncomment it if these settings don't work.
Hope this helps.
Thank you for your help, but I still get no sound, and an error message: "/lib/modules/2.4.0-test9/sound/sb.o: init_module: No such device."
I looked up init_module(2) in the manpages, and got nothing very helpful or descriptive. perhaps somebody else could give me a hand with this? You know, I'm starting to wish that when it was announced that linux 2.4 would support IsaPnP, that it would be true; of course, it's not (and yes, I compile it into my kernel every time; i'm about to stop). We still have this configuration rigmarole, ring around the rosy, and jump through the hoop-stab-in-the-dark-snowball's-shot-in-hell-one-in-a-million-guess configuring to do. Don't try to tell me THAT is PnP. http://www.linuxnewbie.org/ubb/mad.gif
Oh, well. Anybody else have any ideas? I really do appreciate the help, because I'm fresh out of ideas... http://www.linuxnewbie.org/ubb/frown.gif
------------------
grab my gnupg key (http://jove.prohosting.com/~msibn/sibn-p.asc) if you feel so inclined.
do the world a favor: give an employee something to smile about.
mastersibn
10-17-2000, 09:07 PM
Ok, this is really fscked up now.
I tried the default slack kernel (glad I didn't throw it away! http://www.linuxnewbie.org/ubb/smile.gif) and let rc.modules load the sb module with its own parameters. It worked beautifully. Absolutely beautifully. No complaints, no errors, it just worked.
NOW, the problem with running a 2.2 kernel is that I don't have support for my USB gamepad. SO, my options are to kill USB support, or kill sound.
Of course, it's possible that this is because I'm running 2.4.0-test9 now, (especially since it works with no problems when I'm using 2.2.16). I use the same module parameters with 2.4 as I do with 2.2. I think I can safely conclude that the test9 series of 2.4 is broken this way, so I'll try to revert to one i've -never- had any problems with: 2.4.0-test6.
Thing is, if I can't upgrade my kernel to 2.4 when it comes out, what good is it being able to upgrade at all? I have to be able to get sound with 2.4 now, because if I don't, then I won't later on. http://www.linuxnewbie.org/ubb/frown.gif
I appreciate everybody's help, but I'm done asking questions for now. I've got a few fresh ideas. Thank you, all. http://www.linuxnewbie.org/ubb/smile.gif
Edit: Removed some simply stupid technical errors. Will compile a 2.2 kernel just for my machine, and just run that from now on, hoping that the current sound issues are related to the testN version numbers... http://www.linuxnewbie.org/ubb/frown.gif I really would like to not have this problem when I upgrade to 2.4 final.
------------------
grab my gnupg key (http://jove.prohosting.com/~msibn/sibn-p.asc) if you feel so inclined.
do the world a favor: give an employee something to smile about.
[This message has been edited by mastersibn (edited 18 October 2000).]
SlCKB0Y
10-19-2000, 05:55 AM
Umm about the gamepad thing. I had a USB mouse, and i simply got one of those little USB -> ps/2 adapters, and it worked fine still. Umm, maybe you could do the same?
Or alternatively, maybe think about buying pci sound card. They are very cheap these days. Possibly if the 2.2 kernels work with it, might it not be something you are doing or not doing that the sound card is not liking?
mastersibn
10-19-2000, 04:09 PM
I would try it, but I don't have any free PS/2 ports. I could conceivably get a USB->Game converter, but it's not all that important. I've waited this long for USB, I can wait a couple more months.
I'm definitely going to buy a PCI soundcard, but not in the near future; I have a crappy motherboard with only two pci slots and one isa- the problem with this is that my first pci slot has my graphics adapter in it, the second one has my modem in it (yeah, i'd rather have external- but I don't have anywhere to plug it in and this one cost me $89, so I'm not planning to throw it away anytime soon) and my ISA card has, yes, the sound card of infinite troubles.
I do have plans to upgrade my mobo, but I need to get a job first... http://www.linuxnewbie.org/ubb/frown.gif http://www.linuxnewbie.org/ubb/mad.gif
And I use the exact same parameters and commands to insert the sound modules; the difference is when I insert them with 2.4, I get an "init_module: Device not found" error. Ah, well. It's not forever.
------------------
grab my gnupg key (http://jove.prohosting.com/~msibn/sibn-p.asc) if you feel so inclined.
do the world a favor: give an employee something to smile about.
justlinux.com
Copyright Internet.com Inc. All Rights Reserved.