From owner-freebsd-questions Thu May 25 13:34:37 2000 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (zoom0-065.telepath.com [216.14.0.65]) by hub.freebsd.org (Postfix) with SMTP id AB61837B690 for ; Thu, 25 May 2000 13:34:32 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 1698 invoked by uid 100); 25 May 2000 20:04:23 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14637.34631.134285.68412@guru.mired.org> Date: Thu, 25 May 2000 15:04:23 -0500 (CDT) To: questions@freebsd.org Subject: Audio capture with PCM driver? X-Mailer: VM 6.72 under 21.1 (patch 3) "Acadia" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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: 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: on sbc0 joy1: at port 0x208-0x20f on isa0 unknown0: 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: 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,