sound blaster 16 config
Hi:
I am running 2.2.5-22 from RH 6.0 with a sound blaster 16 card with base_addr=0x220, IRQ=5, 8-bit DMA=1 and 16-bit DMA=5 (uncommenting a few lines in the pnpdump output. After running isapnp on this config file, the sound-modules appeared loaded after rebooting.
# lsmod Module Size Used by sound 58392 0 (autoclean) (unused) soundlow 300 0 (autoclean) [sound] soundcore 2404 3 (autoclean) [sound] autofs 9188 1 (autoclean) nfs 30072 14 (autoclean) nfsd 151576 8 (autoclean) lockd 31208 1 (autoclean) [nfs nfsd] sunrpc 52420 1 (autoclean) [nfs nfsd lockd] via-rhine 9024 1 (autoclean) nls_iso8859-1 2020 1 (autoclean) nls_cp437 3548 1 (autoclean) vfat 11420 1 (autoclean) fat 25344 1 (autoclean) [vfat]
# cat /proc/devices Character devices: 1 mem 2 pty 3 ttyp 4 ttyS 5 cua 7 vcs 10 misc 14 sound 21 sg 29 fb 36 netlink 128 ptm 136 pts
Block devices:
1 ramdisk
2 fd
3 ide0
8 sd
9 md
11 sr
22 ide1
But:
#cat /dev/sndstat
OSS/Free:3.8s2++-971130
Load type: Driver loaded as a module
Kernel: Linux lion 2.2.5-22 #3 Thu Jan 13 17:50:55 EST 2000 i686
Config options: 0
Installed drivers:
Card config:
Audio devices:
Synth devices:
Midi devices:
Timers:
0: System clock
Mixers:
I could not play music to it and was wondering about some info on sound config with 2.2.x (sound + soundcore + soundlow)? Am i running something new on an rather old hardware?
more info:
# isapnp /etc/isapnp.conf Board 1 has Identity e5 ff ff ff ff 70 00 8c 0e: CTL0070 Serial No -1 [checksum e5]
could someone give me any hint?
Thanks a lot.
[quoted lines by Yao Wang on January 18, 2000, at 20:13]
Hi:
Quoted 3 lines
I am running 2.2.5-22 from RH 6.0 with a sound blaster 16 card with base_addr=0x220, IRQ=5, 8-bit DMA=1 and 16-bit DMA=5 (uncommenting a few lines in the pnpdump output.
Use RedHat's sndconfig utility to get isapnp.conf and conf.modules right.
Since I don't think that RedHat supplies 2.2.5-22, did you compile your own kernel? If so, did you select /dev/audio and /dev/dsp support?
Signature · 3 lines
Dave Mielke | 856 Grenon Avenue | I believe that the Bible is the Phone: 1-613-726-0014 | Ottawa, Ontario | Word of God. Please contact me EMail: [email protected] | Canada K2B 6G3 | if you're concerned about Hell.
Quoted 9 lines · Dave Mielke
[quoted lines by Yao Wang on January 18, 2000, at 20:13]
Hi:
Quoted 3 lines
I am running 2.2.5-22 from RH 6.0 with a sound blaster 16 card with base_addr=0x220, IRQ=5, 8-bit DMA=1 and 16-bit DMA=5 (uncommenting a few lines in the pnpdump output.
Use RedHat's sndconfig utility to get isapnp.conf and conf.modules right.
thanks, i'll look into it.
Quoted 3 lines
Since I don't think that RedHat supplies 2.2.5-22, did you compile your own kernel? If so, did you select
/dev/audioand/dev/dspsupport?
this kernel is from the RedHat's update site. I recompiled it with built-in SCSI support (I added a SCSI chain with some CD Burners). I have specified sound as modules but I have not got them to work so far.
Thanks
yao
Quoted 7 lines
Signature · 4 lines
-- Dave Mielke | 856 Grenon Avenue | I believe that the Bible is the Phone: 1-613-726-0014 | Ottawa, Ontario | Word of God. Please contact me EMail: [email protected] | Canada K2B 6G3 | if you're concerned about Hell.
Quoted 10 lines · Yao Wang
Hi:
I am running 2.2.5-22 from RH 6.0 with a sound blaster 16 card with base_addr=0x220, IRQ=5, 8-bit DMA=1 and 16-bit DMA=5 (uncommenting a few lines in the pnpdump output. After running isapnp on this config file, the sound-modules appeared loaded after rebooting.
# lsmod Module Size Used by sound 58392 0 (autoclean) (unused)
You can see that the 'sound' module is stated as not being used and you also have not loaded the 'sb' module. Doesn't RH6.0 have a sound configuration utility so you don't have to directly deal with editing the pnpdump output?
Quoted 46 lines
soundlow 300 0 (autoclean) [sound] soundcore 2404 3 (autoclean) [sound] autofs 9188 1 (autoclean) nfs 30072 14 (autoclean) nfsd 151576 8 (autoclean) lockd 31208 1 (autoclean) [nfs nfsd] sunrpc 52420 1 (autoclean) [nfs nfsd lockd] via-rhine 9024 1 (autoclean) nls_iso8859-1 2020 1 (autoclean) nls_cp437 3548 1 (autoclean) vfat 11420 1 (autoclean) fat 25344 1 (autoclean) [vfat]# cat /proc/devices Character devices: 1 mem 2 pty 3 ttyp 4 ttyS 5 cua 7 vcs 10 misc 14 sound 21 sg 29 fb 36 netlink 128 ptm 136 ptsBlock devices:
1 ramdisk
2 fd
3 ide0
8 sd
9 md
11 sr
22 ide1But:
#cat/dev/sndstat
OSS/Free:3.8s2++-971130
Load type: Driver loaded as a module
Kernel: Linux lion 2.2.5-22 #3 Thu Jan 13 17:50:55 EST 2000 i686
Config options: 0
Quoted 1 line
Installed drivers:
You see, there is no driver installed.
Quoted 5 lines
Card config:
Audio devices:
Quoted 8 lines
Synth devices:
Midi devices:
Timers:
0: System clockMixers:
With a SB16 card I usually get an audio, synth and mixer device and you have none.
Quoted 4 lines
I could not play music to it and was wondering about some info on sound config with 2.2.x (sound + soundcore + soundlow)? Am i running something new on an rather old hardware?
No, but you must also load the 'sb' module.
Quoted 9 lines
more info:
# isapnp /etc/isapnp.conf Board 1 has Identity e5 ff ff ff ff 70 00 8c 0e: CTL0070 Serial No -1 [checksum e5]could someone give me any hint?
Thanks a lot.
If you are into kernel compiling I found that since using linux-2.3.25 my SB16 card runs and installs a lot smoother because of the PNP support directly in the kernel. I always found /etc/isapnp.conf a pain to deal with.
Peter
--
main(){char*s="O_>>^PQAHBbPQAHBbPOOH^^PAAHBJPAAHBbPA_H>BB";int i,j,k=1,l,m,n; for(j=0;j<7;j++)for(l=0;m=l-6+j,i=m/6,n=j*6+i,k=1<<m%6,l<41-j;l++) putchar(l<6-j?' ':l=40-j?'\n':k&&s[n]&k?'*':' ');}
Quoted 1 line · Yao Wang
I am running 2.2.5-22 from RH 6.0 with a sound blaster 16 card with
That's all anyone needs to know.
Run the sndconfig utility that comes with the system and you can't miss. It'll auto-detect it within a few microseconds, and after hitting return a couple of times to confirm that you can hear the sound samples, it's done. Simple.
(It's all documented in the redhat installation/user guides).
Quoted 2 lines
base_addr=0x220, IRQ=5, 8-bit DMA=1 and 16-bit DMA=5 (uncommenting a few lines in the pnpdump output. After running isapnp on this config
It's not the way to do this at all. You might get it working once, then next time you boot it'll be broken again.
Besides, "pnpdump -c" will give you output with the relevant lines uncommented. If I *have* to do it at all , this is how I create the pnp config file:
pnpdump -c | egrep '^$|^#" | tee /etc/isapnp.conf
(You get a line clean file with that command, but without all the masses of comments).
The sndconfig utility usually gets things right first time, but recently I did have to redo everything manually after shoving in an old isa 3com card as a 2nd ethernet card and the addition of an internal pnp modem. (All the ISQs needed to be changed around as a result).
My recommendation is to make sure you have "pnp operating system yes" in the BIOS, boot into single user mode ("linux single" at the lilo bootprompt), move /etc/isapnp.conf and /etc/conf.modules
sideways (isapnp.conf at least), then run sndconfig with the system in
that condition (before any other devices or interrupts get allocated
that might "interfere" with the kernel's irq allocations.
Quoted 1 line
file, the sound-modules appeared loaded after rebooting.
(Why reboot just to get the sound up and going? Geez, this ain't microslop :) The only reason to shut down a linux box is when you wan to change the hardware...)
Quoted 6 lines
# lsmod Module Size Used by sound 58392 0 (autoclean) (unused) soundlow 300 0 (autoclean) [sound] soundcore 2404 3 (autoclean) [sound] autofs 9188 1 (autoclean)
[...]
You're missing the sb.o, midi/opl3 and uart401.o modules for a start.
The magic for all this needs to go into /etc/conf.modules and would look something like:
alias sound sb options -k sb io=0x220 irq=5 dma=1,5 alias midi opl3 options -k opl3 io=0x388
As I say, sndconfig will do this for you.
Quoted 3 lines
I could not play music to it and was wondering about some info on sound config with 2.2.x (sound + soundcore + soundlow)? Am i running something new on an rather old hardware?
Your sound card will sing under linux, no problem.
Quoted 1 line
could someone give me any hint?
On a redhat box, sndconfig.
Quoted 1 line
Thanks a lot.
Not a problem. Happy listening! :)
Cheers
Tony