[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

want help with sound card...



Hi, folks

	I have sucessfully re-built my kernel to add support for my
	Soundblaster Pro card. (An interesting side-effect is that now
	my backspace key works!!  Go figure..) I was having trouble
	getting CD's to play until I changed the permissions on /dev/cdrom
	and the driver device it was linked to. I'm now able to play cds
	(8-) but no other sounds.

	The Sound HOWTO suggests trying cat *.au >/dev/audio as a 	
	 test, but all I get is the following error:

debian:~/sounds/sndkit/dsp$ cat /usr/X11R6/lib/tkdesk/sound/metal.au >/dev/audio
bash: /dev/audio: Cannot allocate memory

	I've configured for a 4K (4096) buffer. When I run dmesg, here's
	 what pops up:

Sound error: Couldn't allocate DMA buffer

	This is what shows up in the boot messages:

Sound initialization started
<Sound Blaster Pro (3.2)> at 0x240 irq 5 dma 1,5
<Yamaha OPL3 FM> at 0x388
Sound initialization complete

	and cat /dev/sndstat shows this:

Sound Driver:3.5.4-960630 (Mon Jan 11 11:44:46 PST 1999 root,
Linux debian 2.0.36 #1 Mon Jan 11 08:21:09 PST 1999 i586 unknown)
Kernel: Linux debian 2.0.36 #1 Mon Jan 11 11:45:45 PST 1999 i586
Config options: 0

Installed drivers: 
Type 1: OPL-2/OPL-3 FM
Type 2: Sound Blaster

Card config: 
Sound Blaster at 0x240 irq 5 drq 1,5
OPL-2/OPL-3 FM at 0x388 drq 0

Audio devices:
0: Sound Blaster Pro (3.2)

Synth devices:
0: Yamaha OPL-3

Midi devices: NOT ENABLED IN CONFIG

Timers:
0: System clock

Mixers:
0: Sound Blaster

	Is there anything else I can try to debug my setup? I'm 
	running this on a Pentium 133MHz box w/ 32MB of RAM. 
	/proc/memstat seems to indicate I have plenty of room to spare:

        total:    used:    free:  shared: buffers:  cached:
Mem:  31764480 31096832   667648 28934144   675840 14417920
Swap: 91344896  5373952 85970944
MemTotal:     31020 kB
MemFree:        652 kB
MemShared:    28256 kB
Buffers:        660 kB
Cached:       14080 kB
SwapTotal:    89204 kB
SwapFree:     83956 kB

	The card works fine for anything I can throw at it if I boot up 
	in NT, so I'm pretty sure it's not a hardware problem. Oh, and
	is there any other way of changing sound config params other
	than a complete kernel re-build?

	TIA!!
-- 
'til next we type...
HAVE FUN!! -- Jesse


Reply to: