Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 May 2000 15:04:23 -0500 (CDT)
From:      Mike Meyer <mwm@mired.org>
To:        questions@freebsd.org
Subject:   Audio capture with PCM driver?
Message-ID:  <14637.34631.134285.68412@guru.mired.org>

next in thread | raw e-mail | index | archive | help
I'm hoping someone can help me with audio capture using the FreeBSD
4.0-RELEASE audio drivers.

I have a soundblaster AWE64 ISA sound card. Under 3.4-RELEASE,
everything worked fine - or at least everything I used. The 3.4 config 
file looked like:

# sound cards
controller	snd0
device sb0      at isa? port 0x220 irq 5 drq 1
device sbxvi0   at isa? drq 5
device opl0     at isa? port 0x388
device sbmidi0  at isa? port 0x330
device awe0     at isa? port 0x620

The awe device wasn't found at boot time, but this didn't particularly
bother me.

After upgrading to 4.0-RELASE, audio capture quit working. In
particular, it seemed that capture only worked in 8 bit mono mode, and
the captured sound had *very* low volumes. Everything except capture
seems to work fine - I can play back the microphone, CD player, and
line in no problems. The config file for 4.0 was:

device	pcm
device  sbc

The dmesg output for that is:

sbc0: <Creative SB AWE64> at port 0x220-0x22f,0x330-0x331,0x388-0x38b irq 5 drq 1,5 on isa0
sbc0: setting card to irq 5, drq 1, 5
pcm0: <SB DSP 4.16> on sbc0
joy1: <Generic PnP Joystick> at port 0x208-0x20f on isa0
unknown0: <WaveTable> at port 0x620-0x623 on isa0

Figuring the problem might be poor bridge support, I bought a Jaton
SonicWave 4D, which uses the Trident 4DWave chip (and I'm always glad
to drop an ISA device in favor of a PCI one). I deleted "device sbc"
from the config file, and rebuilt the kernel. The dmesg output is now
just:

pcm0: <Trident 4DWave DX> port 0xe400-0xe4ff mem 0xffafe000-0xffafefff irq 11 at device 15.0 on pci0

The results are, if anything, worse. My tools for recording audio lock
up when they start recording. The system keeps running, but I've got
to kill the audio programs from another window.

If anyone can provide any hints or tips on getting either card to
capture audio, I'd appreciate hearing them. If you need more info
(complete config or dmesg output), let me know.

	Thanx,
	<mike



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14637.34631.134285.68412>